public class CredentialList extends NextGenInstanceResource<TwilioTrunkingClient>
| Constructor and Description |
|---|
CredentialList(TwilioTrunkingClient client,
Map<String,Object> properties)
Initialize credential list with the given data
|
CredentialList(TwilioTrunkingClient client,
String trunkSid,
String sid)
Initialize credential list
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Remove association to trunk
|
String |
getAccountSid()
The unique ID of the Account that owns this Credential Lists.
|
Calendar |
getDateCreated()
The date this Credential List was created.
|
Calendar |
getDateUpdated()
The date this Credential List was updated.
|
String |
getFriendlyName()
A human readable descriptive text, up to 64 characters long.
|
String |
getSid()
A 34 character string that uniquely identifies the Origination URL in this Twilio Trunk.
|
String |
getTrunkSid()
The unique ID of the Trunk that owns this Credential Lists.
|
String |
getUrl()
The absolute URL for this resource
|
getCastedObject, getObject, getProperty, toJSON, update, updatesetRequestAccountSidpublic CredentialList(TwilioTrunkingClient client, String trunkSid, String sid)
client - A TwilioTrunkingClienttrunkSid - The trunk sidsid - The credential list sidpublic CredentialList(TwilioTrunkingClient client, Map<String,Object> properties)
client - A TwilioTrunkingClientproperties - The data for this credential listpublic String getSid()
public String getTrunkSid()
public String getFriendlyName()
public Calendar getDateCreated()
public Calendar getDateUpdated()
public String getAccountSid()
public String getUrl()
public boolean delete()
throws TwilioRestException
TwilioRestExceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.