Package com.twilio.rest.events.v1
Class EventType
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.events.v1.EventType
-
- All Implemented Interfaces:
Serializable
public class EventType 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 EventTypeFetcherfetcher(String pathType)static EventTypefromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a EventType object using the provided ObjectMapper.static EventTypefromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a EventType object using the provided ObjectMapper.ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetDescription()Map<String,String>getLinks()StringgetSchemaId()StringgetType()URIgetUrl()inthashCode()static EventTypeReaderreader()
-
-
-
Method Detail
-
fetcher
public static EventTypeFetcher fetcher(String pathType)
-
reader
public static EventTypeReader reader()
-
fromJson
public static EventType fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a EventType object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- EventType object represented by the provided JSON
-
fromJson
public static EventType fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a EventType object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- EventType object represented by the provided JSON
-
getType
public final String getType()
-
getSchemaId
public final String getSchemaId()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getDescription
public final String getDescription()
-
getUrl
public final URI getUrl()
-
-