public class CredentialList extends Resource
| Modifier and Type | Method and Description |
|---|---|
static CredentialListCreator |
creator(String friendlyName)
Create a CredentialListCreator to execute create.
|
static CredentialListCreator |
creator(String pathAccountSid,
String friendlyName)
Create a CredentialListCreator to execute create.
|
static CredentialListDeleter |
deleter(String pathSid)
Create a CredentialListDeleter to execute delete.
|
static CredentialListDeleter |
deleter(String pathAccountSid,
String pathSid)
Create a CredentialListDeleter to execute delete.
|
boolean |
equals(Object o) |
static CredentialListFetcher |
fetcher(String pathSid)
Create a CredentialListFetcher to execute fetch.
|
static CredentialListFetcher |
fetcher(String pathAccountSid,
String pathSid)
Create a CredentialListFetcher to execute fetch.
|
static CredentialList |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a CredentialList object using the provided
ObjectMapper.
|
static CredentialList |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a CredentialList object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The unique sid that identifies this account.
|
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 The friendly_name.
|
String |
getSid()
Returns The A string that uniquely identifies this credential.
|
Map<String,String> |
getSubresourceUris()
Returns The The subresource_uris.
|
String |
getUri()
Returns The The URI for this resource.
|
int |
hashCode() |
static CredentialListReader |
reader()
Create a CredentialListReader to execute read.
|
static CredentialListReader |
reader(String pathAccountSid)
Create a CredentialListReader to execute read.
|
String |
toString() |
static CredentialListUpdater |
updater(String pathSid,
String friendlyName)
Create a CredentialListUpdater to execute update.
|
static CredentialListUpdater |
updater(String pathAccountSid,
String pathSid,
String friendlyName)
Create a CredentialListUpdater to execute update.
|
public static CredentialListReader reader(String pathAccountSid)
pathAccountSid - The account_sidpublic static CredentialListReader reader()
public static CredentialListCreator creator(String pathAccountSid, String friendlyName)
pathAccountSid - The account_sidfriendlyName - The friendly_namepublic static CredentialListCreator creator(String friendlyName)
friendlyName - The friendly_namepublic static CredentialListFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - Fetch by unique credential Sidpublic static CredentialListFetcher fetcher(String pathSid)
pathSid - Fetch by unique credential Sidpublic static CredentialListUpdater updater(String pathAccountSid, String pathSid, String friendlyName)
pathAccountSid - The account_sidpathSid - The sidfriendlyName - The friendly_namepublic static CredentialListUpdater updater(String pathSid, String friendlyName)
pathSid - The sidfriendlyName - The friendly_namepublic static CredentialListDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - Delete by unique credential Sidpublic static CredentialListDeleter deleter(String pathSid)
pathSid - Delete by unique credential Sidpublic static CredentialList fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static CredentialList fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getFriendlyName()
public final String getSid()
public final Map<String,String> getSubresourceUris()
public final String getUri()
Copyright © 2016 Twilio, Inc. All Rights Reserved.