public class AssignedAddOn extends Resource
Modifier and Type | Method and Description |
---|---|
static AssignedAddOnCreator |
creator(String pathResourceSid,
String installedAddOnSid)
Create a AssignedAddOnCreator to execute create.
|
static AssignedAddOnCreator |
creator(String pathAccountSid,
String pathResourceSid,
String installedAddOnSid)
Create a AssignedAddOnCreator to execute create.
|
static AssignedAddOnDeleter |
deleter(String pathResourceSid,
String pathSid)
Create a AssignedAddOnDeleter to execute delete.
|
static AssignedAddOnDeleter |
deleter(String pathAccountSid,
String pathResourceSid,
String pathSid)
Create a AssignedAddOnDeleter to execute delete.
|
boolean |
equals(Object o) |
static AssignedAddOnFetcher |
fetcher(String pathResourceSid,
String pathSid)
Create a AssignedAddOnFetcher to execute fetch.
|
static AssignedAddOnFetcher |
fetcher(String pathAccountSid,
String pathResourceSid,
String pathSid)
Create a AssignedAddOnFetcher to execute fetch.
|
static AssignedAddOn |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AssignedAddOn object using the provided
ObjectMapper.
|
static AssignedAddOn |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AssignedAddOn object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The Account id that has installed this Add-on.
|
Map<String,Object> |
getConfiguration()
Returns The The JSON object representing the current configuration.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this Add-on was installed.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this Add-on installation was last updated.
|
String |
getDescription()
Returns The A short description of the Add-on functionality.
|
String |
getFriendlyName()
Returns The A description of this Add-on installation.
|
String |
getResourceSid()
Returns The The Phone Number id that has installed this Add-on.
|
String |
getSid()
Returns The A string that uniquely identifies this assigned Add-on
installation.
|
Map<String,String> |
getSubresourceUris()
Returns The The subresource_uris.
|
String |
getUniqueName()
Returns The The string that uniquely identifies this Add-on installation.
|
String |
getUri()
Returns The The uri.
|
int |
hashCode() |
static AssignedAddOnReader |
reader(String pathResourceSid)
Create a AssignedAddOnReader to execute read.
|
static AssignedAddOnReader |
reader(String pathAccountSid,
String pathResourceSid)
Create a AssignedAddOnReader to execute read.
|
String |
toString() |
public static AssignedAddOnFetcher fetcher(String pathAccountSid, String pathResourceSid, String pathSid)
pathAccountSid
- The account_sidpathResourceSid
- The resource_sidpathSid
- The unique Installed Add-on Sidpublic static AssignedAddOnFetcher fetcher(String pathResourceSid, String pathSid)
pathResourceSid
- The resource_sidpathSid
- The unique Installed Add-on Sidpublic static AssignedAddOnReader reader(String pathAccountSid, String pathResourceSid)
pathAccountSid
- The account_sidpathResourceSid
- The resource_sidpublic static AssignedAddOnReader reader(String pathResourceSid)
pathResourceSid
- The resource_sidpublic static AssignedAddOnCreator creator(String pathAccountSid, String pathResourceSid, String installedAddOnSid)
pathAccountSid
- The account_sidpathResourceSid
- The resource_sidinstalledAddOnSid
- A string that uniquely identifies the Add-on
installationpublic static AssignedAddOnCreator creator(String pathResourceSid, String installedAddOnSid)
pathResourceSid
- The resource_sidinstalledAddOnSid
- A string that uniquely identifies the Add-on
installationpublic static AssignedAddOnDeleter deleter(String pathAccountSid, String pathResourceSid, String pathSid)
pathAccountSid
- The account_sidpathResourceSid
- The resource_sidpathSid
- The Installed Add-on Sid to removepublic static AssignedAddOnDeleter deleter(String pathResourceSid, String pathSid)
pathResourceSid
- The resource_sidpathSid
- The Installed Add-on Sid to removepublic static AssignedAddOn fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static AssignedAddOn fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getResourceSid()
public final String getFriendlyName()
public final String getDescription()
public final Map<String,Object> getConfiguration()
public final String getUniqueName()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getUri()
public final Map<String,String> getSubresourceUris()
Copyright © 2016 Twilio, Inc. All Rights Reserved.