Package com.twilio.rest.autopilot.v1
Class Assistant
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.autopilot.v1.Assistant
-
- All Implemented Interfaces:
Serializable
public class Assistant extends Resource
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 The SID of the Account that created the resource.String
getCallbackEvents()
Returns The Reserved.URI
getCallbackUrl()
Returns The Reserved.org.joda.time.DateTime
getDateCreated()
Returns The The RFC 2822 date and time in GMT when the resource was created.org.joda.time.DateTime
getDateUpdated()
Returns The The RFC 2822 date and time in GMT when the resource was last updated.String
getDevelopmentStage()
Returns The A string describing the state of the assistant..String
getFriendlyName()
Returns The The string that you assigned to describe the resource.String
getLatestModelBuildSid()
Returns The Reserved.Map<String,String>
getLinks()
Returns The A list of the URLs of the Assistant's related resources.Boolean
getLogQueries()
Returns The Whether queries should be logged and kept after training.Boolean
getNeedsModelBuild()
Returns The Whether model needs to be rebuilt.String
getSid()
Returns The The unique string that identifies the resource.String
getUniqueName()
Returns The An application-defined string that uniquely identifies the resource.URI
getUrl()
Returns The The absolute URL of the Assistant resource.int
hashCode()
static AssistantReader
reader()
Create a AssistantReader to execute read.String
toString()
static AssistantUpdater
updater(String pathSid)
Create a AssistantUpdater to execute update.
-
-
-
Method Detail
-
fetcher
public static AssistantFetcher fetcher(String pathSid)
Create a AssistantFetcher to execute fetch.- Parameters:
pathSid
- The unique string that identifies the resource- Returns:
- AssistantFetcher capable of executing the fetch
-
reader
public static AssistantReader reader()
Create a AssistantReader to execute read.- Returns:
- AssistantReader capable of executing the read
-
creator
public static AssistantCreator creator()
Create a AssistantCreator to execute create.- Returns:
- AssistantCreator capable of executing the create
-
updater
public static AssistantUpdater updater(String pathSid)
Create a AssistantUpdater to execute update.- Parameters:
pathSid
- The unique string that identifies the resource- Returns:
- AssistantUpdater capable of executing the update
-
deleter
public static AssistantDeleter deleter(String pathSid)
Create a AssistantDeleter to execute delete.- Parameters:
pathSid
- The unique string that identifies the resource- Returns:
- AssistantDeleter capable of executing the delete
-
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()
Returns The The SID of the Account that created the resource.- Returns:
- The SID of the Account that created the resource
-
getDateCreated
public final org.joda.time.DateTime getDateCreated()
Returns The The RFC 2822 date and time in GMT when the resource was created.- Returns:
- The RFC 2822 date and time in GMT when the resource was created
-
getDateUpdated
public final org.joda.time.DateTime getDateUpdated()
Returns The The RFC 2822 date and time in GMT when the resource was last updated.- Returns:
- The RFC 2822 date and time in GMT when the resource was last updated
-
getFriendlyName
public final String getFriendlyName()
Returns The The string that you assigned to describe the resource.- Returns:
- The string that you assigned to describe the resource
-
getLatestModelBuildSid
public final String getLatestModelBuildSid()
Returns The Reserved.- Returns:
- Reserved
-
getLinks
public final Map<String,String> getLinks()
Returns The A list of the URLs of the Assistant's related resources.- Returns:
- A list of the URLs of the Assistant's related resources
-
getLogQueries
public final Boolean getLogQueries()
Returns The Whether queries should be logged and kept after training.- Returns:
- Whether queries should be logged and kept after training
-
getDevelopmentStage
public final String getDevelopmentStage()
Returns The A string describing the state of the assistant..- Returns:
- A string describing the state of the assistant.
-
getNeedsModelBuild
public final Boolean getNeedsModelBuild()
Returns The Whether model needs to be rebuilt.- Returns:
- Whether model needs to be rebuilt
-
getSid
public final String getSid()
Returns The The unique string that identifies the resource.- Returns:
- The unique string that identifies the resource
-
getUniqueName
public final String getUniqueName()
Returns The An application-defined string that uniquely identifies the resource.- Returns:
- An application-defined string that uniquely identifies the resource
-
getUrl
public final URI getUrl()
Returns The The absolute URL of the Assistant resource.- Returns:
- The absolute URL of the Assistant resource
-
getCallbackUrl
public final URI getCallbackUrl()
Returns The Reserved.- Returns:
- Reserved
-
getCallbackEvents
public final String getCallbackEvents()
Returns The Reserved.- Returns:
- Reserved
-
-