Package com.tuladb
Record Class Models.TxnSearch
java.lang.Object
java.lang.Record
com.tuladb.Models.TxnSearch
- Enclosing class:
Models
public static record Models.TxnSearch(long afterSeq, int afterIndex, long minTimestamp, long maxTimestamp, int limit, Integer ledgerId, Integer currency, Long sourceId, Integer resultCode, Long accountHi, Long accountLo, Integer phase, Integer flagsMask, Integer flagsValue, String txnId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTxnSearch(long afterSeq, int afterIndex, long minTimestamp, long maxTimestamp, int limit, Integer ledgerId, Integer currency, Long sourceId, Integer resultCode, Long accountHi, Long accountLo, Integer phase, Integer flagsMask, Integer flagsValue, String txnId) Creates an instance of aTxnSearchrecord class.TxnSearch(long afterSeq, long minTimestamp, long maxTimestamp, int limit, Integer ledgerId, Integer currency, Long sourceId, Integer resultCode, Long accountHi, Long accountLo, Integer phase, Integer flagsMask, Integer flagsValue, String txnId) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountHirecord component.Returns the value of theaccountLorecord component.intReturns the value of theafterIndexrecord component.longafterSeq()Returns the value of theafterSeqrecord component.currency()Returns the value of thecurrencyrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theflagsMaskrecord component.Returns the value of theflagsValuerecord component.final inthashCode()Returns a hash code value for this object.ledgerId()Returns the value of theledgerIdrecord component.intlimit()Returns the value of thelimitrecord component.longReturns the value of themaxTimestamprecord component.longReturns the value of theminTimestamprecord component.phase()Returns the value of thephaserecord component.Returns the value of theresultCoderecord component.sourceId()Returns the value of thesourceIdrecord component.final StringtoString()Returns a string representation of this record class.txnId()Returns the value of thetxnIdrecord component.
-
Constructor Details
-
TxnSearch
-
TxnSearch
public TxnSearch(long afterSeq, int afterIndex, long minTimestamp, long maxTimestamp, int limit, Integer ledgerId, Integer currency, Long sourceId, Integer resultCode, Long accountHi, Long accountLo, Integer phase, Integer flagsMask, Integer flagsValue, String txnId) Creates an instance of aTxnSearchrecord class.- Parameters:
afterSeq- the value for theafterSeqrecord componentafterIndex- the value for theafterIndexrecord componentminTimestamp- the value for theminTimestamprecord componentmaxTimestamp- the value for themaxTimestamprecord componentlimit- the value for thelimitrecord componentledgerId- the value for theledgerIdrecord componentcurrency- the value for thecurrencyrecord componentsourceId- the value for thesourceIdrecord componentresultCode- the value for theresultCoderecord componentaccountHi- the value for theaccountHirecord componentaccountLo- the value for theaccountLorecord componentphase- the value for thephaserecord componentflagsMask- the value for theflagsMaskrecord componentflagsValue- the value for theflagsValuerecord componenttxnId- the value for thetxnIdrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
afterSeq
public long afterSeq()Returns the value of theafterSeqrecord component.- Returns:
- the value of the
afterSeqrecord component
-
afterIndex
public int afterIndex()Returns the value of theafterIndexrecord component.- Returns:
- the value of the
afterIndexrecord component
-
minTimestamp
public long minTimestamp()Returns the value of theminTimestamprecord component.- Returns:
- the value of the
minTimestamprecord component
-
maxTimestamp
public long maxTimestamp()Returns the value of themaxTimestamprecord component.- Returns:
- the value of the
maxTimestamprecord component
-
limit
public int limit()Returns the value of thelimitrecord component.- Returns:
- the value of the
limitrecord component
-
ledgerId
Returns the value of theledgerIdrecord component.- Returns:
- the value of the
ledgerIdrecord component
-
currency
Returns the value of thecurrencyrecord component.- Returns:
- the value of the
currencyrecord component
-
sourceId
Returns the value of thesourceIdrecord component.- Returns:
- the value of the
sourceIdrecord component
-
resultCode
Returns the value of theresultCoderecord component.- Returns:
- the value of the
resultCoderecord component
-
accountHi
Returns the value of theaccountHirecord component.- Returns:
- the value of the
accountHirecord component
-
accountLo
Returns the value of theaccountLorecord component.- Returns:
- the value of the
accountLorecord component
-
phase
Returns the value of thephaserecord component.- Returns:
- the value of the
phaserecord component
-
flagsMask
Returns the value of theflagsMaskrecord component.- Returns:
- the value of the
flagsMaskrecord component
-
flagsValue
Returns the value of theflagsValuerecord component.- Returns:
- the value of the
flagsValuerecord component
-
txnId
Returns the value of thetxnIdrecord component.- Returns:
- the value of the
txnIdrecord component
-