public class Service extends Resource
| Modifier and Type | Method and Description |
|---|---|
static ServiceCreator |
creator()
Create a ServiceCreator to execute create.
|
static ServiceDeleter |
deleter(String pathSid)
Create a ServiceDeleter to execute delete.
|
boolean |
equals(Object o) |
static ServiceFetcher |
fetcher(String pathSid)
Create a ServiceFetcher to execute fetch.
|
static Service |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Service object using the provided
ObjectMapper.
|
static Service |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Service 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 |
getFriendlyName()
Returns The The friendly_name.
|
String |
getLatestModelBuildSid()
Returns The The latest_model_build_sid.
|
Map<String,String> |
getLinks()
Returns The The links.
|
Boolean |
getLogQueries()
Returns The The log_queries.
|
String |
getSid()
Returns The The sid.
|
Integer |
getTtl()
Returns The The ttl.
|
String |
getUniqueName()
Returns The The unique_name.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static ServiceReader |
reader()
Create a ServiceReader to execute read.
|
String |
toString() |
static ServiceUpdater |
updater(String pathSid)
Create a ServiceUpdater to execute update.
|
public static ServiceFetcher fetcher(String pathSid)
pathSid - The sidpublic static ServiceReader reader()
public static ServiceCreator creator()
public static ServiceUpdater updater(String pathSid)
pathSid - The sidpublic static ServiceDeleter deleter(String pathSid)
pathSid - The sidpublic static Service fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Service 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 String getFriendlyName()
public final String getLatestModelBuildSid()
public final Boolean getLogQueries()
public final String getSid()
public final Integer getTtl()
public final String getUniqueName()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.