public class Assistant extends Resource
Modifier and Type | Method and Description |
---|---|
static AssistantCreator |
creator()
Create a AssistantCreator to execute create.
|
static AssistantDeleter |
deleter(String pathSid)
Create a AssistantDeleter to execute delete.
|
boolean |
equals(Object o) |
static AssistantFetcher |
fetcher(String pathSid)
Create a AssistantFetcher to execute fetch.
|
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()
Returns The unique ID of the Account that created this Assistant..
|
String |
getCallbackEvents()
Returns Space-separated list of callback events that will trigger callbacks..
|
URI |
getCallbackUrl()
Returns A user-provided URL to send event callbacks to..
|
ZonedDateTime |
getDateCreated()
Returns The date that this resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The date that this resource was last updated.
|
String |
getFriendlyName()
Returns A text description for the Assistant.
|
String |
getLatestModelBuildSid()
Returns The unique ID (Sid) of the latest model build.
|
Map<String,String> |
getLinks()
Returns The links.
|
Boolean |
getLogQueries()
Returns A boolean that specifies whether queries should be logged for 30 days
further training.
|
String |
getSid()
Returns A 34 character string that uniquely identifies this resource..
|
String |
getUniqueName()
Returns A user-provided string that uniquely identifies this resource as an
alternative to the sid.
|
URI |
getUrl()
Returns The url.
|
int |
hashCode() |
static AssistantReader |
reader()
Create a AssistantReader to execute read.
|
static AssistantUpdater |
updater(String pathSid)
Create a AssistantUpdater to execute update.
|
public static AssistantFetcher fetcher(String pathSid)
pathSid
- A 34 character string that uniquely identifies this resource.public static AssistantReader reader()
public static AssistantCreator creator()
public static AssistantUpdater updater(String pathSid)
pathSid
- A 34 character string that uniquely identifies this resource.public static AssistantDeleter deleter(String pathSid)
pathSid
- A 34 character string that uniquely identifies this resource.public static Assistant fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Assistant fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final String getFriendlyName()
public final String getLatestModelBuildSid()
public final Boolean getLogQueries()
public final String getSid()
public final String getUniqueName()
public final URI getUrl()
public final URI getCallbackUrl()
public final String getCallbackEvents()
Copyright © 2019 Twilio, Inc. All Rights Reserved.