| Constructor and Description |
|---|
QueueCreator(String accountSid)
Construct a new QueueCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Queue |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
QueueCreator |
setFriendlyName(String friendlyName)
A user-provided string that identifies this queue..
|
QueueCreator |
setMaxSize(Integer maxSize)
The upper limit of calls allowed to be in the queue.
|
public QueueCreator(String accountSid)
accountSid - The account_sidpublic QueueCreator setFriendlyName(String friendlyName)
friendlyName - A user-provided string that identifies this queue.public QueueCreator setMaxSize(Integer maxSize)
maxSize - The max number of calls allowed in the queuepublic Queue execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.