Class AssistantInitiationActions
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.understand.assistant.AssistantInitiationActions
-
- All Implemented Interfaces:
Serializable
public class AssistantInitiationActions 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 boolean
equals(Object o)
static AssistantInitiationActionsFetcher
fetcher(String pathAssistantSid)
Create a AssistantInitiationActionsFetcher to execute fetch.static AssistantInitiationActions
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AssistantInitiationActions object using the provided ObjectMapper.static AssistantInitiationActions
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AssistantInitiationActions object using the provided ObjectMapper.String
getAccountSid()
Returns The The account_sid.String
getAssistantSid()
Returns The The assistant_sid.Map<String,Object>
getData()
Returns The The data.URI
getUrl()
Returns The The url.int
hashCode()
String
toString()
static AssistantInitiationActionsUpdater
updater(String pathAssistantSid)
Create a AssistantInitiationActionsUpdater to execute update.
-
-
-
Method Detail
-
fetcher
public static AssistantInitiationActionsFetcher fetcher(String pathAssistantSid)
Create a AssistantInitiationActionsFetcher to execute fetch.- Parameters:
pathAssistantSid
- The assistant_sid- Returns:
- AssistantInitiationActionsFetcher capable of executing the fetch
-
updater
public static AssistantInitiationActionsUpdater updater(String pathAssistantSid)
Create a AssistantInitiationActionsUpdater to execute update.- Parameters:
pathAssistantSid
- The assistant_sid- Returns:
- AssistantInitiationActionsUpdater capable of executing the update
-
fromJson
public static AssistantInitiationActions fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AssistantInitiationActions object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- AssistantInitiationActions object represented by the provided JSON
-
fromJson
public static AssistantInitiationActions fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AssistantInitiationActions object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- AssistantInitiationActions object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
Returns The The account_sid.- Returns:
- The account_sid
-
getAssistantSid
public final String getAssistantSid()
Returns The The assistant_sid.- Returns:
- The assistant_sid
-
getUrl
public final URI getUrl()
Returns The The url.- Returns:
- The url
-
-