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
  • Field Details

  • Constructor Details

    • CategoryGroupWithCategories

      public CategoryGroupWithCategories()
  • Method Details

    • id

      public CategoryGroupWithCategories id(@Nonnull UUID id)
    • getId

      @Nonnull public UUID getId()
      Get id
      Returns:
      id
    • setId

      public void setId(@Nonnull UUID id)
    • name

      public CategoryGroupWithCategories name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • hidden

      public CategoryGroupWithCategories hidden(@Nonnull Boolean hidden)
    • getHidden

      @Nonnull public Boolean getHidden()
      Whether or not the category group is hidden
      Returns:
      hidden
    • setHidden

      public void setHidden(@Nonnull Boolean hidden)
    • deleted

      public CategoryGroupWithCategories deleted(@Nonnull Boolean deleted)
    • getDeleted

      @Nonnull public Boolean getDeleted()
      Whether or not the category group has been deleted. Deleted category groups will only be included in delta requests.
      Returns:
      deleted
    • setDeleted

      public void setDeleted(@Nonnull Boolean deleted)
    • categories

      public CategoryGroupWithCategories categories(@Nonnull List<Category> categories)
    • addCategoriesItem

      public CategoryGroupWithCategories addCategoriesItem(Category categoriesItem)
    • getCategories

      @Nonnull public List<Category> getCategories()
      Category group categories. Amounts (assigned, activity, available, etc.) are specific to the current plan month (UTC).
      Returns:
      categories
    • setCategories

      public void setCategories(@Nonnull List<Category> categories)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static CategoryGroupWithCategories fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of CategoryGroupWithCategories to an JSON string
      Returns:
      JSON string