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

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.IpAccessControlListMapping

public class IpAccessControlListMapping
extends InstanceResource


Constructor Summary
IpAccessControlListMapping(TwilioRestClient client)
          Instantiates a new IpAccessControlListMapping.
IpAccessControlListMapping(TwilioRestClient client, Map<String,Object> properties)
          Instantiates a new IpAccessControlListMapping.
IpAccessControlListMapping(TwilioRestClient client, String sipDomainSid, String sid)
          Instantiates a new IpAccessControlListMapping.
 
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
 String getRequestSipDomainSid()
          Gets the sid of the sip domain owning this mapping.
 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

IpAccessControlListMapping

public IpAccessControlListMapping(TwilioRestClient client)
Instantiates a new IpAccessControlListMapping.

Parameters:
client - the client

IpAccessControlListMapping

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

Parameters:
client - the client
sid - the sid

IpAccessControlListMapping

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

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

getSid

public String getSid()
Gets the sid.

Returns:
the sid

getRequestSipDomainSid

public String getRequestSipDomainSid()
Gets the sid of the sip domain owning this mapping.

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

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.