Package cm.xd.genapi.ynab.model
Class ErrorDetail
java.lang.Object
cm.xd.genapi.ynab.model.ErrorDetail
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-04-13T16:11:17.024752+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class ErrorDetail
extends Object
ErrorDetail
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ErrorDetailCreate an instance of ErrorDetail given an JSON stringGet detailgetId()Get idgetName()Get nameinthashCode()voidvoidvoidtoJson()Convert an instance of ErrorDetail 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_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DETAIL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ErrorDetail
public ErrorDetail()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
detail
-
getDetail
Get detail- Returns:
- detail
-
setDetail
-
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 ErrorDetail
-
fromJson
Create an instance of ErrorDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ErrorDetail
- Throws:
IOException- if the JSON string is invalid with respect to ErrorDetail
-
toJson
Convert an instance of ErrorDetail to an JSON string- Returns:
- JSON string
-