public class FieldType extends Resource
Modifier and Type | Method and Description |
---|---|
static FieldTypeCreator |
creator(String pathAssistantSid,
String uniqueName)
Create a FieldTypeCreator to execute create.
|
static FieldTypeDeleter |
deleter(String pathAssistantSid,
String pathSid)
Create a FieldTypeDeleter to execute delete.
|
boolean |
equals(Object o) |
static FieldTypeFetcher |
fetcher(String pathAssistantSid,
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 SID of the Account that created the resource.
|
String |
getAssistantSid()
Returns The SID of the Assistant that is the parent of the resource.
|
ZonedDateTime |
getDateCreated()
Returns The RFC 2822 date and time in GMT when the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The RFC 2822 date and time in GMT when the resource was last updated.
|
String |
getFriendlyName()
Returns The string that you assigned to describe the resource.
|
Map<String,String> |
getLinks()
Returns A list of the URLs of related resources.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
String |
getUniqueName()
Returns An application-defined string that uniquely identifies the resource.
|
URI |
getUrl()
Returns The absolute URL of the FieldType resource.
|
int |
hashCode() |
static FieldTypeReader |
reader(String pathAssistantSid)
Create a FieldTypeReader to execute read.
|
static FieldTypeUpdater |
updater(String pathAssistantSid,
String pathSid)
Create a FieldTypeUpdater to execute update.
|
public static FieldTypeFetcher fetcher(String pathAssistantSid, String pathSid)
pathAssistantSid
- The SID of the Assistant that is the parent of the
resource to fetchpathSid
- The unique string that identifies the resourcepublic static FieldTypeReader reader(String pathAssistantSid)
pathAssistantSid
- The SID of the Assistant with the FieldType
resources to readpublic static FieldTypeCreator creator(String pathAssistantSid, String uniqueName)
pathAssistantSid
- The SID of the Assistant that is the parent of the
new resourceuniqueName
- An application-defined string that uniquely identifies the
new resourcepublic static FieldTypeUpdater updater(String pathAssistantSid, String pathSid)
pathAssistantSid
- The SID of the Assistant with the FieldType resource
to updatepathSid
- The unique string that identifies the resourcepublic static FieldTypeDeleter deleter(String pathAssistantSid, String pathSid)
pathAssistantSid
- The SID of the Assistant with the FieldType
resources to deletepathSid
- The unique string that identifies the resourcepublic 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 ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final String getFriendlyName()
public final Map<String,String> getLinks()
public final String getAssistantSid()
public final String getSid()
public final String getUniqueName()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.