Class CategoryGroup

java.lang.Object
cm.xd.genapi.ynab.model.CategoryGroup

@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 CategoryGroup extends Object
CategoryGroup
  • Field Details

  • Constructor Details

    • CategoryGroup

      public CategoryGroup()
  • Method Details

    • id

      public CategoryGroup id(@Nonnull UUID id)
    • getId

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

      public void setId(@Nonnull UUID id)
    • name

      public CategoryGroup name(@Nonnull String name)
    • getName

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

      public void setName(@Nonnull String name)
    • hidden

      public CategoryGroup 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 CategoryGroup 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)
    • 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 CategoryGroup
    • fromJson

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

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