public class PublicKey extends Resource
| Modifier and Type | Method and Description |
|---|---|
static PublicKeyCreator |
creator(String publicKey)
Create a PublicKeyCreator to execute create.
|
static PublicKeyDeleter |
deleter(String pathSid)
Create a PublicKeyDeleter to execute delete.
|
boolean |
equals(Object o) |
static PublicKeyFetcher |
fetcher(String pathSid)
Create a PublicKeyFetcher to execute fetch.
|
static PublicKey |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a PublicKey object using the provided
ObjectMapper.
|
static PublicKey |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a PublicKey object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The AccountSid the Credential resource belongs to.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this resource was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this resource was last updated.
|
String |
getFriendlyName()
Returns The A human readable description of this resource.
|
String |
getSid()
Returns The A 34 character string that uniquely identifies this resource..
|
URI |
getUrl()
Returns The The URI for this resource, relative to
`https://accounts.twilio.com`.
|
int |
hashCode() |
static PublicKeyReader |
reader()
Create a PublicKeyReader to execute read.
|
String |
toString() |
static PublicKeyUpdater |
updater(String pathSid)
Create a PublicKeyUpdater to execute update.
|
public static PublicKeyReader reader()
public static PublicKeyCreator creator(String publicKey)
publicKey - URL encoded representation of the public keypublic static PublicKeyFetcher fetcher(String pathSid)
pathSid - Fetch by unique Credential Sidpublic static PublicKeyUpdater updater(String pathSid)
pathSid - Fetch by unique Credential Sidpublic static PublicKeyDeleter deleter(String pathSid)
pathSid - A 34 character string that uniquely identifies this resource.public static PublicKey fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static PublicKey fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getFriendlyName()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.