java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.BlockAccountBlocks
-
Constructor Summary
ConstructorsConstructorDescriptionBlockAccountBlocks
(String account_addr, String new_hash, String old_hash, Integer tr_count, List<BlockAccountBlocksTransactions> transactions) Creates an instance of aBlockAccountBlocks
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccount_addr
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.new_hash()
Returns the value of thenew_hash
record component.old_hash()
Returns the value of theold_hash
record component.final String
toString()
Returns a string representation of this record class.tr_count()
Returns the value of thetr_count
record component.Returns the value of thetransactions
record component.
-
Constructor Details
-
BlockAccountBlocks
public BlockAccountBlocks(String account_addr, String new_hash, String old_hash, Integer tr_count, List<BlockAccountBlocksTransactions> transactions) Creates an instance of aBlockAccountBlocks
record class.- Parameters:
account_addr
- the value for theaccount_addr
record componentnew_hash
- the value for thenew_hash
record componentold_hash
- the value for theold_hash
record componenttr_count
- the value for thetr_count
record componenttransactions
- the value for thetransactions
record 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)
. -
account_addr
Returns the value of theaccount_addr
record component.- Returns:
- the value of the
account_addr
record component
-
new_hash
Returns the value of thenew_hash
record component.- Returns:
- the value of the
new_hash
record component
-
old_hash
Returns the value of theold_hash
record component.- Returns:
- the value of the
old_hash
record component
-
tr_count
Returns the value of thetr_count
record component.- Returns:
- the value of the
tr_count
record component
-
transactions
Returns the value of thetransactions
record component.- Returns:
- the value of the
transactions
record component
-