Record Class BlockMaster

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.BlockMaster

public record BlockMaster(Config config, String config_addr, Float max_shard_gen_utime, String max_shard_gen_utime_string, Float min_shard_gen_utime, String min_shard_gen_utime_string, List<BlockMasterPrevBlkSignatures> prev_blk_signatures, InMsg recover_create_msg, List<BlockMasterShardFees> shard_fees, List<BlockMasterShardHashes> shard_hashes) extends Record
  • Constructor Details

    • BlockMaster

      public BlockMaster(Config config, String config_addr, Float max_shard_gen_utime, String max_shard_gen_utime_string, Float min_shard_gen_utime, String min_shard_gen_utime_string, List<BlockMasterPrevBlkSignatures> prev_blk_signatures, InMsg recover_create_msg, List<BlockMasterShardFees> shard_fees, List<BlockMasterShardHashes> shard_hashes)
      Creates an instance of a BlockMaster record class.
      Parameters:
      config - the value for the config record component
      config_addr - the value for the config_addr record component
      max_shard_gen_utime - the value for the max_shard_gen_utime record component
      max_shard_gen_utime_string - the value for the max_shard_gen_utime_string record component
      min_shard_gen_utime - the value for the min_shard_gen_utime record component
      min_shard_gen_utime_string - the value for the min_shard_gen_utime_string record component
      prev_blk_signatures - the value for the prev_blk_signatures record component
      recover_create_msg - the value for the recover_create_msg record component
      shard_fees - the value for the shard_fees record component
      shard_hashes - the value for the shard_hashes record component
  • Method Details

    • 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.
    • config

      public Config config()
      Returns the value of the config record component.
      Returns:
      the value of the config record component
    • config_addr

      public String config_addr()
      Returns the value of the config_addr record component.
      Returns:
      the value of the config_addr record component
    • max_shard_gen_utime

      public Float max_shard_gen_utime()
      Returns the value of the max_shard_gen_utime record component.
      Returns:
      the value of the max_shard_gen_utime record component
    • max_shard_gen_utime_string

      public String max_shard_gen_utime_string()
      Returns the value of the max_shard_gen_utime_string record component.
      Returns:
      the value of the max_shard_gen_utime_string record component
    • min_shard_gen_utime

      public Float min_shard_gen_utime()
      Returns the value of the min_shard_gen_utime record component.
      Returns:
      the value of the min_shard_gen_utime record component
    • min_shard_gen_utime_string

      public String min_shard_gen_utime_string()
      Returns the value of the min_shard_gen_utime_string record component.
      Returns:
      the value of the min_shard_gen_utime_string record component
    • prev_blk_signatures

      public List<BlockMasterPrevBlkSignatures> prev_blk_signatures()
      Returns the value of the prev_blk_signatures record component.
      Returns:
      the value of the prev_blk_signatures record component
    • recover_create_msg

      public InMsg recover_create_msg()
      Returns the value of the recover_create_msg record component.
      Returns:
      the value of the recover_create_msg record component
    • shard_fees

      public List<BlockMasterShardFees> shard_fees()
      Returns the value of the shard_fees record component.
      Returns:
      the value of the shard_fees record component
    • shard_hashes

      public List<BlockMasterShardHashes> shard_hashes()
      Returns the value of the shard_hashes record component.
      Returns:
      the value of the shard_hashes record component