Class Event

    • Method Detail

      • fromJson

        public static Event fromJson​(String json,
                                     com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a Event object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        Event object represented by the provided JSON
      • fromJson

        public static Event fromJson​(InputStream json,
                                     com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a Event object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        Event object represented by the provided JSON
      • getAccountSid

        public final String getAccountSid()
      • getActorSid

        public final String getActorSid()
      • getActorType

        public final String getActorType()
      • getActorUrl

        public final URI getActorUrl()
      • getDescription

        public final String getDescription()
      • getEventDateMs

        public final Long getEventDateMs()
      • getEventType

        public final String getEventType()
      • getResourceSid

        public final String getResourceSid()
      • getResourceType

        public final String getResourceType()
      • getResourceUrl

        public final URI getResourceUrl()
      • getSid

        public final String getSid()
      • getSource

        public final String getSource()
      • getSourceIpAddress

        public final String getSourceIpAddress()
      • getUrl

        public final URI getUrl()
      • getWorkspaceSid

        public final String getWorkspaceSid()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object