Package cm.xd.genapi.ynab.model
Class CategoryGroupWithCategories
java.lang.Object
cm.xd.genapi.ynab.model.CategoryGroupWithCategories
@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 CategoryGroupWithCategories
extends Object
CategoryGroupWithCategories
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCategoriesItem(Category categoriesItem) categories(List<Category> categories) booleanstatic CategoryGroupWithCategoriesCreate an instance of CategoryGroupWithCategories given an JSON stringCategory group categories.Whether or not the category group has been deleted.Whether or not the category group is hiddengetId()Get idgetName()Get nameinthashCode()voidsetCategories(List<Category> categories) voidsetDeleted(Boolean deleted) voidvoidvoidtoJson()Convert an instance of CategoryGroupWithCategories 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:
-
SERIALIZED_NAME_CATEGORIES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CategoryGroupWithCategories
public CategoryGroupWithCategories()
-
-
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
-
categories
-
addCategoriesItem
-
getCategories
Category group categories. Amounts (assigned, activity, available, etc.) are specific to the current plan month (UTC).- Returns:
- categories
-
setCategories
-
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 CategoryGroupWithCategories
-
fromJson
Create an instance of CategoryGroupWithCategories given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CategoryGroupWithCategories
- Throws:
IOException- if the JSON string is invalid with respect to CategoryGroupWithCategories
-
toJson
Convert an instance of CategoryGroupWithCategories to an JSON string- Returns:
- JSON string
-