com.twilio.sdk.resource.list
Class AddressList

java.lang.Object
  extended by com.twilio.sdk.resource.Resource<C>
      extended by com.twilio.sdk.resource.ListResource<Address,TwilioRestClient>
          extended by com.twilio.sdk.resource.list.AddressList
All Implemented Interfaces:
AddressFactory, Iterable<Address>

public class AddressList
extends ListResource<Address,TwilioRestClient>
implements AddressFactory

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


Constructor Summary
AddressList(TwilioRestClient client)
          Instantiates a new address list.
AddressList(TwilioRestClient client, Map<String,String> filters)
          Instantiates a new address list.
 
Method Summary
 Address create(List<org.apache.http.NameValuePair> params)
           
 Address create(Map<String,String> params)
           
 
Methods inherited from class com.twilio.sdk.resource.ListResource
getEnd, getNextUri, getNumPages, getPage, getPageData, getStart, 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

AddressList

public AddressList(TwilioRestClient client)
Instantiates a new address list.

Parameters:
client - the client

AddressList

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

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

create

public Address create(Map<String,String> params)
               throws TwilioRestException
Specified by:
create in interface AddressFactory
Throws:
TwilioRestException

create

public Address create(List<org.apache.http.NameValuePair> params)
               throws TwilioRestException
Specified by:
create in interface AddressFactory
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.