Class SessionList

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

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

  • Constructor Details

    • SessionList

      public SessionList()
  • Method Details

    • data

      public SessionList data(@Nullable List<Session> data)
    • addDataItem

      public SessionList addDataItem(Session dataItem)
    • getData

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

      public void setData(@Nullable List<Session> data)
    • 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 SessionList
    • fromJson

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

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