com.twilio.sdk.resource.instance.sip
Class IpAccessControlList

java.lang.Object
  extended by com.twilio.sdk.resource.Resource
      extended by com.twilio.sdk.resource.InstanceResource
          extended by com.twilio.sdk.resource.instance.sip.IpAccessControlList

public class IpAccessControlList
extends InstanceResource


Constructor Summary
IpAccessControlList(TwilioRestClient client)
          Instantiates a new IpAccessControlList.
IpAccessControlList(TwilioRestClient client, Map<String,Object> properties)
          Instantiates a new IpAccessControlList.
IpAccessControlList(TwilioRestClient client, String sid)
          Instantiates a new IpAccessControlList.
 
Method Summary
 boolean delete()
          Delete this IpAccessControlList.
 String getAccountSid()
          Gets the account sid.
 Date getDateCreated()
          Gets the date created.
 Date getDateUpdated()
          Gets the date updated.
 String getFriendlyName()
          Gets the friendly name
 IpAddress getIpAddress(String ipAddressSid)
          Gets the ip IpAddresses on this list.
 IpAddressList getIpAddresses()
          Gets the ip addresses on this list.
 IpAddressFactory getIpAddressFactory()
          Gets the IpAddressFactory, which lets you make new IpAddresses.
 String getSid()
          Gets the sid.
 
Methods inherited from class com.twilio.sdk.resource.InstanceResource
getObject, getProperty, update, update
 
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

IpAccessControlList

public IpAccessControlList(TwilioRestClient client)
Instantiates a new IpAccessControlList.

Parameters:
client - the client

IpAccessControlList

public IpAccessControlList(TwilioRestClient client,
                           String sid)
Instantiates a new IpAccessControlList.

Parameters:
client - the client
sid - the sid

IpAccessControlList

public IpAccessControlList(TwilioRestClient client,
                           Map<String,Object> properties)
Instantiates a new IpAccessControlList.

Parameters:
client - the client
properties - the properties
Method Detail

getSid

public String getSid()
Gets the sid.

Returns:
the sid

getDateCreated

public Date getDateCreated()
Gets the date created.

Returns:
the date created

getDateUpdated

public Date getDateUpdated()
Gets the date updated.

Returns:
the date updated

getAccountSid

public String getAccountSid()
Gets the account sid.

Returns:
the account sid

getFriendlyName

public String getFriendlyName()
Gets the friendly name

Returns:
the friendly name

getIpAddresses

public IpAddressList getIpAddresses()
Gets the ip addresses on this list.

Returns:
an AddressList of the addresses on this list

getIpAddressFactory

public IpAddressFactory getIpAddressFactory()
Gets the IpAddressFactory, which lets you make new IpAddresses.

Returns:
an IpAddressList of the IpAddresses on this list

getIpAddress

public IpAddress getIpAddress(String ipAddressSid)
Gets the ip IpAddresses on this list.

Returns:
an IpAddressList of the IpAddresses on this list

delete

public boolean delete()
               throws TwilioRestException
Delete this IpAccessControlList.

Returns:
true, if successful
Throws:
TwilioRestException - if there is an error in the request


Copyright © 2011 Twilio, Inc. All Rights Reserved.