Package cm.xd.genapi.ynab.model
Class MoneyMovementBase
java.lang.Object
cm.xd.genapi.ynab.model.MoneyMovementBase
@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 MoneyMovementBase
extends Object
MoneyMovementBase
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfromCategoryId(UUID fromCategoryId) static MoneyMovementBaseCreate an instance of MoneyMovementBase given an JSON stringThe amount of the money movement in milliunits formatThe id of the category the money was moved fromgetId()Get idThe id of the money movement group this movement belongs togetMonth()The month of the money movement in ISO format (e.g.The date/time the money movement was processed on the server in ISO format (e.g.getNote()Get noteThe id of the user who performed the money movementThe id of the category the money was moved tointhashCode()moneyMovementGroupId(UUID moneyMovementGroupId) movedAt(OffsetDateTime movedAt) performedByUserId(UUID performedByUserId) voidvoidsetFromCategoryId(UUID fromCategoryId) voidvoidsetMoneyMovementGroupId(UUID moneyMovementGroupId) voidvoidsetMovedAt(OffsetDateTime movedAt) voidvoidsetPerformedByUserId(UUID performedByUserId) voidsetToCategoryId(UUID toCategoryId) toCategoryId(UUID toCategoryId) toJson()Convert an instance of MoneyMovementBase 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_MONTH
- See Also:
-
SERIALIZED_NAME_MOVED_AT
- See Also:
-
SERIALIZED_NAME_NOTE
- See Also:
-
SERIALIZED_NAME_MONEY_MOVEMENT_GROUP_ID
- See Also:
-
SERIALIZED_NAME_PERFORMED_BY_USER_ID
- See Also:
-
SERIALIZED_NAME_FROM_CATEGORY_ID
- See Also:
-
SERIALIZED_NAME_TO_CATEGORY_ID
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MoneyMovementBase
public MoneyMovementBase()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
month
-
getMonth
The month of the money movement in ISO format (e.g. 2024-01-01)- Returns:
- month
-
setMonth
-
movedAt
-
getMovedAt
The date/time the money movement was processed on the server in ISO format (e.g. 2024-01-01T12:00:00Z)- Returns:
- movedAt
-
setMovedAt
-
note
-
getNote
Get note- Returns:
- note
-
setNote
-
moneyMovementGroupId
-
getMoneyMovementGroupId
The id of the money movement group this movement belongs to- Returns:
- moneyMovementGroupId
-
setMoneyMovementGroupId
-
performedByUserId
-
getPerformedByUserId
The id of the user who performed the money movement- Returns:
- performedByUserId
-
setPerformedByUserId
-
fromCategoryId
-
getFromCategoryId
The id of the category the money was moved from- Returns:
- fromCategoryId
-
setFromCategoryId
-
toCategoryId
-
getToCategoryId
The id of the category the money was moved to- Returns:
- toCategoryId
-
setToCategoryId
-
amount
-
getAmount
The amount of the money movement in milliunits format- Returns:
- amount
-
setAmount
-
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 MoneyMovementBase
-
fromJson
Create an instance of MoneyMovementBase given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MoneyMovementBase
- Throws:
IOException- if the JSON string is invalid with respect to MoneyMovementBase
-
toJson
Convert an instance of MoneyMovementBase to an JSON string- Returns:
- JSON string
-