public class Credential extends NextGenInstanceResource<TwilioIPMessagingClient>
| Constructor and Description |
|---|
Credential(TwilioIPMessagingClient client,
Map<String,Object> properties) |
Credential(TwilioIPMessagingClient client,
String sid) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Deletes the service
|
String |
getAccountSid()
The account sid that owns this credential
|
Calendar |
getDateCreated()
The date when this credential was created
|
Calendar |
getDateUpdated()
The date when this credential was updated
|
String |
getFriendlyName()
The human readable name for this credential
|
String |
getSid()
The unique identifier for this credential
|
String |
getType()
The type for this credential
|
String |
getUrl()
Absolute url of this credential
|
getCastedObject, getObject, getProperty, getPropertyAsInteger, toJSON, update, updatesetRequestAccountSidpublic Credential(TwilioIPMessagingClient client, String sid)
public Credential(TwilioIPMessagingClient client, Map<String,Object> properties)
public String getSid()
public String getAccountSid()
public String getFriendlyName()
public String getType()
public Calendar getDateCreated()
public Calendar getDateUpdated()
public String getUrl()
public boolean delete()
throws TwilioRestException
TwilioRestExceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.