Package cm.xd.genapi.ynab.model
Class TransactionResponseData
java.lang.Object
cm.xd.genapi.ynab.model.TransactionResponseData
@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 TransactionResponseData
extends Object
TransactionResponseData
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TransactionResponseDataCreate an instance of TransactionResponseData given an JSON stringThe knowledge of the serverGet transactioninthashCode()serverKnowledge(Long serverKnowledge) voidsetServerKnowledge(Long serverKnowledge) voidsetTransaction(TransactionDetail transaction) toJson()Convert an instance of TransactionResponseData to an JSON stringtoString()transaction(TransactionDetail transaction) 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_SERVER_KNOWLEDGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TransactionResponseData
public TransactionResponseData()
-
-
Method Details
-
transaction
-
getTransaction
Get transaction- Returns:
- transaction
-
setTransaction
-
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 TransactionResponseData
-
fromJson
Create an instance of TransactionResponseData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransactionResponseData
- Throws:
IOException- if the JSON string is invalid with respect to TransactionResponseData
-
toJson
Convert an instance of TransactionResponseData to an JSON string- Returns:
- JSON string
-