public class FieldValue extends Resource
Modifier and Type | Method and Description |
---|---|
static FieldValueCreator |
creator(String pathAssistantSid,
String pathFieldTypeSid,
String language,
String value)
Create a FieldValueCreator to execute create.
|
static FieldValueDeleter |
deleter(String pathAssistantSid,
String pathFieldTypeSid,
String pathSid)
Create a FieldValueDeleter to execute delete.
|
boolean |
equals(Object o) |
static FieldValueFetcher |
fetcher(String pathAssistantSid,
String pathFieldTypeSid,
String pathSid)
Create a FieldValueFetcher to execute fetch.
|
static FieldValue |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a FieldValue object using the provided
ObjectMapper.
|
static FieldValue |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a FieldValue 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 FieldType
associated with 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 |
getFieldTypeSid()
Returns The SID of the Field Type associated with the Field Value.
|
String |
getLanguage()
Returns The ISO language-country tag that identifies the language of the
value.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
String |
getSynonymOf()
Returns The word for which the field value is a synonym of.
|
URI |
getUrl()
Returns The absolute URL of the FieldValue resource.
|
String |
getValue()
Returns The Field Value data.
|
int |
hashCode() |
static FieldValueReader |
reader(String pathAssistantSid,
String pathFieldTypeSid)
Create a FieldValueReader to execute read.
|
public static FieldValueFetcher fetcher(String pathAssistantSid, String pathFieldTypeSid, String pathSid)
pathAssistantSid
- The SID of the Assistant that is the parent of the
FieldType associated with the resource to fetchpathFieldTypeSid
- The SID of the Field Type associated with the Field
Value to fetchpathSid
- The unique string that identifies the resourcepublic static FieldValueReader reader(String pathAssistantSid, String pathFieldTypeSid)
pathAssistantSid
- The SID of the Assistant that is the parent of the
FieldType associated with the resources to readpathFieldTypeSid
- The SID of the Field Type associated with the Field
Value to readpublic static FieldValueCreator creator(String pathAssistantSid, String pathFieldTypeSid, String language, String value)
pathAssistantSid
- The SID of the Assistant that is the parent of the
FieldType associated with the new resourcepathFieldTypeSid
- The SID of the Field Type associated with the Field
Valuelanguage
- The ISO language-country tag that identifies the language of
the valuevalue
- The Field Value datapublic static FieldValueDeleter deleter(String pathAssistantSid, String pathFieldTypeSid, String pathSid)
pathAssistantSid
- The SID of the Assistant that is the parent of the
FieldType associated with the resources to deletepathFieldTypeSid
- The SID of the Field Type associated with the Field
Value to deletepathSid
- The unique string that identifies the resourcepublic static FieldValue fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static FieldValue 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 getFieldTypeSid()
public final String getLanguage()
public final String getAssistantSid()
public final String getSid()
public final String getValue()
public final URI getUrl()
public final String getSynonymOf()
Copyright © 2019 Twilio, Inc. All Rights Reserved.