public class CredentialList extends SidResource
Modifier and Type | Method and Description |
---|---|
static CredentialListCreator |
create(String accountSid,
String friendlyName)
Create a CredentialListCreator to execute create.
|
static CredentialListDeleter |
delete(String accountSid,
String sid)
Create a CredentialListDeleter to execute delete.
|
boolean |
equals(Object o) |
static CredentialListFetcher |
fetch(String accountSid,
String sid)
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 |
read(String accountSid)
Create a CredentialListReader to execute read.
|
String |
toString() |
static CredentialListUpdater |
update(String accountSid,
String sid,
String friendlyName)
Create a CredentialListUpdater to execute update.
|
public static CredentialListReader read(String accountSid)
accountSid
- The account_sidpublic static CredentialListCreator create(String accountSid, String friendlyName)
accountSid
- The account_sidfriendlyName
- The friendly_namepublic static CredentialListFetcher fetch(String accountSid, String sid)
accountSid
- The account_sidsid
- Fetch by unique credential Sidpublic static CredentialListUpdater update(String accountSid, String sid, String friendlyName)
accountSid
- The account_sidsid
- The sidfriendlyName
- The friendly_namepublic static CredentialListDeleter delete(String accountSid, String sid)
accountSid
- The account_sidsid
- 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()
getSid
in class SidResource
public final Map<String,String> getSubresourceUris()
public final String getUri()
Copyright © 2011 Twilio, Inc. All Rights Reserved.