Package cm.xd.genapi.ynab.model
Class PlanSummary
java.lang.Object
cm.xd.genapi.ynab.model.PlanSummary
@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 PlanSummary
extends Object
PlanSummary
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAccountsItem(Account accountsItem) currencyFormat(CurrencyFormat currencyFormat) dateFormat(DateFormat dateFormat) booleanfirstMonth(LocalDate firstMonth) static PlanSummaryCreate an instance of PlanSummary given an JSON stringThe plan accounts (only included if `include_accounts=true` specified as query parameter)Get currencyFormatGet dateFormatThe earliest plan monthgetId()Get idThe last time any changes were made to the plan from either a web or mobile clientThe latest plan monthgetName()Get nameinthashCode()lastModifiedOn(OffsetDateTime lastModifiedOn) voidsetAccounts(List<Account> accounts) voidsetCurrencyFormat(CurrencyFormat currencyFormat) voidsetDateFormat(DateFormat dateFormat) voidsetFirstMonth(LocalDate firstMonth) voidvoidsetLastModifiedOn(OffsetDateTime lastModifiedOn) voidsetLastMonth(LocalDate lastMonth) voidtoJson()Convert an instance of PlanSummary 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_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_LAST_MODIFIED_ON
- See Also:
-
SERIALIZED_NAME_FIRST_MONTH
- See Also:
-
SERIALIZED_NAME_LAST_MONTH
- See Also:
-
SERIALIZED_NAME_DATE_FORMAT
- See Also:
-
SERIALIZED_NAME_CURRENCY_FORMAT
- See Also:
-
SERIALIZED_NAME_ACCOUNTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PlanSummary
public PlanSummary()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
lastModifiedOn
-
getLastModifiedOn
The last time any changes were made to the plan from either a web or mobile client- Returns:
- lastModifiedOn
-
setLastModifiedOn
-
firstMonth
-
getFirstMonth
The earliest plan month- Returns:
- firstMonth
-
setFirstMonth
-
lastMonth
-
getLastMonth
The latest plan month- Returns:
- lastMonth
-
setLastMonth
-
dateFormat
-
getDateFormat
Get dateFormat- Returns:
- dateFormat
-
setDateFormat
-
currencyFormat
-
getCurrencyFormat
Get currencyFormat- Returns:
- currencyFormat
-
setCurrencyFormat
-
accounts
-
addAccountsItem
-
getAccounts
The plan accounts (only included if `include_accounts=true` specified as query parameter)- Returns:
- accounts
-
setAccounts
-
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 PlanSummary
-
fromJson
Create an instance of PlanSummary given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PlanSummary
- Throws:
IOException- if the JSON string is invalid with respect to PlanSummary
-
toJson
Convert an instance of PlanSummary to an JSON string- Returns:
- JSON string
-