Package cm.xd.genapi.ynab.model
Class SaveTransactionsResponseData
java.lang.Object
cm.xd.genapi.ynab.model.SaveTransactionsResponseData
@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 SaveTransactionsResponseData
extends Object
SaveTransactionsResponseData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDuplicateImportIdsItem(String duplicateImportIdsItem) addTransactionIdsItem(String transactionIdsItem) addTransactionsItem(TransactionDetail transactionsItem) duplicateImportIds(List<String> duplicateImportIds) booleanstatic SaveTransactionsResponseDataCreate an instance of SaveTransactionsResponseData given an JSON stringIf multiple transactions were specified, a list of import_ids that were not created because of an existing `import_id` found on the same accountThe knowledge of the serverGet transactionThe transaction ids that were savedIf multiple transactions were specified, the transactions that were savedinthashCode()serverKnowledge(Long serverKnowledge) voidsetDuplicateImportIds(List<String> duplicateImportIds) voidsetServerKnowledge(Long serverKnowledge) voidsetTransaction(TransactionDetail transaction) voidsetTransactionIds(List<String> transactionIds) voidsetTransactions(List<TransactionDetail> transactions) toJson()Convert an instance of SaveTransactionsResponseData to an JSON stringtoString()transaction(TransactionDetail transaction) transactionIds(List<String> transactionIds) transactions(List<TransactionDetail> transactions) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TRANSACTION_IDS
- See Also:
-
SERIALIZED_NAME_TRANSACTION
- See Also:
-
SERIALIZED_NAME_TRANSACTIONS
- See Also:
-
SERIALIZED_NAME_DUPLICATE_IMPORT_IDS
- See Also:
-
SERIALIZED_NAME_SERVER_KNOWLEDGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SaveTransactionsResponseData
public SaveTransactionsResponseData()
-
-
Method Details
-
transactionIds
-
addTransactionIdsItem
-
getTransactionIds
The transaction ids that were saved- Returns:
- transactionIds
-
setTransactionIds
-
transaction
-
getTransaction
Get transaction- Returns:
- transaction
-
setTransaction
-
transactions
-
addTransactionsItem
-
getTransactions
If multiple transactions were specified, the transactions that were saved- Returns:
- transactions
-
setTransactions
-
duplicateImportIds
-
addDuplicateImportIdsItem
-
getDuplicateImportIds
If multiple transactions were specified, a list of import_ids that were not created because of an existing `import_id` found on the same account- Returns:
- duplicateImportIds
-
setDuplicateImportIds
-
serverKnowledge
-
getServerKnowledge
The knowledge of the server- Returns:
- serverKnowledge
-
setServerKnowledge
-
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 SaveTransactionsResponseData
-
fromJson
Create an instance of SaveTransactionsResponseData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SaveTransactionsResponseData
- Throws:
IOException- if the JSON string is invalid with respect to SaveTransactionsResponseData
-
toJson
Convert an instance of SaveTransactionsResponseData to an JSON string- Returns:
- JSON string
-