|
|||||||||
| 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.Credential
public class Credential
| Constructor Summary | |
|---|---|
Credential(TwilioRestClient client)
Instantiates a new Credential. |
|
Credential(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new Credential. |
|
Credential(TwilioRestClient client,
String credentialListSid,
String sid)
Instantiates a new Credential. |
|
| Method Summary | |
|---|---|
boolean |
delete()
Delete this Credential. |
String |
getAccountSid()
Gets the account sid. |
Date |
getDateCreated()
Gets the date created. |
Date |
getDateUpdated()
Gets the date updated. |
String |
getRequestCredentialListSid()
Gets the sid of the parent credential list |
String |
getSid()
Gets the sid. |
String |
getUsername()
Gets the username |
| 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 Credential(TwilioRestClient client)
client - the client
public Credential(TwilioRestClient client,
String credentialListSid,
String sid)
client - the clientsid - the sid
public Credential(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 getUsername()
public String getRequestCredentialListSid()
public boolean delete()
throws TwilioRestException
Credential.
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 | ||||||||