java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.BlockLimits
public record BlockLimits(BlockLimitsBytes bytes, BlockLimitsGas gas, BlockLimitsLtDelta lt_delta)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBlockLimits(BlockLimitsBytes bytes, BlockLimitsGas gas, BlockLimitsLtDelta lt_delta) Creates an instance of aBlockLimitsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbytes()Returns the value of thebytesrecord component.final booleanIndicates whether some other object is "equal to" this one.gas()Returns the value of thegasrecord component.final inthashCode()Returns a hash code value for this object.lt_delta()Returns the value of thelt_deltarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BlockLimits
Creates an instance of aBlockLimitsrecord class.- Parameters:
bytes- the value for thebytesrecord componentgas- the value for thegasrecord componentlt_delta- the value for thelt_deltarecord 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). -
bytes
Returns the value of thebytesrecord component.- Returns:
- the value of the
bytesrecord component
-
gas
Returns the value of thegasrecord component.- Returns:
- the value of the
gasrecord component
-
lt_delta
Returns the value of thelt_deltarecord component.- Returns:
- the value of the
lt_deltarecord component
-