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
  • Field Details

  • Constructor Details

    • ScreenshotSettings

      public ScreenshotSettings()
  • Method Details

    • intervalSeconds

      public ScreenshotSettings intervalSeconds(@Nullable Integer intervalSeconds)
    • getIntervalSeconds

      @Nullable public Integer getIntervalSeconds()
      Capture interval, default 60. null disables periodic capture; screenshots on violations are always taken.
      Returns:
      intervalSeconds
    • setIntervalSeconds

      public void setIntervalSeconds(@Nullable Integer intervalSeconds)
    • maxWidth

      public ScreenshotSettings maxWidth(@Nullable Integer maxWidth)
    • getMaxWidth

      @Nullable public Integer getMaxWidth()
      Screenshots are downscaled to this width, default 1280.
      Returns:
      maxWidth
    • setMaxWidth

      public void setMaxWidth(@Nullable Integer maxWidth)
    • 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 ScreenshotSettings
    • fromJson

      public static ScreenshotSettings fromJson(String jsonString) throws IOException
      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

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