Package ch.examzone.sebbb.model
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
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(Event dataItem) booleanstatic EventPageCreate an instance of EventPage given an JSON stringgetData()Get datagetNext()Pass as `after` for the next page.inthashCode()voidvoidtoJson()Convert an instance of EventPage to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_NEXT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
EventPage
public EventPage()
-
-
Method Details
-
data
-
addDataItem
-
getData
Get data- Returns:
- data
-
setData
-
next
-
getNext
Pass as `after` for the next page.- Returns:
- next
-
setNext
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of EventPage to an JSON string- Returns:
- JSON string
-