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 Summary
ConstructorsConstructorDescriptionBlockMaster(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 aBlockMasterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns the value of theconfigrecord component.Returns the value of theconfig_addrrecord component.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 themax_shard_gen_utimerecord component.Returns the value of themax_shard_gen_utime_stringrecord component.Returns the value of themin_shard_gen_utimerecord component.Returns the value of themin_shard_gen_utime_stringrecord component.Returns the value of theprev_blk_signaturesrecord component.Returns the value of therecover_create_msgrecord component.Returns the value of theshard_feesrecord component.Returns the value of theshard_hashesrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aBlockMasterrecord class.- Parameters:
config- the value for theconfigrecord componentconfig_addr- the value for theconfig_addrrecord componentmax_shard_gen_utime- the value for themax_shard_gen_utimerecord componentmax_shard_gen_utime_string- the value for themax_shard_gen_utime_stringrecord componentmin_shard_gen_utime- the value for themin_shard_gen_utimerecord componentmin_shard_gen_utime_string- the value for themin_shard_gen_utime_stringrecord componentprev_blk_signatures- the value for theprev_blk_signaturesrecord componentrecover_create_msg- the value for therecover_create_msgrecord componentshard_fees- the value for theshard_feesrecord componentshard_hashes- the value for theshard_hashesrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-
config_addr
Returns the value of theconfig_addrrecord component.- Returns:
- the value of the
config_addrrecord component
-
max_shard_gen_utime
Returns the value of themax_shard_gen_utimerecord component.- Returns:
- the value of the
max_shard_gen_utimerecord component
-
max_shard_gen_utime_string
Returns the value of themax_shard_gen_utime_stringrecord component.- Returns:
- the value of the
max_shard_gen_utime_stringrecord component
-
min_shard_gen_utime
Returns the value of themin_shard_gen_utimerecord component.- Returns:
- the value of the
min_shard_gen_utimerecord component
-
min_shard_gen_utime_string
Returns the value of themin_shard_gen_utime_stringrecord component.- Returns:
- the value of the
min_shard_gen_utime_stringrecord component
-
prev_blk_signatures
Returns the value of theprev_blk_signaturesrecord component.- Returns:
- the value of the
prev_blk_signaturesrecord component
-
recover_create_msg
Returns the value of therecover_create_msgrecord component.- Returns:
- the value of the
recover_create_msgrecord component
-
shard_fees
Returns the value of theshard_feesrecord component.- Returns:
- the value of the
shard_feesrecord component
-
shard_hashes
Returns the value of theshard_hashesrecord component.- Returns:
- the value of the
shard_hashesrecord component
-