java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.BlockSignatures
public record BlockSignatures(String id, Block block, Float catchain_seqno, Float gen_utime, String gen_utime_string, String proof, Float seq_no, String shard, String sig_weight, List<BlockSignaturesSignatures> signatures, Float validator_list_hash_short, Integer workchain_id)
extends Record
Set of validator's signatures for the Block with correspond id;
-
Constructor Summary
ConstructorsConstructorDescriptionBlockSignatures
(String id, Block block, Float catchain_seqno, Float gen_utime, String gen_utime_string, String proof, Float seq_no, String shard, String sig_weight, List<BlockSignaturesSignatures> signatures, Float validator_list_hash_short, Integer workchain_id) Creates an instance of aBlockSignatures
record class. -
Method Summary
Modifier and TypeMethodDescriptionblock()
Returns the value of theblock
record component.static QueryExecutorBuilder
block
(String objectFieldsTree, Integer timeout, BlockSignaturesFilter when) Returns the value of thecatchain_seqno
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thegen_utime
record component.Returns the value of thegen_utime_string
record component.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.proof()
Returns the value of theproof
record component.seq_no()
Returns the value of theseq_no
record component.shard()
Returns the value of theshard
record component.Returns the value of thesig_weight
record component.static QueryExecutorBuilder
sig_weight
(String objectFieldsTree, BigIntFormat format) Returns the value of thesignatures
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thevalidator_list_hash_short
record component.Returns the value of theworkchain_id
record component.
-
Constructor Details
-
BlockSignatures
public BlockSignatures(String id, Block block, Float catchain_seqno, Float gen_utime, String gen_utime_string, String proof, Float seq_no, String shard, String sig_weight, List<BlockSignaturesSignatures> signatures, Float validator_list_hash_short, Integer workchain_id) Creates an instance of aBlockSignatures
record class.- Parameters:
id
- the value for theid
record componentblock
- the value for theblock
record componentcatchain_seqno
- the value for thecatchain_seqno
record componentgen_utime
- the value for thegen_utime
record componentgen_utime_string
- the value for thegen_utime_string
record componentproof
- the value for theproof
record componentseq_no
- the value for theseq_no
record componentshard
- the value for theshard
record componentsig_weight
- the value for thesig_weight
record componentsignatures
- the value for thesignatures
record componentvalidator_list_hash_short
- the value for thevalidator_list_hash_short
record componentworkchain_id
- the value for theworkchain_id
record component
-
-
Method Details
-
block
public static QueryExecutorBuilder block(String objectFieldsTree, Integer timeout, BlockSignaturesFilter when) -
sig_weight
-
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)
. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
block
Returns the value of theblock
record component.- Returns:
- the value of the
block
record component
-
catchain_seqno
Returns the value of thecatchain_seqno
record component.- Returns:
- the value of the
catchain_seqno
record component
-
gen_utime
Returns the value of thegen_utime
record component.- Returns:
- the value of the
gen_utime
record component
-
gen_utime_string
Returns the value of thegen_utime_string
record component.- Returns:
- the value of the
gen_utime_string
record component
-
proof
Returns the value of theproof
record component.- Returns:
- the value of the
proof
record component
-
seq_no
Returns the value of theseq_no
record component.- Returns:
- the value of the
seq_no
record component
-
shard
Returns the value of theshard
record component.- Returns:
- the value of the
shard
record component
-
sig_weight
Returns the value of thesig_weight
record component.- Returns:
- the value of the
sig_weight
record component
-
signatures
Returns the value of thesignatures
record component.- Returns:
- the value of the
signatures
record component
-
validator_list_hash_short
Returns the value of thevalidator_list_hash_short
record component.- Returns:
- the value of the
validator_list_hash_short
record component
-
workchain_id
Returns the value of theworkchain_id
record component.- Returns:
- the value of the
workchain_id
record component
-