Package ch.examzone.sebbb.model
Class SessionCounts
java.lang.Object
ch.examzone.sebbb.model.SessionCounts
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-10-25T12:34:17.476436974Z[Etc/UTC]",
comments="Generator version: 7.10.0")
public class SessionCounts
extends Object
SessionCounts
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SessionCountsCreate an instance of SessionCounts given an JSON stringGet byTypeGet eventsGet screenshotsinthashCode()putByTypeItem(String key, Integer byTypeItem) screenshots(Integer screenshots) voidvoidvoidsetScreenshots(Integer screenshots) toJson()Convert an instance of SessionCounts 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_BY_TYPE
- See Also:
-
SERIALIZED_NAME_EVENTS
- See Also:
-
SERIALIZED_NAME_SCREENSHOTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SessionCounts
public SessionCounts()
-
-
Method Details
-
byType
-
putByTypeItem
-
getByType
Get byType- Returns:
- byType
-
setByType
-
events
-
getEvents
Get events- Returns:
- events
-
setEvents
-
screenshots
-
getScreenshots
Get screenshots- Returns:
- screenshots
-
setScreenshots
-
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 SessionCounts
-
fromJson
Create an instance of SessionCounts given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SessionCounts
- Throws:
IOException- if the JSON string is invalid with respect to SessionCounts
-
toJson
Convert an instance of SessionCounts to an JSON string- Returns:
- JSON string
-