Class MonthSummaryBase

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

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

  • Constructor Details

    • MonthSummaryBase

      public MonthSummaryBase()
  • Method Details

    • month

      public MonthSummaryBase month(@Nonnull LocalDate month)
    • getMonth

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

      public void setMonth(@Nonnull LocalDate month)
    • note

      public MonthSummaryBase note(@Nullable String note)
    • getNote

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

      public void setNote(@Nullable String note)
    • income

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

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

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