com.twilio.sdk.resource.list
Class CallList

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.ListResource<Call>
          extended by com.twilio.sdk.resource.list.CallList
All Implemented Interfaces:
CallFactory, Iterable<Call>

public class CallList
extends ListResource<Call>
implements CallFactory

The Class CallList. For more information see https://www.twilio.com/docs/api/rest/call


Constructor Summary
CallList(TwilioRestClient client)
          Instantiates a new call list.
CallList(TwilioRestClient client, Map<String,String> filters)
          Instantiates a new call list.
 
Method Summary
 Call create(List<org.apache.http.NameValuePair> params)
          Creates the Call.
 Call create(Map<String,String> params)
          Creates the Call.
 
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

CallList

public CallList(TwilioRestClient client)
Instantiates a new call list.

Parameters:
client - the client

CallList

public CallList(TwilioRestClient client,
                Map<String,String> filters)
Instantiates a new call list.

Parameters:
client - the client
filters - the filters
Method Detail

create

public Call create(Map<String,String> params)
            throws TwilioRestException
Description copied from interface: CallFactory
Creates the Call.

Specified by:
create in interface CallFactory
Parameters:
params - the params map
Returns:
the call
Throws:
TwilioRestException

create

public Call create(List<org.apache.http.NameValuePair> params)
            throws TwilioRestException
Description copied from interface: CallFactory
Creates the Call.

Specified by:
create in interface CallFactory
Parameters:
params - the params list
Returns:
the call
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.