java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigP15Filter
public record ConfigP15Filter(FloatFilter elections_end_before, FloatFilter elections_start_before, FloatFilter stake_held_for, FloatFilter validators_elected_for, ConfigP15Filter OR)
extends Record
Election parameters;
-
Constructor Summary
ConstructorsConstructorDescriptionConfigP15Filter(FloatFilter elections_end_before, FloatFilter elections_start_before, FloatFilter stake_held_for, FloatFilter validators_elected_for, ConfigP15Filter OR) Creates an instance of aConfigP15Filterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theelections_end_beforerecord component.Returns the value of theelections_start_beforerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.OR()Returns the value of theORrecord component.Returns the value of thestake_held_forrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalidators_elected_forrecord component.
-
Constructor Details
-
ConfigP15Filter
public ConfigP15Filter(FloatFilter elections_end_before, FloatFilter elections_start_before, FloatFilter stake_held_for, FloatFilter validators_elected_for, ConfigP15Filter OR) Creates an instance of aConfigP15Filterrecord class.- Parameters:
elections_end_before- the value for theelections_end_beforerecord componentelections_start_before- the value for theelections_start_beforerecord componentstake_held_for- the value for thestake_held_forrecord componentvalidators_elected_for- the value for thevalidators_elected_forrecord 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). -
elections_end_before
Returns the value of theelections_end_beforerecord component.- Returns:
- the value of the
elections_end_beforerecord component
-
elections_start_before
Returns the value of theelections_start_beforerecord component.- Returns:
- the value of the
elections_start_beforerecord component
-
stake_held_for
Returns the value of thestake_held_forrecord component.- Returns:
- the value of the
stake_held_forrecord component
-
validators_elected_for
Returns the value of thevalidators_elected_forrecord component.- Returns:
- the value of the
validators_elected_forrecord component
-
OR
Returns the value of theORrecord component.- Returns:
- the value of the
ORrecord component
-