java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigP17Filter
public record ConfigP17Filter(StringFilter max_stake, FloatFilter max_stake_factor, StringFilter min_stake, StringFilter min_total_stake, ConfigP17Filter OR)
extends Record
Validator stake parameters;
-
Constructor Summary
ConstructorsConstructorDescriptionConfigP17Filter(StringFilter max_stake, FloatFilter max_stake_factor, StringFilter min_stake, StringFilter min_total_stake, ConfigP17Filter OR) Creates an instance of aConfigP17Filterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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_stakerecord component.Returns the value of themax_stake_factorrecord component.Returns the value of themin_stakerecord component.Returns the value of themin_total_stakerecord component.OR()Returns the value of theORrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfigP17Filter
public ConfigP17Filter(StringFilter max_stake, FloatFilter max_stake_factor, StringFilter min_stake, StringFilter min_total_stake, ConfigP17Filter OR) Creates an instance of aConfigP17Filterrecord class.- Parameters:
max_stake- the value for themax_stakerecord componentmax_stake_factor- the value for themax_stake_factorrecord componentmin_stake- the value for themin_stakerecord componentmin_total_stake- the value for themin_total_stakerecord componentOR- the value for theORrecord 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). -
max_stake
Returns the value of themax_stakerecord component.- Returns:
- the value of the
max_stakerecord component
-
max_stake_factor
Returns the value of themax_stake_factorrecord component.- Returns:
- the value of the
max_stake_factorrecord component
-
min_stake
Returns the value of themin_stakerecord component.- Returns:
- the value of the
min_stakerecord component
-
min_total_stake
Returns the value of themin_total_stakerecord component.- Returns:
- the value of the
min_total_stakerecord component
-
OR
Returns the value of theORrecord component.- Returns:
- the value of the
ORrecord component
-