Package cm.xd.genapi.ynab.model
Class CategoryGroup
java.lang.Object
cm.xd.genapi.ynab.model.CategoryGroup
@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 CategoryGroup
extends Object
CategoryGroup
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CategoryGroupCreate an instance of CategoryGroup given an JSON stringWhether or not the category group has been deleted.Whether or not the category group is hiddengetId()Get idgetName()Get nameinthashCode()voidsetDeleted(Boolean deleted) voidvoidvoidtoJson()Convert an instance of CategoryGroup 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_HIDDEN
- See Also:
-
SERIALIZED_NAME_DELETED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CategoryGroup
public CategoryGroup()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
getHidden
Whether or not the category group is hidden- Returns:
- hidden
-
setHidden
-
deleted
-
getDeleted
Whether or not the category group has been deleted. Deleted category groups will only be included in delta requests.- Returns:
- deleted
-
setDeleted
-
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 CategoryGroup
-
fromJson
Create an instance of CategoryGroup given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CategoryGroup
- Throws:
IOException- if the JSON string is invalid with respect to CategoryGroup
-
toJson
Convert an instance of CategoryGroup to an JSON string- Returns:
- JSON string
-