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

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.ListResource<CredentialListMapping>
          extended by com.twilio.sdk.resource.list.sip.CredentialListMappingList
All Implemented Interfaces:
CredentialListMappingFactory, Iterable<CredentialListMapping>

public class CredentialListMappingList
extends ListResource<CredentialListMapping>
implements CredentialListMappingFactory


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

CredentialListMappingList

public CredentialListMappingList(TwilioRestClient client)
Instantiates a new list of ip access control list mappings

Parameters:
client - the client

CredentialListMappingList

public CredentialListMappingList(TwilioRestClient client,
                                 String sipDomainSid)
Instantiates a new list of ip access control list mappings

Parameters:
client - the client
sipDomainSid - the sid of the sip domain owning this set of mappings

CredentialListMappingList

public CredentialListMappingList(TwilioRestClient client,
                                 Map<String,String> filters)
Instantiates a new list of ip access control list mappings

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

create

public CredentialListMapping create(Map<String,String> params)
                             throws TwilioRestException
Description copied from interface: CredentialListMappingFactory
Creates the ip access control list mapping

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

create

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

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

getRequestSipDomainSid

public String getRequestSipDomainSid()


Copyright © 2011 Twilio, Inc. All Rights Reserved.