public class Sample extends Resource
| Modifier and Type | Method and Description |
|---|---|
static SampleCreator |
creator(String pathServiceSid,
String pathIntentSid,
String language,
String taggedText)
Create a SampleCreator to execute create.
|
static SampleDeleter |
deleter(String pathServiceSid,
String pathIntentSid,
String pathSid)
Create a SampleDeleter to execute delete.
|
boolean |
equals(Object o) |
static SampleFetcher |
fetcher(String pathServiceSid,
String pathIntentSid,
String pathSid)
Create a SampleFetcher to execute fetch.
|
static Sample |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Sample object using the provided
ObjectMapper.
|
static Sample |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Sample 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 |
getIntentSid()
Returns The The intent_sid.
|
String |
getLanguage()
Returns The The language.
|
String |
getServiceSid()
Returns The The service_sid.
|
String |
getSid()
Returns The The sid.
|
String |
getTaggedText()
Returns The The tagged_text.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static SampleReader |
reader(String pathServiceSid,
String pathIntentSid)
Create a SampleReader to execute read.
|
String |
toString() |
static SampleUpdater |
updater(String pathServiceSid,
String pathIntentSid,
String pathSid)
Create a SampleUpdater to execute update.
|
public static SampleFetcher fetcher(String pathServiceSid, String pathIntentSid, String pathSid)
pathServiceSid - The service_sidpathIntentSid - The intent_sidpathSid - The sidpublic static SampleReader reader(String pathServiceSid, String pathIntentSid)
pathServiceSid - The service_sidpathIntentSid - The intent_sidpublic static SampleCreator creator(String pathServiceSid, String pathIntentSid, String language, String taggedText)
pathServiceSid - The service_sidpathIntentSid - The intent_sidlanguage - The languagetaggedText - The tagged_textpublic static SampleUpdater updater(String pathServiceSid, String pathIntentSid, String pathSid)
pathServiceSid - The service_sidpathIntentSid - The intent_sidpathSid - The sidpublic static SampleDeleter deleter(String pathServiceSid, String pathIntentSid, String pathSid)
pathServiceSid - The service_sidpathIntentSid - The intent_sidpathSid - The sidpublic static Sample fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Sample 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 getIntentSid()
public final String getLanguage()
public final String getServiceSid()
public final String getSid()
public final String getTaggedText()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.