com.twilio.sdk.resource.list
Class OutgoingCallerIdList

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.ListResource<OutgoingCallerId>
          extended by com.twilio.sdk.resource.list.OutgoingCallerIdList
All Implemented Interfaces:
OutgoingCallerIdFactory, Iterable<OutgoingCallerId>

public class OutgoingCallerIdList
extends ListResource<OutgoingCallerId>
implements OutgoingCallerIdFactory

The Class OutgoingCallerIdList. For more information see https://www.twilio.com/docs/api/rest/outgoing-caller-ids


Constructor Summary
OutgoingCallerIdList(TwilioRestClient client)
          Instantiates a new outgoing caller id list.
OutgoingCallerIdList(TwilioRestClient client, Map<String,String> filters)
          Instantiates a new outgoing caller id list.
 
Method Summary
 CallerIdValidation create(List<org.apache.http.NameValuePair> params)
          Creates the OutgoingCallerId
 CallerIdValidation create(Map<String,String> params)
          Creates the OutgoingCallerId
 
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

OutgoingCallerIdList

public OutgoingCallerIdList(TwilioRestClient client)
Instantiates a new outgoing caller id list.

Parameters:
client - the client

OutgoingCallerIdList

public OutgoingCallerIdList(TwilioRestClient client,
                            Map<String,String> filters)
Instantiates a new outgoing caller id list.

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

create

public CallerIdValidation create(Map<String,String> params)
                          throws TwilioRestException
Description copied from interface: OutgoingCallerIdFactory
Creates the OutgoingCallerId

Specified by:
create in interface OutgoingCallerIdFactory
Parameters:
params - the params map
Returns:
the caller id validation
Throws:
TwilioRestException

create

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

Specified by:
create in interface OutgoingCallerIdFactory
Parameters:
params - the params
Returns:
the caller id validation
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.