Class EventPayload


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class EventPayload
    extends Object
    EventPayload
    • Constructor Detail

      • EventPayload

        public EventPayload()
    • Method Detail

      • getMessage

        @Nonnull
        public Object getMessage()
        Event-specific information
        Returns:
        message
      • setMessage

        public void setMessage​(Object message)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to EventPayload
      • fromJson

        public static EventPayload fromJson​(String jsonString)
                                     throws IOException
        Create an instance of EventPayload given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of EventPayload
        Throws:
        IOException - if the JSON string is invalid with respect to EventPayload
      • toJson

        public String toJson()
        Convert an instance of EventPayload to an JSON string
        Returns:
        JSON string