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 AssistantCreator
creator()
static AssistantDeleter
deleter(String pathSid)
boolean
equals(Object o)
static AssistantFetcher
fetcher(String pathSid)
static Assistant
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Assistant object using the provided ObjectMapper.static Assistant
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Assistant object using the provided ObjectMapper.String
getAccountSid()
String
getCallbackEvents()
URI
getCallbackUrl()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
String
getLatestModelBuildSid()
Map<String,String>
getLinks()
Boolean
getLogQueries()
String
getSid()
String
getUniqueName()
URI
getUrl()
int
hashCode()
static AssistantReader
reader()
static AssistantUpdater
updater(String pathSid)
-
-
-
Method Detail
-
creator
public static AssistantCreator creator()
-
deleter
public static AssistantDeleter deleter(String pathSid)
-
fetcher
public static AssistantFetcher fetcher(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()
-
-