com.twilio.sdk.resource.list
Class QueueList

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.ListResource<Queue>
          extended by com.twilio.sdk.resource.list.QueueList
All Implemented Interfaces:
QueueFactory, Iterable<Queue>

public class QueueList
extends ListResource<Queue>
implements QueueFactory

The QueueList represents a list of Queues.

Author:
Christer Fahlgren

Constructor Summary
QueueList(TwilioRestClient client)
          Creates a QueueList
QueueList(TwilioRestClient client, Map<String,String> filters)
          Creates a QueueList with filters.
 
Method Summary
 Queue create(List<org.apache.http.NameValuePair> params)
          
 Queue create(Map<String,String> params)
          
 
Methods inherited from class com.twilio.sdk.resource.ListResource
getEnd, getNextUri, getNumPages, getPage, getPageData, getStart, getTotal, iterator
 
Methods inherited from class com.twilio.sdk.resource.Resource
setRequestAccountSid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueList

public QueueList(TwilioRestClient client)
Creates a QueueList

Parameters:
client - the TwilioRestClient to use

QueueList

public QueueList(TwilioRestClient client,
                 Map<String,String> filters)
Creates a QueueList with filters.

Parameters:
client - the TwilioRestClient to use
filters - the filters to apply.
Method Detail

create

public Queue create(Map<String,String> params)
             throws TwilioRestException

Specified by:
create in interface QueueFactory
Throws:
TwilioRestException

create

public Queue create(List<org.apache.http.NameValuePair> params)
             throws TwilioRestException

Specified by:
create in interface QueueFactory
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.