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 aBlockMaster
record class. -
Method Summary
Modifier and TypeMethodDescriptionconfig()
Returns the value of theconfig
record component.Returns the value of theconfig_addr
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of themax_shard_gen_utime
record component.Returns the value of themax_shard_gen_utime_string
record component.Returns the value of themin_shard_gen_utime
record component.Returns the value of themin_shard_gen_utime_string
record component.Returns the value of theprev_blk_signatures
record component.Returns the value of therecover_create_msg
record component.Returns the value of theshard_fees
record component.Returns the value of theshard_hashes
record component.final String
toString()
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 aBlockMaster
record class.- Parameters:
config
- the value for theconfig
record componentconfig_addr
- the value for theconfig_addr
record componentmax_shard_gen_utime
- the value for themax_shard_gen_utime
record componentmax_shard_gen_utime_string
- the value for themax_shard_gen_utime_string
record componentmin_shard_gen_utime
- the value for themin_shard_gen_utime
record componentmin_shard_gen_utime_string
- the value for themin_shard_gen_utime_string
record componentprev_blk_signatures
- the value for theprev_blk_signatures
record componentrecover_create_msg
- the value for therecover_create_msg
record componentshard_fees
- the value for theshard_fees
record componentshard_hashes
- the value for theshard_hashes
record 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 theconfig
record component.- Returns:
- the value of the
config
record component
-
config_addr
Returns the value of theconfig_addr
record component.- Returns:
- the value of the
config_addr
record component
-
max_shard_gen_utime
Returns the value of themax_shard_gen_utime
record component.- Returns:
- the value of the
max_shard_gen_utime
record component
-
max_shard_gen_utime_string
Returns the value of themax_shard_gen_utime_string
record component.- Returns:
- the value of the
max_shard_gen_utime_string
record component
-
min_shard_gen_utime
Returns the value of themin_shard_gen_utime
record component.- Returns:
- the value of the
min_shard_gen_utime
record component
-
min_shard_gen_utime_string
Returns the value of themin_shard_gen_utime_string
record component.- Returns:
- the value of the
min_shard_gen_utime_string
record component
-
prev_blk_signatures
Returns the value of theprev_blk_signatures
record component.- Returns:
- the value of the
prev_blk_signatures
record component
-
recover_create_msg
Returns the value of therecover_create_msg
record component.- Returns:
- the value of the
recover_create_msg
record component
-
shard_fees
Returns the value of theshard_fees
record component.- Returns:
- the value of the
shard_fees
record component
-
shard_hashes
Returns the value of theshard_hashes
record component.- Returns:
- the value of the
shard_hashes
record component
-