Package ch.examzone.sebbb.model
Class AllowedUrl
java.lang.Object
ch.examzone.sebbb.model.AllowedUrl
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-10-25T12:34:17.476436974Z[Etc/UTC]",
comments="Generator version: 7.10.0")
public class AllowedUrl
extends Object
`domain` allows a whole domain incl. subdomains, `prefix` a URL and everything below it, `exact` one URL.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AllowedUrlCreate an instance of AllowedUrl given an JSON stringgetType()Get typegetValue()Get valueinthashCode()voidsetType(AllowedUrl.TypeEnum type) voidtoJson()Convert an instance of AllowedUrl to an JSON stringtoString()type(AllowedUrl.TypeEnum type) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_VALUE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AllowedUrl
public AllowedUrl()
-
-
Method Details
-
type
-
getType
Get type- Returns:
- type
-
setType
-
value
-
getValue
Get value- Returns:
- value
-
setValue
-
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 AllowedUrl
-
fromJson
Create an instance of AllowedUrl given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AllowedUrl
- Throws:
IOException- if the JSON string is invalid with respect to AllowedUrl
-
toJson
Convert an instance of AllowedUrl to an JSON string- Returns:
- JSON string
-