public class FieldCreator extends Creator<Field>
Constructor and Description |
---|
FieldCreator(String pathAssistantSid,
String pathTaskSid,
String fieldType,
String uniqueName)
Construct a new FieldCreator.
|
Modifier and Type | Method and Description |
---|---|
Field |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
create, createAsync, createAsync
public FieldCreator(String pathAssistantSid, String pathTaskSid, String fieldType, String uniqueName)
pathAssistantSid
- The SID of the Assistant that is the parent of the
Task associated with the new resourcepathTaskSid
- The SID of the
Task
resource associated with the new Field resourcefieldType
- The Field Type of this fielduniqueName
- An application-defined string that uniquely identifies the
new resourcepublic Field create(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.