Class EventType

    • Method Detail

      • 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 String
        objectMapper - 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 InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        EventType object represented by the provided JSON
      • getType

        public final String getType()
      • getSchemaId

        public final String getSchemaId()
      • getDescription

        public final String getDescription()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object