public class Query extends Resource
| Modifier and Type | Method and Description |
|---|---|
static QueryCreator |
creator(String pathServiceSid,
String language,
String query)
Create a QueryCreator to execute create.
|
static QueryDeleter |
deleter(String pathServiceSid,
String pathSid)
Create a QueryDeleter to execute delete.
|
boolean |
equals(Object o) |
static QueryFetcher |
fetcher(String pathServiceSid,
String pathSid)
Create a QueryFetcher to execute fetch.
|
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()
Returns The The account_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getLanguage()
Returns The The language.
|
String |
getModelBuildSid()
Returns The The model_build_sid.
|
String |
getQuery()
Returns The The query.
|
Map<String,Object> |
getResults()
Returns The The results.
|
String |
getSampleSid()
Returns The The sample_sid.
|
String |
getServiceSid()
Returns The The service_sid.
|
String |
getSid()
Returns The The sid.
|
String |
getStatus()
Returns The The status.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static QueryReader |
reader(String pathServiceSid)
Create a QueryReader to execute read.
|
String |
toString() |
static QueryUpdater |
updater(String pathServiceSid,
String pathSid)
Create a QueryUpdater to execute update.
|
public static QueryFetcher fetcher(String pathServiceSid, String pathSid)
pathServiceSid - The service_sidpathSid - The sidpublic static QueryReader reader(String pathServiceSid)
pathServiceSid - The service_sidpublic static QueryCreator creator(String pathServiceSid, String language, String query)
pathServiceSid - The service_sidlanguage - The languagequery - The querypublic static QueryUpdater updater(String pathServiceSid, String pathSid)
pathServiceSid - The service_sidpathSid - The sidpublic static QueryDeleter deleter(String pathServiceSid, String pathSid)
pathServiceSid - The service_sidpathSid - The sidpublic static Query fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Query fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final Map<String,Object> getResults()
public final String getLanguage()
public final String getModelBuildSid()
public final String getQuery()
public final String getSampleSid()
public final String getServiceSid()
public final String getSid()
public final String getStatus()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.