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 unique sid that identifies this account.
|
ZonedDateTime |
getDateCreated()
Returns The date this resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The date this resource was last updated.
|
String |
getFriendlyName()
Returns Human readable descriptive text.
|
String |
getSid()
Returns A string that uniquely identifies this credential.
|
Map<String,String> |
getSubresourceUris()
Returns The list of credentials associated with this credential list..
|
String |
getUri()
Returns 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.
|
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 unique id of the Account that is responsible for
this resource.public static CredentialListReader reader()
public static CredentialListCreator creator(String pathAccountSid, String friendlyName)
pathAccountSid
- The unique id of the Account that is responsible for
this resource.friendlyName
- Human readable descriptive textpublic static CredentialListCreator creator(String friendlyName)
friendlyName
- Human readable descriptive textpublic static CredentialListFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid
- The unique id of the Account that is responsible for
this resource.pathSid
- Fetch by unique credential list Sidpublic static CredentialListFetcher fetcher(String pathSid)
pathSid
- Fetch by unique credential list Sidpublic static CredentialListUpdater updater(String pathAccountSid, String pathSid, String friendlyName)
pathAccountSid
- The unique id of the Account that is responsible for
this resource.pathSid
- Update by unique credential list SidfriendlyName
- Human readable descriptive textpublic static CredentialListUpdater updater(String pathSid, String friendlyName)
pathSid
- Update by unique credential list SidfriendlyName
- Human readable descriptive textpublic static CredentialListDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid
- The unique id of the Account that is responsible for
this resource.pathSid
- Delete by unique credential list Sidpublic static CredentialListDeleter deleter(String pathSid)
pathSid
- Delete by unique credential list 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 ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final String getFriendlyName()
public final String getSid()
public final Map<String,String> getSubresourceUris()
public final String getUri()
Copyright © 2019 Twilio, Inc. All Rights Reserved.