Class InstalledAddOnExtension
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.marketplace.installedaddon.InstalledAddOnExtension
-
- All Implemented Interfaces:
Serializable
public class InstalledAddOnExtension extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static InstalledAddOnExtensionFetcher
fetcher(String pathInstalledAddOnSid, String pathSid)
static InstalledAddOnExtension
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a InstalledAddOnExtension object using the provided ObjectMapper.static InstalledAddOnExtension
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a InstalledAddOnExtension object using the provided ObjectMapper.Boolean
getEnabled()
String
getFriendlyName()
String
getInstalledAddOnSid()
String
getProductName()
String
getSid()
String
getUniqueName()
URI
getUrl()
int
hashCode()
static InstalledAddOnExtensionReader
reader(String pathInstalledAddOnSid)
static InstalledAddOnExtensionUpdater
updater(String pathInstalledAddOnSid, String pathSid, Boolean enabled)
-
-
-
Method Detail
-
fetcher
public static InstalledAddOnExtensionFetcher fetcher(String pathInstalledAddOnSid, String pathSid)
-
reader
public static InstalledAddOnExtensionReader reader(String pathInstalledAddOnSid)
-
updater
public static InstalledAddOnExtensionUpdater updater(String pathInstalledAddOnSid, String pathSid, Boolean enabled)
-
fromJson
public static InstalledAddOnExtension fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a InstalledAddOnExtension object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- InstalledAddOnExtension object represented by the provided JSON
-
fromJson
public static InstalledAddOnExtension fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a InstalledAddOnExtension object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- InstalledAddOnExtension object represented by the provided JSON
-
getSid
public final String getSid()
-
getInstalledAddOnSid
public final String getInstalledAddOnSid()
-
getFriendlyName
public final String getFriendlyName()
-
getProductName
public final String getProductName()
-
getUniqueName
public final String getUniqueName()
-
getEnabled
public final Boolean getEnabled()
-
getUrl
public final URI getUrl()
-
-