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 aBlockAccountBlocksrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccount_addrrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.new_hash()Returns the value of thenew_hashrecord component.old_hash()Returns the value of theold_hashrecord component.final StringtoString()Returns a string representation of this record class.tr_count()Returns the value of thetr_countrecord component.Returns the value of thetransactionsrecord 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 aBlockAccountBlocksrecord class.- Parameters:
account_addr- the value for theaccount_addrrecord componentnew_hash- the value for thenew_hashrecord componentold_hash- the value for theold_hashrecord componenttr_count- the value for thetr_countrecord componenttransactions- the value for thetransactionsrecord 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_addrrecord component.- Returns:
- the value of the
account_addrrecord component
-
new_hash
Returns the value of thenew_hashrecord component.- Returns:
- the value of the
new_hashrecord component
-
old_hash
Returns the value of theold_hashrecord component.- Returns:
- the value of the
old_hashrecord component
-
tr_count
Returns the value of thetr_countrecord component.- Returns:
- the value of the
tr_countrecord component
-
transactions
Returns the value of thetransactionsrecord component.- Returns:
- the value of the
transactionsrecord component
-