Record Class BlockSignatures

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 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 a BlockSignatures record class.
      Parameters:
      id - the value for the id record component
      block - the value for the block record component
      catchain_seqno - the value for the catchain_seqno record component
      gen_utime - the value for the gen_utime record component
      gen_utime_string - the value for the gen_utime_string record component
      proof - the value for the proof record component
      seq_no - the value for the seq_no record component
      shard - the value for the shard record component
      sig_weight - the value for the sig_weight record component
      signatures - the value for the signatures record component
      validator_list_hash_short - the value for the validator_list_hash_short record component
      workchain_id - the value for the workchain_id record component
  • Method Details

    • block

      public static QueryExecutorBuilder block(String objectFieldsTree, Integer timeout, BlockSignaturesFilter when)
    • sig_weight

      public static QueryExecutorBuilder sig_weight(String objectFieldsTree, BigIntFormat format)
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • block

      public Block block()
      Returns the value of the block record component.
      Returns:
      the value of the block record component
    • catchain_seqno

      public Float catchain_seqno()
      Returns the value of the catchain_seqno record component.
      Returns:
      the value of the catchain_seqno record component
    • gen_utime

      public Float gen_utime()
      Returns the value of the gen_utime record component.
      Returns:
      the value of the gen_utime record component
    • gen_utime_string

      public String gen_utime_string()
      Returns the value of the gen_utime_string record component.
      Returns:
      the value of the gen_utime_string record component
    • proof

      public String proof()
      Returns the value of the proof record component.
      Returns:
      the value of the proof record component
    • seq_no

      public Float seq_no()
      Returns the value of the seq_no record component.
      Returns:
      the value of the seq_no record component
    • shard

      public String shard()
      Returns the value of the shard record component.
      Returns:
      the value of the shard record component
    • sig_weight

      public String sig_weight()
      Returns the value of the sig_weight record component.
      Returns:
      the value of the sig_weight record component
    • signatures

      public List<BlockSignaturesSignatures> signatures()
      Returns the value of the signatures record component.
      Returns:
      the value of the signatures record component
    • validator_list_hash_short

      public Float validator_list_hash_short()
      Returns the value of the validator_list_hash_short record component.
      Returns:
      the value of the validator_list_hash_short record component
    • workchain_id

      public Integer workchain_id()
      Returns the value of the workchain_id record component.
      Returns:
      the value of the workchain_id record component