Record Class ConfigP40

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigP40

public record ConfigP40(Float collations_score_weight, Float min_samples_count, Float min_slashing_protection_score, Float resend_mc_blocks_count, Float signing_score_weight, Float slashing_period_mc_blocks_count, Float z_param_denominator, Float z_param_numerator) extends Record
  • Constructor Details

    • ConfigP40

      public ConfigP40(Float collations_score_weight, Float min_samples_count, Float min_slashing_protection_score, Float resend_mc_blocks_count, Float signing_score_weight, Float slashing_period_mc_blocks_count, Float z_param_denominator, Float z_param_numerator)
      Creates an instance of a ConfigP40 record class.
      Parameters:
      collations_score_weight - the value for the collations_score_weight record component
      min_samples_count - the value for the min_samples_count record component
      min_slashing_protection_score - the value for the min_slashing_protection_score record component
      resend_mc_blocks_count - the value for the resend_mc_blocks_count record component
      signing_score_weight - the value for the signing_score_weight record component
      slashing_period_mc_blocks_count - the value for the slashing_period_mc_blocks_count record component
      z_param_denominator - the value for the z_param_denominator record component
      z_param_numerator - the value for the z_param_numerator record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • collations_score_weight

      public Float collations_score_weight()
      Returns the value of the collations_score_weight record component.
      Returns:
      the value of the collations_score_weight record component
    • min_samples_count

      public Float min_samples_count()
      Returns the value of the min_samples_count record component.
      Returns:
      the value of the min_samples_count record component
    • min_slashing_protection_score

      public Float min_slashing_protection_score()
      Returns the value of the min_slashing_protection_score record component.
      Returns:
      the value of the min_slashing_protection_score record component
    • resend_mc_blocks_count

      public Float resend_mc_blocks_count()
      Returns the value of the resend_mc_blocks_count record component.
      Returns:
      the value of the resend_mc_blocks_count record component
    • signing_score_weight

      public Float signing_score_weight()
      Returns the value of the signing_score_weight record component.
      Returns:
      the value of the signing_score_weight record component
    • slashing_period_mc_blocks_count

      public Float slashing_period_mc_blocks_count()
      Returns the value of the slashing_period_mc_blocks_count record component.
      Returns:
      the value of the slashing_period_mc_blocks_count record component
    • z_param_denominator

      public Float z_param_denominator()
      Returns the value of the z_param_denominator record component.
      Returns:
      the value of the z_param_denominator record component
    • z_param_numerator

      public Float z_param_numerator()
      Returns the value of the z_param_numerator record component.
      Returns:
      the value of the z_param_numerator record component