Class AssignedAddOn
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.incomingphonenumber.AssignedAddOn
-
- All Implemented Interfaces:
Serializable
public class AssignedAddOn extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssignedAddOnCreatorcreator(String pathResourceSid, String installedAddOnSid)static AssignedAddOnCreatorcreator(String pathAccountSid, String pathResourceSid, String installedAddOnSid)static AssignedAddOnDeleterdeleter(String pathResourceSid, String pathSid)static AssignedAddOnDeleterdeleter(String pathAccountSid, String pathResourceSid, String pathSid)booleanequals(Object o)static AssignedAddOnFetcherfetcher(String pathResourceSid, String pathSid)static AssignedAddOnFetcherfetcher(String pathAccountSid, String pathResourceSid, String pathSid)static AssignedAddOnfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a AssignedAddOn object using the provided ObjectMapper.static AssignedAddOnfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a AssignedAddOn object using the provided ObjectMapper.StringgetAccountSid()Map<String,Object>getConfiguration()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetDescription()StringgetFriendlyName()StringgetResourceSid()StringgetSid()Map<String,String>getSubresourceUris()StringgetUniqueName()StringgetUri()inthashCode()static AssignedAddOnReaderreader(String pathResourceSid)static AssignedAddOnReaderreader(String pathAccountSid, String pathResourceSid)
-
-
-
Method Detail
-
creator
public static AssignedAddOnCreator creator(String pathResourceSid, String installedAddOnSid)
-
creator
public static AssignedAddOnCreator creator(String pathAccountSid, String pathResourceSid, String installedAddOnSid)
-
fetcher
public static AssignedAddOnFetcher fetcher(String pathResourceSid, String pathSid)
-
fetcher
public static AssignedAddOnFetcher fetcher(String pathAccountSid, String pathResourceSid, String pathSid)
-
deleter
public static AssignedAddOnDeleter deleter(String pathResourceSid, String pathSid)
-
deleter
public static AssignedAddOnDeleter deleter(String pathAccountSid, String pathResourceSid, String pathSid)
-
reader
public static AssignedAddOnReader reader(String pathResourceSid)
-
reader
public static AssignedAddOnReader reader(String pathAccountSid, String pathResourceSid)
-
fromJson
public static AssignedAddOn fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AssignedAddOn object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- AssignedAddOn object represented by the provided JSON
-
fromJson
public static AssignedAddOn fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AssignedAddOn object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- AssignedAddOn object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getResourceSid
public final String getResourceSid()
-
getFriendlyName
public final String getFriendlyName()
-
getDescription
public final String getDescription()
-
getUniqueName
public final String getUniqueName()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUri
public final String getUri()
-
-