Class Assistant
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.understand.Assistant
-
- All Implemented Interfaces:
Serializable
public class Assistant extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssistantCreatorcreator()static AssistantDeleterdeleter(String pathSid)booleanequals(Object o)static AssistantFetcherfetcher(String pathSid)static AssistantfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Assistant object using the provided ObjectMapper.static AssistantfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Assistant object using the provided ObjectMapper.StringgetAccountSid()StringgetCallbackEvents()URIgetCallbackUrl()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFriendlyName()StringgetLatestModelBuildSid()Map<String,String>getLinks()BooleangetLogQueries()StringgetSid()StringgetUniqueName()URIgetUrl()inthashCode()static AssistantReaderreader()static AssistantUpdaterupdater(String pathSid)
-
-
-
Method Detail
-
creator
public static AssistantCreator creator()
-
fetcher
public static AssistantFetcher fetcher(String pathSid)
-
deleter
public static AssistantDeleter deleter(String pathSid)
-
reader
public static AssistantReader reader()
-
updater
public static AssistantUpdater updater(String pathSid)
-
fromJson
public static Assistant fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Assistant object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Assistant object represented by the provided JSON
-
fromJson
public static Assistant fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Assistant object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Assistant object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getFriendlyName
public final String getFriendlyName()
-
getLatestModelBuildSid
public final String getLatestModelBuildSid()
-
getLogQueries
public final Boolean getLogQueries()
-
getSid
public final String getSid()
-
getUniqueName
public final String getUniqueName()
-
getUrl
public final URI getUrl()
-
getCallbackUrl
public final URI getCallbackUrl()
-
getCallbackEvents
public final String getCallbackEvents()
-
-