public class NewKey extends Resource
| Modifier and Type | Method and Description |
|---|---|
static NewKeyCreator |
creator()
Create a NewKeyCreator to execute create.
|
static NewKeyCreator |
creator(String pathAccountSid)
Create a NewKeyCreator to execute create.
|
boolean |
equals(Object o) |
static NewKey |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a NewKey object using the provided
ObjectMapper.
|
static NewKey |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a NewKey object using the provided ObjectMapper.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getFriendlyName()
Returns The The friendly_name.
|
String |
getSecret()
Returns The The secret.
|
String |
getSid()
Returns The The sid.
|
int |
hashCode() |
String |
toString() |
public static NewKeyCreator creator(String pathAccountSid)
pathAccountSid - The account_sidpublic static NewKeyCreator creator()
public static NewKey fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static NewKey fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final String getFriendlyName()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getSecret()
Copyright © 2016 Twilio, Inc. All Rights Reserved.