Class EventPage

java.lang.Object
ch.examzone.sebbb.model.EventPage

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-10-25T12:34:17.476436974Z[Etc/UTC]", comments="Generator version: 7.10.0") public class EventPage extends Object
EventPage
  • Field Details

  • Constructor Details

    • EventPage

      public EventPage()
  • Method Details

    • data

      public EventPage data(@Nullable List<Event> data)
    • addDataItem

      public EventPage addDataItem(Event dataItem)
    • getData

      @Nullable public List<Event> getData()
      Get data
      Returns:
      data
    • setData

      public void setData(@Nullable List<Event> data)
    • next

      public EventPage next(@Nullable Integer next)
    • getNext

      @Nullable public Integer getNext()
      Pass as `after` for the next page.
      Returns:
      next
    • setNext

      public void setNext(@Nullable Integer next)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString 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 EventPage
    • fromJson

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

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