public class Payload extends Resource
| Modifier and Type | Method and Description |
|---|---|
static PayloadDeleter |
deleter(String pathReferenceSid,
String pathAddOnResultSid,
String pathSid)
Create a PayloadDeleter to execute delete.
|
static PayloadDeleter |
deleter(String pathAccountSid,
String pathReferenceSid,
String pathAddOnResultSid,
String pathSid)
Create a PayloadDeleter to execute delete.
|
boolean |
equals(Object o) |
static PayloadFetcher |
fetcher(String pathReferenceSid,
String pathAddOnResultSid,
String pathSid)
Create a PayloadFetcher to execute fetch.
|
static PayloadFetcher |
fetcher(String pathAccountSid,
String pathReferenceSid,
String pathAddOnResultSid,
String pathSid)
Create a PayloadFetcher to execute fetch.
|
static Payload |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Payload object using the provided
ObjectMapper.
|
static Payload |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Payload object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The unique sid that identifies this account.
|
String |
getAddOnConfigurationSid()
Returns The A string that uniquely identifies the Add-on configuration..
|
String |
getAddOnResultSid()
Returns The A string that uniquely identifies the result.
|
String |
getAddOnSid()
Returns The A string that uniquely identifies the Add-on..
|
String |
getContentType()
Returns The The MIME type of the payload..
|
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 |
getLabel()
Returns The A string that describes the payload..
|
String |
getReferenceSid()
Returns The A string that uniquely identifies the recording..
|
String |
getSid()
Returns The A string that uniquely identifies this payload.
|
Map<String,String> |
getSubresourceUris()
Returns The The subresource_uris.
|
int |
hashCode() |
static PayloadReader |
reader(String pathReferenceSid,
String pathAddOnResultSid)
Create a PayloadReader to execute read.
|
static PayloadReader |
reader(String pathAccountSid,
String pathReferenceSid,
String pathAddOnResultSid)
Create a PayloadReader to execute read.
|
String |
toString() |
public static PayloadFetcher fetcher(String pathAccountSid, String pathReferenceSid, String pathAddOnResultSid, String pathSid)
pathAccountSid - The account_sidpathReferenceSid - The reference_sidpathAddOnResultSid - The add_on_result_sidpathSid - Fetch by unique payload Sidpublic static PayloadFetcher fetcher(String pathReferenceSid, String pathAddOnResultSid, String pathSid)
pathReferenceSid - The reference_sidpathAddOnResultSid - The add_on_result_sidpathSid - Fetch by unique payload Sidpublic static PayloadReader reader(String pathAccountSid, String pathReferenceSid, String pathAddOnResultSid)
pathAccountSid - The account_sidpathReferenceSid - The reference_sidpathAddOnResultSid - The add_on_result_sidpublic static PayloadReader reader(String pathReferenceSid, String pathAddOnResultSid)
pathReferenceSid - The reference_sidpathAddOnResultSid - The add_on_result_sidpublic static PayloadDeleter deleter(String pathAccountSid, String pathReferenceSid, String pathAddOnResultSid, String pathSid)
pathAccountSid - The account_sidpathReferenceSid - The reference_sidpathAddOnResultSid - The add_on_result_sidpathSid - Delete by unique payload Sidpublic static PayloadDeleter deleter(String pathReferenceSid, String pathAddOnResultSid, String pathSid)
pathReferenceSid - The reference_sidpathAddOnResultSid - The add_on_result_sidpathSid - Delete by unique payload Sidpublic static Payload fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Payload fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final String getAddOnResultSid()
public final String getAccountSid()
public final String getLabel()
public final String getAddOnSid()
public final String getAddOnConfigurationSid()
public final String getContentType()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getReferenceSid()
public final Map<String,String> getSubresourceUris()
Copyright © 2016 Twilio, Inc. All Rights Reserved.