Constructor and Description |
---|
ChannelCreator(String serviceSid,
String friendlyName,
String uniqueName)
Construct a new ChannelCreator.
|
Modifier and Type | Method and Description |
---|---|
Channel |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
ChannelCreator |
setAttributes(Map<String,Object> attributes)
The attributes.
|
ChannelCreator |
setType(Channel.ChannelType type)
The type.
|
public ChannelCreator setAttributes(Map<String,Object> attributes)
attributes
- The attributespublic ChannelCreator setType(Channel.ChannelType type)
type
- The typepublic Channel execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.