| Constructor and Description |
|---|
ChannelCreator(String pathServiceSid)
Construct a new ChannelCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Channel |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
ChannelCreator |
setAttributes(String attributes)
The attributes.
|
ChannelCreator |
setFriendlyName(String friendlyName)
The friendly_name.
|
ChannelCreator |
setType(Channel.ChannelType type)
The type.
|
ChannelCreator |
setUniqueName(String uniqueName)
The unique_name.
|
create, createAsync, createAsyncpublic ChannelCreator(String pathServiceSid)
pathServiceSid - The service_sidpublic ChannelCreator setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic ChannelCreator setUniqueName(String uniqueName)
uniqueName - The unique_namepublic ChannelCreator setAttributes(String attributes)
attributes - The attributespublic ChannelCreator setType(Channel.ChannelType type)
type - The typepublic Channel create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.