Package ch.examzone.sebbb.model
Class ScreenshotSettings
java.lang.Object
ch.examzone.sebbb.model.ScreenshotSettings
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-10-25T12:34:17.476436974Z[Etc/UTC]",
comments="Generator version: 7.10.0")
public class ScreenshotSettings
extends Object
ScreenshotSettings
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ScreenshotSettingsCreate an instance of ScreenshotSettings given an JSON stringCapture interval, default 60.Screenshots are downscaled to this width, default 1280.inthashCode()intervalSeconds(Integer intervalSeconds) voidsetIntervalSeconds(Integer intervalSeconds) voidsetMaxWidth(Integer maxWidth) toJson()Convert an instance of ScreenshotSettings 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_INTERVAL_SECONDS
- See Also:
-
SERIALIZED_NAME_MAX_WIDTH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ScreenshotSettings
public ScreenshotSettings()
-
-
Method Details
-
intervalSeconds
-
getIntervalSeconds
Capture interval, default 60. null disables periodic capture; screenshots on violations are always taken.- Returns:
- intervalSeconds
-
setIntervalSeconds
-
maxWidth
-
getMaxWidth
Screenshots are downscaled to this width, default 1280.- Returns:
- maxWidth
-
setMaxWidth
-
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 ScreenshotSettings
-
fromJson
Create an instance of ScreenshotSettings given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ScreenshotSettings
- Throws:
IOException- if the JSON string is invalid with respect to ScreenshotSettings
-
toJson
Convert an instance of ScreenshotSettings to an JSON string- Returns:
- JSON string
-