Package cm.xd.genapi.ynab.model
Class MonthDetailBase
java.lang.Object
cm.xd.genapi.ynab.model.MonthDetailBase
@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 MonthDetailBase
extends Object
MonthDetailBase
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCategoriesItem(CategoryBase categoriesItem) ageOfMoney(Integer ageOfMoney) categories(List<CategoryBase> categories) booleanstatic MonthDetailBaseCreate an instance of MonthDetailBase given an JSON stringThe total amount of transactions in the month, excluding those categorized to 'Inflow: Ready to Assign'The Age of Money as of the monthThe total amount assigned (budgeted) in the monthThe plan month categories.Whether or not the month has been deleted.The total amount of transactions categorized to 'Inflow: Ready to Assign' in the monthgetMonth()Get monthgetNote()Get noteThe available amount for 'Ready to Assign'inthashCode()voidsetActivity(Long activity) voidsetAgeOfMoney(Integer ageOfMoney) voidsetBudgeted(Long budgeted) voidsetCategories(List<CategoryBase> categories) voidsetDeleted(Boolean deleted) voidvoidvoidvoidsetToBeBudgeted(Long toBeBudgeted) toBeBudgeted(Long toBeBudgeted) toJson()Convert an instance of MonthDetailBase 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_MONTH
- See Also:
-
SERIALIZED_NAME_NOTE
- See Also:
-
SERIALIZED_NAME_INCOME
- See Also:
-
SERIALIZED_NAME_BUDGETED
- See Also:
-
SERIALIZED_NAME_ACTIVITY
- See Also:
-
SERIALIZED_NAME_TO_BE_BUDGETED
- See Also:
-
SERIALIZED_NAME_AGE_OF_MONEY
- See Also:
-
SERIALIZED_NAME_DELETED
- See Also:
-
SERIALIZED_NAME_CATEGORIES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MonthDetailBase
public MonthDetailBase()
-
-
Method Details
-
month
-
getMonth
Get month- Returns:
- month
-
setMonth
-
note
-
getNote
Get note- Returns:
- note
-
setNote
-
income
-
getIncome
The total amount of transactions categorized to 'Inflow: Ready to Assign' in the month- Returns:
- income
-
setIncome
-
budgeted
-
getBudgeted
The total amount assigned (budgeted) in the month- Returns:
- budgeted
-
setBudgeted
-
activity
-
getActivity
The total amount of transactions in the month, excluding those categorized to 'Inflow: Ready to Assign'- Returns:
- activity
-
setActivity
-
toBeBudgeted
-
getToBeBudgeted
The available amount for 'Ready to Assign'- Returns:
- toBeBudgeted
-
setToBeBudgeted
-
ageOfMoney
-
getAgeOfMoney
The Age of Money as of the month- Returns:
- ageOfMoney
-
setAgeOfMoney
-
deleted
-
getDeleted
Whether or not the month has been deleted. Deleted months will only be included in delta requests.- Returns:
- deleted
-
setDeleted
-
categories
-
addCategoriesItem
-
getCategories
The plan month categories. Amounts (budgeted, activity, balance, etc.) are specific to the {month} parameter specified.- 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 MonthDetailBase
-
fromJson
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
Convert an instance of MonthDetailBase to an JSON string- Returns:
- JSON string
-