Record Class ConfigP28

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

public record ConfigP28(Float mc_catchain_lifetime, Float shard_catchain_lifetime, Float shard_validators_lifetime, Float shard_validators_num, Boolean shuffle_mc_validators) extends Record
Catchain config;
  • Constructor Details

    • ConfigP28

      public ConfigP28(Float mc_catchain_lifetime, Float shard_catchain_lifetime, Float shard_validators_lifetime, Float shard_validators_num, Boolean shuffle_mc_validators)
      Creates an instance of a ConfigP28 record class.
      Parameters:
      mc_catchain_lifetime - the value for the mc_catchain_lifetime record component
      shard_catchain_lifetime - the value for the shard_catchain_lifetime record component
      shard_validators_lifetime - the value for the shard_validators_lifetime record component
      shard_validators_num - the value for the shard_validators_num record component
      shuffle_mc_validators - the value for the shuffle_mc_validators 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.
    • mc_catchain_lifetime

      public Float mc_catchain_lifetime()
      Returns the value of the mc_catchain_lifetime record component.
      Returns:
      the value of the mc_catchain_lifetime record component
    • shard_catchain_lifetime

      public Float shard_catchain_lifetime()
      Returns the value of the shard_catchain_lifetime record component.
      Returns:
      the value of the shard_catchain_lifetime record component
    • shard_validators_lifetime

      public Float shard_validators_lifetime()
      Returns the value of the shard_validators_lifetime record component.
      Returns:
      the value of the shard_validators_lifetime record component
    • shard_validators_num

      public Float shard_validators_num()
      Returns the value of the shard_validators_num record component.
      Returns:
      the value of the shard_validators_num record component
    • shuffle_mc_validators

      public Boolean shuffle_mc_validators()
      Returns the value of the shuffle_mc_validators record component.
      Returns:
      the value of the shuffle_mc_validators record component