public class SigningKey extends NextGenInstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
SigningKey(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new SingingKey.
|
SigningKey(TwilioRestClient client,
String sid)
Instantiates a new SigningKey.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Delete the SigningKey.
|
Calendar |
getDateCreated()
Date/time the SigningKey resource was created.
|
Calendar |
getDateUpdated()
Date/time the SigningKey resource was last updated.
|
String |
getFriendlyName()
An optional user-defined string describing this SigningKey.
|
String |
getSecret()
The secret of this SigningKey.
|
String |
getSid()
A unique identifier for this SigningKey.
|
getCastedObject, getObject, getProperty, getPropertyAsInteger, toJSON, update, updatesetRequestAccountSidpublic SigningKey(TwilioRestClient client, String sid)
client - the clientsid - the sidpublic SigningKey(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic String getSid()
public Calendar getDateCreated()
public Calendar getDateUpdated()
public String getFriendlyName()
public String getSecret()
public boolean delete()
throws TwilioRestException
TwilioRestException - if there is an error in the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.