java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigP11
public record ConfigP11(ConfigProposalSetup critical_params, ConfigProposalSetup normal_params)
extends Record
Config voting setup;
-
Constructor Summary
ConstructorsConstructorDescriptionConfigP11(ConfigProposalSetup critical_params, ConfigProposalSetup normal_params) Creates an instance of aConfigP11record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecritical_paramsrecord 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 thenormal_paramsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfigP11
Creates an instance of aConfigP11record class.- Parameters:
critical_params- the value for thecritical_paramsrecord componentnormal_params- the value for thenormal_paramsrecord 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). -
critical_params
Returns the value of thecritical_paramsrecord component.- Returns:
- the value of the
critical_paramsrecord component
-
normal_params
Returns the value of thenormal_paramsrecord component.- Returns:
- the value of the
normal_paramsrecord component
-