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

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.ListResource<IpAccessControlList>
          extended by com.twilio.sdk.resource.list.sip.IpAccessControlListList
All Implemented Interfaces:
IpAccessControlListFactory, Iterable<IpAccessControlList>

public class IpAccessControlListList
extends ListResource<IpAccessControlList>
implements IpAccessControlListFactory

This class is a list of IpAccessControlLists. While the name may seem odd at first, it actually is a list of lists, so the name is correct.


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

IpAccessControlListList

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

Parameters:
client - the client

IpAccessControlListList

public IpAccessControlListList(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 IpAccessControlList create(Map<String,String> params)
                           throws TwilioRestException
Description copied from interface: IpAccessControlListFactory
Creates the ip access control list

Specified by:
create in interface IpAccessControlListFactory
Parameters:
params - the params map
Returns:
the ip access control list
Throws:
TwilioRestException

create

public IpAccessControlList create(List<org.apache.http.NameValuePair> params)
                           throws TwilioRestException
Description copied from interface: IpAccessControlListFactory
Creates the ip access control list

Specified by:
create in interface IpAccessControlListFactory
Parameters:
params - the params list
Returns:
the ip access control list
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.