Class Query
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.autopilot.v1.assistant.Query
-
- All Implemented Interfaces:
Serializable
public class Query extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryCreator
creator(String pathAssistantSid, String language, String query)
static QueryDeleter
deleter(String pathAssistantSid, String pathSid)
boolean
equals(Object o)
static QueryFetcher
fetcher(String pathAssistantSid, String pathSid)
static Query
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Query object using the provided ObjectMapper.static Query
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Query object using the provided ObjectMapper.String
getAccountSid()
String
getAssistantSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getDialogueSid()
String
getLanguage()
String
getModelBuildSid()
String
getQuery()
Map<String,Object>
getResults()
String
getSampleSid()
String
getSid()
String
getSourceChannel()
String
getStatus()
URI
getUrl()
int
hashCode()
static QueryReader
reader(String pathAssistantSid)
static QueryUpdater
updater(String pathAssistantSid, String pathSid)
-
-
-
Method Detail
-
creator
public static QueryCreator creator(String pathAssistantSid, String language, String query)
-
deleter
public static QueryDeleter deleter(String pathAssistantSid, String pathSid)
-
fetcher
public static QueryFetcher fetcher(String pathAssistantSid, String pathSid)
-
reader
public static QueryReader reader(String pathAssistantSid)
-
updater
public static QueryUpdater updater(String pathAssistantSid, String pathSid)
-
fromJson
public static Query fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Query object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Query object represented by the provided JSON
-
fromJson
public static Query fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Query object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Query object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getLanguage
public final String getLanguage()
-
getModelBuildSid
public final String getModelBuildSid()
-
getQuery
public final String getQuery()
-
getSampleSid
public final String getSampleSid()
-
getAssistantSid
public final String getAssistantSid()
-
getSid
public final String getSid()
-
getStatus
public final String getStatus()
-
getUrl
public final URI getUrl()
-
getSourceChannel
public final String getSourceChannel()
-
getDialogueSid
public final String getDialogueSid()
-
-