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

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.ListResource<IpAddress>
          extended by com.twilio.sdk.resource.list.sip.IpAddressList
All Implemented Interfaces:
IpAddressFactory, Iterable<IpAddress>

public class IpAddressList
extends ListResource<IpAddress>
implements IpAddressFactory


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

IpAddressList

public IpAddressList(TwilioRestClient client)
Instantiates a new IpAddress list

Parameters:
client - the client

IpAddressList

public IpAddressList(TwilioRestClient client,
                     String ipAccessControlListSid)
Instantiates a new IpAddress list

Parameters:
client - the client
ipAccessControlListSid - ip access control list sid

IpAddressList

public IpAddressList(TwilioRestClient client,
                     Map<String,String> filters)
Instantiates a new IpAddress list

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

create

public IpAddress create(Map<String,String> params)
                 throws TwilioRestException
Description copied from interface: IpAddressFactory
Creates the IpAddress

Specified by:
create in interface IpAddressFactory
Parameters:
params - the params map
Returns:
the IpAddress
Throws:
TwilioRestException

create

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

Specified by:
create in interface IpAddressFactory
Parameters:
params - the params list
Returns:
the IpAddress
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.