Package build.cursed.genapi.ynab.model
Class CategoryGroupWithCategories
java.lang.Object
build.cursed.genapi.ynab.model.CategoryGroupWithCategories
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-08-03T05:02:43.013937+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 idWhether or not the category group is internalgetName()Get nameinthashCode()voidsetCategories(List<Category> categories) voidsetDeleted(Boolean deleted) voidvoidvoidsetInternal(Boolean internal) voidtoJson()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_INTERNAL
- 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
-
internal
-
getInternal
Whether or not the category group is internal- Returns:
- internal
-
setInternal
-
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
-