Class EventReturn


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2024-03-29T12:34:27.506198300-05:00[America/Chicago]",
               comments="Generator version: 7.4.0")
    public class EventReturn
    extends Object
    EventReturn
    • Constructor Detail

      • EventReturn

        public EventReturn()
    • Method Detail

      • getEvents

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid List<@Valid Event> getEvents()
        Get events
        Returns:
        events
      • setEvents

        public void setEvents​(List<@Valid Event> events)
      • getPageCount

        @Nonnull
        @NotNull
        public @NotNull Integer getPageCount()
        Get pageCount
        Returns:
        pageCount
      • setPageCount

        public void setPageCount​(Integer pageCount)
      • 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 EventReturn
      • fromJson

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

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