public class Intent extends Resource
| Modifier and Type | Method and Description |
|---|---|
static IntentCreator |
creator(String pathServiceSid,
String uniqueName)
Create a IntentCreator to execute create.
|
static IntentDeleter |
deleter(String pathServiceSid,
String pathSid)
Create a IntentDeleter to execute delete.
|
boolean |
equals(Object o) |
static IntentFetcher |
fetcher(String pathServiceSid,
String pathSid)
Create a IntentFetcher to execute fetch.
|
static Intent |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Intent object using the provided
ObjectMapper.
|
static Intent |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Intent object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getFriendlyName()
Returns The The friendly_name.
|
Map<String,String> |
getLinks()
Returns The The links.
|
String |
getServiceSid()
Returns The The service_sid.
|
String |
getSid()
Returns The The sid.
|
String |
getUniqueName()
Returns The The unique_name.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static IntentReader |
reader(String pathServiceSid)
Create a IntentReader to execute read.
|
String |
toString() |
static IntentUpdater |
updater(String pathServiceSid,
String pathSid)
Create a IntentUpdater to execute update.
|
public static IntentFetcher fetcher(String pathServiceSid, String pathSid)
pathServiceSid - The service_sidpathSid - The sidpublic static IntentReader reader(String pathServiceSid)
pathServiceSid - The service_sidpublic static IntentCreator creator(String pathServiceSid, String uniqueName)
pathServiceSid - The service_siduniqueName - The unique_namepublic static IntentUpdater updater(String pathServiceSid, String pathSid)
pathServiceSid - The service_sidpathSid - The sidpublic static IntentDeleter deleter(String pathServiceSid, String pathSid)
pathServiceSid - The service_sidpathSid - The sidpublic static Intent fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Intent fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getFriendlyName()
public final String getServiceSid()
public final String getSid()
public final String getUniqueName()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.