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 Account Sid..
|
Boolean |
getAutoCreate()
Returns The Boolean flag specifying whether to auto-create threads..
|
URI |
getCallbackUrl()
Returns The URL Twilio will request for callbacks..
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this Service was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this Service was updated.
|
String |
getFriendlyName()
Returns The A human readable description of this resource.
|
Map<String,String> |
getLinks()
Returns The Nested resource URLs..
|
String |
getSid()
Returns The A string that uniquely identifies this Service..
|
URI |
getUrl()
Returns The The URL of this resource..
|
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 - A string that uniquely identifies this Service.public static ServiceReader reader()
public static ServiceCreator creator()
public static ServiceDeleter deleter(String pathSid)
pathSid - A string that uniquely identifies this Service.public static ServiceUpdater updater(String pathSid)
pathSid - A string that uniquely identifies this Service.public 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 getSid()
public final String getFriendlyName()
public final String getAccountSid()
public final Boolean getAutoCreate()
public final URI getCallbackUrl()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final URI getUrl()
public final Map<String,String> getLinks()
Copyright © 2016 Twilio, Inc. All Rights Reserved.