public class CredentialList extends SidResource
Modifier and Type | Method and Description |
---|---|
static CredentialListCreator |
create(String trunkSid,
String credentialListSid)
Create a CredentialListCreator to execute create.
|
static CredentialListDeleter |
delete(String trunkSid,
String sid)
Create a CredentialListDeleter to execute delete.
|
boolean |
equals(Object o) |
static CredentialListFetcher |
fetch(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 |
read(String trunkSid)
Create a CredentialListReader to execute read.
|
String |
toString() |
public static CredentialListFetcher fetch(String trunkSid, String sid)
trunkSid
- The trunk_sidsid
- The sidpublic static CredentialListDeleter delete(String trunkSid, String sid)
trunkSid
- The trunk_sidsid
- The sidpublic static CredentialListCreator create(String trunkSid, String credentialListSid)
trunkSid
- The trunk_sidcredentialListSid
- The credential_list_sidpublic static CredentialListReader read(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()
getSid
in class SidResource
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.