public class FieldType extends Resource
| Modifier and Type | Method and Description |
|---|---|
static FieldTypeCreator |
creator(String pathServiceSid,
String uniqueName)
Create a FieldTypeCreator to execute create.
|
static FieldTypeDeleter |
deleter(String pathServiceSid,
String pathSid)
Create a FieldTypeDeleter to execute delete.
|
boolean |
equals(Object o) |
static FieldTypeFetcher |
fetcher(String pathServiceSid,
String pathSid)
Create a FieldTypeFetcher to execute fetch.
|
static FieldType |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a FieldType object using the provided
ObjectMapper.
|
static FieldType |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a FieldType 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.
|
Map<String,String> |
getLinks()
Returns The The links.
|
String |
getServiceSid()
Returns The The service_sid.
|
String |
getSid()
Returns The The sid.
|
String |
getUniqueName()
Returns The The unique_name.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static FieldTypeReader |
reader(String pathServiceSid)
Create a FieldTypeReader to execute read.
|
String |
toString() |
static FieldTypeUpdater |
updater(String pathServiceSid,
String pathSid)
Create a FieldTypeUpdater to execute update.
|
public static FieldTypeFetcher fetcher(String pathServiceSid, String pathSid)
pathServiceSid - The service_sidpathSid - The sidpublic static FieldTypeReader reader(String pathServiceSid)
pathServiceSid - The service_sidpublic static FieldTypeCreator creator(String pathServiceSid, String uniqueName)
pathServiceSid - The service_siduniqueName - The unique_namepublic static FieldTypeUpdater updater(String pathServiceSid, String pathSid)
pathServiceSid - The service_sidpathSid - The sidpublic static FieldTypeDeleter deleter(String pathServiceSid, String pathSid)
pathServiceSid - The service_sidpathSid - The sidpublic static FieldType fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static FieldType 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 getServiceSid()
public final String getSid()
public final String getUniqueName()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.