Class PluginVersions
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.flexapi.v1.plugin.PluginVersions
-
- All Implemented Interfaces:
Serializable
public class PluginVersions extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PluginVersionsCreator
creator(String pathPluginSid, String version, URI pluginUrl)
boolean
equals(Object o)
static PluginVersionsFetcher
fetcher(String pathPluginSid, String pathSid)
static PluginVersions
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a PluginVersions object using the provided ObjectMapper.static PluginVersions
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a PluginVersions object using the provided ObjectMapper.Boolean
get_private()
String
getAccountSid()
Boolean
getArchived()
String
getChangelog()
ZonedDateTime
getDateCreated()
String
getPluginSid()
URI
getPluginUrl()
String
getSid()
URI
getUrl()
Boolean
getValidated()
String
getVersion()
int
hashCode()
static PluginVersionsReader
reader(String pathPluginSid)
-
-
-
Method Detail
-
creator
public static PluginVersionsCreator creator(String pathPluginSid, String version, URI pluginUrl)
-
fetcher
public static PluginVersionsFetcher fetcher(String pathPluginSid, String pathSid)
-
reader
public static PluginVersionsReader reader(String pathPluginSid)
-
fromJson
public static PluginVersions fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a PluginVersions object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- PluginVersions object represented by the provided JSON
-
fromJson
public static PluginVersions fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a PluginVersions object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- PluginVersions object represented by the provided JSON
-
getSid
public final String getSid()
-
getPluginSid
public final String getPluginSid()
-
getAccountSid
public final String getAccountSid()
-
getVersion
public final String getVersion()
-
getPluginUrl
public final URI getPluginUrl()
-
getChangelog
public final String getChangelog()
-
get_private
public final Boolean get_private()
-
getArchived
public final Boolean getArchived()
-
getValidated
public final Boolean getValidated()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getUrl
public final URI getUrl()
-
-