public class CredentialListInstance extends InstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
CredentialListInstance(TwilioRestClient client)
Instantiates a new CredentialListInstance.
|
CredentialListInstance(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new CredentialListInstance.
|
CredentialListInstance(TwilioRestClient client,
String sid)
Instantiates a new CredentialListInstance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Delete this
CredentialListInstance. |
String |
getAccountSid()
Gets the account sid.
|
Credential |
getCredential(String credentialSid)
Gets the credentials from the credential list
|
CredentialFactory |
getCredentialFactory()
Gets a CredentialFactory which creates credentials
|
CredentialList |
getCredentials()
Gets the credentials from the credential list
|
Date |
getDateCreated()
Gets the date created.
|
Date |
getDateUpdated()
Gets the date updated.
|
String |
getFriendlyName()
Gets the friendly name
|
String |
getRealm()
Gets the realm
|
String |
getSid()
Gets the sid.
|
getObject, getProperty, update, updatesetRequestAccountSidpublic CredentialListInstance(TwilioRestClient client)
client - the clientpublic CredentialListInstance(TwilioRestClient client, String sid)
client - the clientsid - the sidpublic CredentialListInstance(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic String getSid()
public Date getDateCreated()
public Date getDateUpdated()
public String getAccountSid()
public String getRealm()
public String getFriendlyName()
public CredentialList getCredentials()
public Credential getCredential(String credentialSid)
public CredentialFactory getCredentialFactory()
public boolean delete()
throws TwilioRestException
CredentialListInstance.TwilioRestException - if there is an error in the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.