Package cm.xd.genapi.ynab.model
Class ErrorResponse
java.lang.Object
cm.xd.genapi.ynab.model.ErrorResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-04-26T18:05:30.720340+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class ErrorResponse
extends Object
ErrorResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanerror(ErrorDetail error) static ErrorResponseCreate an instance of ErrorResponse given an JSON stringgetError()Get errorinthashCode()voidsetError(ErrorDetail error) toJson()Convert an instance of ErrorResponse 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_ERROR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ErrorResponse
public ErrorResponse()
-
-
Method Details
-
error
-
getError
Get error- Returns:
- error
-
setError
-
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 ErrorResponse
-
fromJson
Create an instance of ErrorResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ErrorResponse
- Throws:
IOException- if the JSON string is invalid with respect to ErrorResponse
-
toJson
Convert an instance of ErrorResponse to an JSON string- Returns:
- JSON string
-