public class CredentialList extends Resource
Modifier and Type | Method and Description |
---|---|
static CredentialListCreator |
creator(String trunkSid,
String credentialListSid)
Create a CredentialListCreator to execute create.
|
static CredentialListDeleter |
deleter(String trunkSid,
String sid)
Create a CredentialListDeleter to execute delete.
|
boolean |
equals(Object o) |
static CredentialListFetcher |
fetcher(String trunkSid,
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 account_sid.
|
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 |
getSid()
Returns The The sid.
|
String |
getTrunkSid()
Returns The The trunk_sid.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static CredentialListReader |
reader(String trunkSid)
Create a CredentialListReader to execute read.
|
String |
toString() |
public static CredentialListFetcher fetcher(String trunkSid, String sid)
trunkSid
- The trunk_sidsid
- The sidpublic static CredentialListDeleter deleter(String trunkSid, String sid)
trunkSid
- The trunk_sidsid
- The sidpublic static CredentialListCreator creator(String trunkSid, String credentialListSid)
trunkSid
- The trunk_sidcredentialListSid
- The credential_list_sidpublic static CredentialListReader reader(String trunkSid)
trunkSid
- The trunk_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 String getSid()
public final String getTrunkSid()
public final String getFriendlyName()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final URI getUrl()
Copyright © 2011 Twilio, Inc. All Rights Reserved.