Package ch.examzone.sebbb.model
Class Error
java.lang.Object
ch.examzone.sebbb.model.Error
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-10-25T12:34:17.476436974Z[Etc/UTC]",
comments="Generator version: 7.10.0")
public class Error
extends Object
Error
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ErrorCreate an instance of Error given an JSON string`detail` for general errors, field names for validation errors.inthashCode()putErrorsItem(String key, Object errorsItem) voidtoJson()Convert an instance of Error 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_ERRORS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
errors
-
putErrorsItem
-
getErrors
`detail` for general errors, field names for validation errors.- Returns:
- errors
-
setErrors
-
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 Error
-
fromJson
Create an instance of Error given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Error
- Throws:
IOException- if the JSON string is invalid with respect to Error
-
toJson
Convert an instance of Error to an JSON string- Returns:
- JSON string
-