java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigP17
public record ConfigP17(String max_stake, Float max_stake_factor, String min_stake, String min_total_stake)
extends Record
Validator stake parameters;
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal 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_stake
record component.static QueryExecutorBuilder
max_stake
(String objectFieldsTree, BigIntFormat format) Returns the value of themax_stake_factor
record component.Returns the value of themin_stake
record component.static QueryExecutorBuilder
min_stake
(String objectFieldsTree, BigIntFormat format) Returns the value of themin_total_stake
record component.static QueryExecutorBuilder
min_total_stake
(String objectFieldsTree, BigIntFormat format) final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ConfigP17
public ConfigP17(String max_stake, Float max_stake_factor, String min_stake, String min_total_stake) Creates an instance of aConfigP17
record class.- Parameters:
max_stake
- the value for themax_stake
record componentmax_stake_factor
- the value for themax_stake_factor
record componentmin_stake
- the value for themin_stake
record componentmin_total_stake
- the value for themin_total_stake
record component
-
-
Method Details
-
max_stake
-
min_stake
-
min_total_stake
-
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)
. -
max_stake
Returns the value of themax_stake
record component.- Returns:
- the value of the
max_stake
record component
-
max_stake_factor
Returns the value of themax_stake_factor
record component.- Returns:
- the value of the
max_stake_factor
record component
-
min_stake
Returns the value of themin_stake
record component.- Returns:
- the value of the
min_stake
record component
-
min_total_stake
Returns the value of themin_total_stake
record component.- Returns:
- the value of the
min_total_stake
record component
-