java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigP15
-
Constructor Summary
Constructors -
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.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
-
ConfigP15
public ConfigP15(Float elections_end_before, Float elections_start_before, Float stake_held_for, Float validators_elected_for) Creates an instance of aConfigP15record 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 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
-