public class FieldValueCreator extends Creator<FieldValue>
Constructor and Description |
---|
FieldValueCreator(String pathAssistantSid,
String pathFieldTypeSid,
String language,
String value)
Construct a new FieldValueCreator.
|
Modifier and Type | Method and Description |
---|---|
FieldValue |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
FieldValueCreator |
setSynonymOf(String synonymOf)
The string value that indicates which word the field value is a synonym of..
|
create, createAsync, createAsync
public FieldValueCreator(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 FieldValueCreator setSynonymOf(String synonymOf)
synonymOf
- The string value that indicates which word the field value
is a synonym ofpublic FieldValue create(TwilioRestClient client)
create
in class Creator<FieldValue>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.