Package com.twilio.rest.events.v1
Class Schema
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.events.v1.Schema
-
- All Implemented Interfaces:
Serializable
public class Schema 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 SchemaFetcherfetcher(String pathId)static SchemafromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Schema object using the provided ObjectMapper.static SchemafromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Schema object using the provided ObjectMapper.StringgetId()IntegergetLatestVersion()ZonedDateTimegetLatestVersionDateCreated()Map<String,String>getLinks()URIgetUrl()inthashCode()
-
-
-
Method Detail
-
fetcher
public static SchemaFetcher fetcher(String pathId)
-
fromJson
public static Schema fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Schema object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Schema object represented by the provided JSON
-
fromJson
public static Schema fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Schema object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Schema object represented by the provided JSON
-
getId
public final String getId()
-
getUrl
public final URI getUrl()
-
getLatestVersionDateCreated
public final ZonedDateTime getLatestVersionDateCreated()
-
getLatestVersion
public final Integer getLatestVersion()
-
-