public class SigningKey extends Resource
Modifier and Type | Method and Description |
---|---|
static SigningKeyDeleter |
deleter(String pathSid)
Create a SigningKeyDeleter to execute delete.
|
static SigningKeyDeleter |
deleter(String pathAccountSid,
String pathSid)
Create a SigningKeyDeleter to execute delete.
|
boolean |
equals(Object o) |
static SigningKeyFetcher |
fetcher(String pathSid)
Create a SigningKeyFetcher to execute fetch.
|
static SigningKeyFetcher |
fetcher(String pathAccountSid,
String pathSid)
Create a SigningKeyFetcher to execute fetch.
|
static SigningKey |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SigningKey object using the provided
ObjectMapper.
|
static SigningKey |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SigningKey object using the provided
ObjectMapper.
|
ZonedDateTime |
getDateCreated()
Returns The date_created.
|
ZonedDateTime |
getDateUpdated()
Returns The date_updated.
|
String |
getFriendlyName()
Returns The friendly_name.
|
String |
getSid()
Returns The sid.
|
int |
hashCode() |
static SigningKeyReader |
reader()
Create a SigningKeyReader to execute read.
|
static SigningKeyReader |
reader(String pathAccountSid)
Create a SigningKeyReader to execute read.
|
static SigningKeyUpdater |
updater(String pathSid)
Create a SigningKeyUpdater to execute update.
|
static SigningKeyUpdater |
updater(String pathAccountSid,
String pathSid)
Create a SigningKeyUpdater to execute update.
|
public static SigningKeyFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid
- The account_sidpathSid
- The sidpublic static SigningKeyFetcher fetcher(String pathSid)
pathSid
- The sidpublic static SigningKeyUpdater updater(String pathAccountSid, String pathSid)
pathAccountSid
- The account_sidpathSid
- The sidpublic static SigningKeyUpdater updater(String pathSid)
pathSid
- The sidpublic static SigningKeyDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid
- The account_sidpathSid
- The sidpublic static SigningKeyDeleter deleter(String pathSid)
pathSid
- The sidpublic static SigningKeyReader reader(String pathAccountSid)
pathAccountSid
- The account_sidpublic static SigningKeyReader reader()
public static SigningKey fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static SigningKey fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getFriendlyName()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
Copyright © 2019 Twilio, Inc. All Rights Reserved.