|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource
com.twilio.sdk.resource.InstanceResource
com.twilio.sdk.resource.instance.sip.CredentialListInstance
public class CredentialListInstance
This class is the instance resource corresponding to /CredentialLists/CLXXX. NOTE: The 'Instance' suffix in the name was added to avoid a name clash with the list resource that corresponds to /Credentials. This unfortunate quirk is caused by this library's convention of appending 'List' to instance resources to form their list counterpart.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| 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 |
|---|
public CredentialListInstance(TwilioRestClient client)
client - the client
public CredentialListInstance(TwilioRestClient client,
String sid)
client - the clientsid - the sid
public CredentialListInstance(TwilioRestClient client,
Map<String,Object> properties)
client - the clientproperties - the properties| Method Detail |
|---|
public 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 request
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||