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

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.ListResource<Domain>
          extended by com.twilio.sdk.resource.list.sip.DomainList
All Implemented Interfaces:
DomainFactory, Iterable<Domain>

public class DomainList
extends ListResource<Domain>
implements DomainFactory

The Class DomainList. For more information see https://www.twilio.com/docs/api/rest/sip-domain


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

DomainList

public DomainList(TwilioRestClient client)
Instantiates a new sip domain list.

Parameters:
client - the client

DomainList

public DomainList(TwilioRestClient client,
                  Map<String,String> filters)
Instantiates a new sip domain list.

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

create

public Domain create(Map<String,String> params)
              throws TwilioRestException
Description copied from interface: DomainFactory
Creates the sip domain.

Specified by:
create in interface DomainFactory
Parameters:
params - the params map
Returns:
the sip domain
Throws:
TwilioRestException

create

public Domain create(List<org.apache.http.NameValuePair> params)
              throws TwilioRestException
Description copied from interface: DomainFactory
Creates the sip domain.

Specified by:
create in interface DomainFactory
Parameters:
params - the params list
Returns:
the sip domain
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.