Class Event<C extends EventContent>

    • Field Detail

      • content

        private C extends EventContent content
        The fields in this object will vary depending on the type of event. When interacting with the REST API, this is the HTTP body.
    • Constructor Detail

      • Event

        public Event()
    • Method Detail

      • getContent

        public C getContent()
      • setContent

        public void setContent​(C content)
      • getType

        public abstract String getType()
        Required. The type of event. This SHOULD be namespaced similar to Java package naming conventions e.g. 'com.example.subdomain.event.type'.
        Returns:
        The type of the event.