| 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 |
setCreatedBy(String createdBy)
The created_by.
|
ChannelCreator |
setDateCreated(org.joda.time.DateTime dateCreated)
The date_created.
|
ChannelCreator |
setDateUpdated(org.joda.time.DateTime dateUpdated)
The date_updated.
|
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 ChannelCreator setDateCreated(org.joda.time.DateTime dateCreated)
dateCreated - The date_createdpublic ChannelCreator setDateUpdated(org.joda.time.DateTime dateUpdated)
dateUpdated - The date_updatedpublic ChannelCreator setCreatedBy(String createdBy)
createdBy - The created_bypublic Channel create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.