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

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

public class CredentialListMapping
extends InstanceResource


Constructor Summary
CredentialListMapping(TwilioRestClient client)
          Instantiates a new CredentialListMapping.
CredentialListMapping(TwilioRestClient client, Map<String,Object> properties)
          Instantiates a new CredentialListMapping.
CredentialListMapping(TwilioRestClient client, String sipDomainSid, String sid)
          Instantiates a new CredentialListMapping.
 
Method Summary
 boolean delete()
          Delete this CredentialListMapping.
 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

CredentialListMapping

public CredentialListMapping(TwilioRestClient client)
Instantiates a new CredentialListMapping.

Parameters:
client - the client

CredentialListMapping

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

Parameters:
client - the client
sid - the sid

CredentialListMapping

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

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

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


Copyright © 2011 Twilio, Inc. All Rights Reserved.