Package cm.xd.genapi.ynab.model
Class PostTransactionsWrapper
java.lang.Object
cm.xd.genapi.ynab.model.PostTransactionsWrapper
@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 PostTransactionsWrapper
extends Object
PostTransactionsWrapper
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTransactionsItem(NewTransaction transactionsItem) booleanstatic PostTransactionsWrapperCreate an instance of PostTransactionsWrapper given an JSON stringGet transactionGet transactionsinthashCode()voidsetTransaction(NewTransaction transaction) voidsetTransactions(List<NewTransaction> transactions) toJson()Convert an instance of PostTransactionsWrapper to an JSON stringtoString()transaction(NewTransaction transaction) transactions(List<NewTransaction> transactions) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TRANSACTION
- See Also:
-
SERIALIZED_NAME_TRANSACTIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PostTransactionsWrapper
public PostTransactionsWrapper()
-
-
Method Details
-
transaction
-
getTransaction
Get transaction- Returns:
- transaction
-
setTransaction
-
transactions
-
addTransactionsItem
-
getTransactions
Get transactions- Returns:
- transactions
-
setTransactions
-
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 PostTransactionsWrapper
-
fromJson
Create an instance of PostTransactionsWrapper given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PostTransactionsWrapper
- Throws:
IOException- if the JSON string is invalid with respect to PostTransactionsWrapper
-
toJson
Convert an instance of PostTransactionsWrapper to an JSON string- Returns:
- JSON string
-