com.twilio.sdk.resource.list.sip
Class CredentialListList

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.ListResource<CredentialListInstance>
          extended by com.twilio.sdk.resource.list.sip.CredentialListList
All Implemented Interfaces:
CredentialListFactory, Iterable<CredentialListInstance>

public class CredentialListList
extends ListResource<CredentialListInstance>
implements CredentialListFactory


Constructor Summary
CredentialListList(TwilioRestClient client)
          Instantiates a new list of ip access control lists
CredentialListList(TwilioRestClient client, Map<String,String> filters)
          Instantiates a new list of ip access control lists
 
Method Summary
 CredentialListInstance create(List<org.apache.http.NameValuePair> params)
          Creates the credential list.
 CredentialListInstance create(Map<String,String> params)
          Creates the credential list.
 
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

CredentialListList

public CredentialListList(TwilioRestClient client)
Instantiates a new list of ip access control lists

Parameters:
client - the client

CredentialListList

public CredentialListList(TwilioRestClient client,
                          Map<String,String> filters)
Instantiates a new list of ip access control lists

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

create

public CredentialListInstance create(Map<String,String> params)
                              throws TwilioRestException
Description copied from interface: CredentialListFactory
Creates the credential list.

Specified by:
create in interface CredentialListFactory
Parameters:
params - the params map
Returns:
the credential list
Throws:
TwilioRestException

create

public CredentialListInstance create(List<org.apache.http.NameValuePair> params)
                              throws TwilioRestException
Description copied from interface: CredentialListFactory
Creates the credential list.

Specified by:
create in interface CredentialListFactory
Parameters:
params - the params list
Returns:
the credential list
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.