Constructor and Description |
---|
FlowCreator(String friendlyName,
Flow.Status status,
Map<String,Object> definition)
Construct a new FlowCreator.
|
Modifier and Type | Method and Description |
---|---|
Flow |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
FlowCreator |
setCommitMessage(String commitMessage)
Description of change made in the revision..
|
create, createAsync, createAsync
public FlowCreator(String friendlyName, Flow.Status status, Map<String,Object> definition)
friendlyName
- The string that you assigned to describe the Flowstatus
- The status of the Flowdefinition
- JSON representation of flow definitionpublic FlowCreator setCommitMessage(String commitMessage)
commitMessage
- Description of change made in the revisionpublic Flow create(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.