Class MonthDetailBase

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

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

  • Constructor Details

    • MonthDetailBase

      public MonthDetailBase()
  • Method Details

    • month

      public MonthDetailBase month(@Nonnull LocalDate month)
    • getMonth

      @Nonnull public LocalDate getMonth()
      Get month
      Returns:
      month
    • setMonth

      public void setMonth(@Nonnull LocalDate month)
    • note

      public MonthDetailBase note(@Nullable String note)
    • getNote

      @Nullable public String getNote()
      Get note
      Returns:
      note
    • setNote

      public void setNote(@Nullable String note)
    • income

      public MonthDetailBase income(@Nonnull Long income)
    • getIncome

      @Nonnull public Long getIncome()
      The total amount of transactions categorized to 'Inflow: Ready to Assign' in the month
      Returns:
      income
    • setIncome

      public void setIncome(@Nonnull Long income)
    • budgeted

      public MonthDetailBase budgeted(@Nonnull Long budgeted)
    • getBudgeted

      @Nonnull public Long getBudgeted()
      The total amount assigned (budgeted) in the month
      Returns:
      budgeted
    • setBudgeted

      public void setBudgeted(@Nonnull Long budgeted)
    • activity

      public MonthDetailBase activity(@Nonnull Long activity)
    • getActivity

      @Nonnull public Long getActivity()
      The total amount of transactions in the month, excluding those categorized to 'Inflow: Ready to Assign'
      Returns:
      activity
    • setActivity

      public void setActivity(@Nonnull Long activity)
    • toBeBudgeted

      public MonthDetailBase toBeBudgeted(@Nonnull Long toBeBudgeted)
    • getToBeBudgeted

      @Nonnull public Long getToBeBudgeted()
      The available amount for 'Ready to Assign'
      Returns:
      toBeBudgeted
    • setToBeBudgeted

      public void setToBeBudgeted(@Nonnull Long toBeBudgeted)
    • ageOfMoney

      public MonthDetailBase ageOfMoney(@Nullable Integer ageOfMoney)
    • getAgeOfMoney

      @Nullable public Integer getAgeOfMoney()
      The Age of Money as of the month
      Returns:
      ageOfMoney
    • setAgeOfMoney

      public void setAgeOfMoney(@Nullable Integer ageOfMoney)
    • deleted

      public MonthDetailBase deleted(@Nonnull Boolean deleted)
    • getDeleted

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

      public void setDeleted(@Nonnull Boolean deleted)
    • categories

      public MonthDetailBase categories(@Nonnull List<CategoryBase> categories)
    • addCategoriesItem

      public MonthDetailBase addCategoriesItem(CategoryBase categoriesItem)
    • getCategories

      @Nonnull public List<CategoryBase> getCategories()
      The plan month categories. Amounts (budgeted, activity, balance, etc.) are specific to the {month} parameter specified.
      Returns:
      categories
    • setCategories

      public void setCategories(@Nonnull List<CategoryBase> 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 MonthDetailBase
    • fromJson

      public static MonthDetailBase fromJson(String jsonString) throws IOException
      Create an instance of MonthDetailBase given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of MonthDetailBase
      Throws:
      IOException - if the JSON string is invalid with respect to MonthDetailBase
    • toJson

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