java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.BlockchainQuery
public record BlockchainQuery(BlockchainAccountQuery account, Node.BlockchainBlock block, Node.BlockchainBlock block_by_seq_no, Node.BlockchainTransaction transaction, Node.BlockchainMessage message, BlockchainMasterSeqNoRange master_seq_no_range, BlockchainBlocksConnection key_blocks, BlockchainBlocksConnection blocks, BlockchainTransactionsConnection transactions)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBlockchainQuery(BlockchainAccountQuery account, Node.BlockchainBlock block, Node.BlockchainBlock block_by_seq_no, Node.BlockchainTransaction transaction, Node.BlockchainMessage message, BlockchainMasterSeqNoRange master_seq_no_range, BlockchainBlocksConnection key_blocks, BlockchainBlocksConnection blocks, BlockchainTransactionsConnection transactions) Creates an instance of aBlockchainQueryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccount()Returns the value of theaccountrecord component.static QueryExecutorBuilderblock()Returns the value of theblockrecord component.static QueryExecutorBuilderReturns the value of theblock_by_seq_norecord component.static QueryExecutorBuilderblock_by_seq_no(String objectFieldsTree, Integer workchain, String thread, Float seq_no) blocks()Returns the value of theblocksrecord component.static QueryExecutorBuilderblocks(String objectFieldsTree, Boolean allow_latest_inconsistent_data, BlockchainMasterSeqNoFilter master_seq_no_range, Integer workchain, String thread, Integer min_tr_count, Integer max_tr_count, Integer first, String after, Integer last, String before) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thekey_blocksrecord component.static QueryExecutorBuilderkey_blocks(String objectFieldsTree, Boolean allow_latest_inconsistent_data, BlockchainMasterSeqNoFilter master_seq_no_range, Integer first, String after, Integer last, String before) Returns the value of themaster_seq_no_rangerecord component.static QueryExecutorBuildermaster_seq_no_range(String objectFieldsTree, Integer time_start, Integer time_end) message()Returns the value of themessagerecord component.static QueryExecutorBuilderfinal StringtoString()Returns a string representation of this record class.Returns the value of thetransactionrecord component.static QueryExecutorBuildertransaction(String objectFieldsTree, String hash) Returns the value of thetransactionsrecord component.static QueryExecutorBuildertransactions(String objectFieldsTree, Boolean allow_latest_inconsistent_data, BlockchainMasterSeqNoFilter master_seq_no_range, Integer workchain, String min_balance_delta, String max_balance_delta, Integer first, String after, Integer last, String before)
-
Constructor Details
-
BlockchainQuery
public BlockchainQuery(BlockchainAccountQuery account, Node.BlockchainBlock block, Node.BlockchainBlock block_by_seq_no, Node.BlockchainTransaction transaction, Node.BlockchainMessage message, BlockchainMasterSeqNoRange master_seq_no_range, BlockchainBlocksConnection key_blocks, BlockchainBlocksConnection blocks, BlockchainTransactionsConnection transactions) Creates an instance of aBlockchainQueryrecord class.- Parameters:
account- the value for theaccountrecord componentblock- the value for theblockrecord componentblock_by_seq_no- the value for theblock_by_seq_norecord componenttransaction- the value for thetransactionrecord componentmessage- the value for themessagerecord componentmaster_seq_no_range- the value for themaster_seq_no_rangerecord componentkey_blocks- the value for thekey_blocksrecord componentblocks- the value for theblocksrecord componenttransactions- the value for thetransactionsrecord component
-
-
Method Details
-
account
-
block
-
block_by_seq_no
public static QueryExecutorBuilder block_by_seq_no(String objectFieldsTree, Integer workchain, String thread, Float seq_no) -
transaction
-
message
-
master_seq_no_range
public static QueryExecutorBuilder master_seq_no_range(String objectFieldsTree, Integer time_start, Integer time_end) -
key_blocks
public static QueryExecutorBuilder key_blocks(String objectFieldsTree, Boolean allow_latest_inconsistent_data, BlockchainMasterSeqNoFilter master_seq_no_range, Integer first, String after, Integer last, String before) -
blocks
-
transactions
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
account
Returns the value of theaccountrecord component.- Returns:
- the value of the
accountrecord component
-
block
Returns the value of theblockrecord component.- Returns:
- the value of the
blockrecord component
-
block_by_seq_no
Returns the value of theblock_by_seq_norecord component.- Returns:
- the value of the
block_by_seq_norecord component
-
transaction
Returns the value of thetransactionrecord component.- Returns:
- the value of the
transactionrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
master_seq_no_range
Returns the value of themaster_seq_no_rangerecord component.- Returns:
- the value of the
master_seq_no_rangerecord component
-
key_blocks
Returns the value of thekey_blocksrecord component.- Returns:
- the value of the
key_blocksrecord component
-
blocks
Returns the value of theblocksrecord component.- Returns:
- the value of the
blocksrecord component
-
transactions
Returns the value of thetransactionsrecord component.- Returns:
- the value of the
transactionsrecord component
-