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 boolean
equals(Object o)
static SchemaVersionFetcher
fetcher(String pathId, Integer pathSchemaVersion)
static SchemaVersion
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SchemaVersion object using the provided ObjectMapper.static SchemaVersion
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SchemaVersion object using the provided ObjectMapper.ZonedDateTime
getDateCreated()
String
getId()
URI
getRaw()
Integer
getSchemaVersion()
URI
getUrl()
int
hashCode()
static SchemaVersionReader
reader(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()
-
-