Package com.twilio.rest.events.v1.schema
Class SchemaVersion
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.events.v1.schema.SchemaVersion
-
- All Implemented Interfaces:
Serializable
public class SchemaVersion extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static SchemaVersionFetcherfetcher(String pathId, Integer pathSchemaVersion)static SchemaVersionfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a SchemaVersion object using the provided ObjectMapper.static SchemaVersionfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a SchemaVersion object using the provided ObjectMapper.ZonedDateTimegetDateCreated()StringgetId()URIgetRaw()IntegergetSchemaVersion()URIgetUrl()inthashCode()static SchemaVersionReaderreader(String pathId)
-
-
-
Method Detail
-
fetcher
public static SchemaVersionFetcher fetcher(String pathId, Integer pathSchemaVersion)
-
reader
public static SchemaVersionReader reader(String pathId)
-
fromJson
public static SchemaVersion fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SchemaVersion object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- SchemaVersion object represented by the provided JSON
-
fromJson
public static SchemaVersion fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SchemaVersion object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- SchemaVersion object represented by the provided JSON
-
getId
public final String getId()
-
getSchemaVersion
public final Integer getSchemaVersion()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getUrl
public final URI getUrl()
-
getRaw
public final URI getRaw()
-
-