java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.Subscription
public record Subscription(Account accounts, Transaction transactions, Message messages, Block blocks, BlockSignatures blocks_signatures, Zerostate zerostates, Counterparty counterparties, RempReceipt rempReceipts)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSubscription(Account accounts, Transaction transactions, Message messages, Block blocks, BlockSignatures blocks_signatures, Zerostate zerostates, Counterparty counterparties, RempReceipt rempReceipts) Creates an instance of aSubscriptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccounts()Returns the value of theaccountsrecord component.blocks()Returns the value of theblocksrecord component.Returns the value of theblocks_signaturesrecord component.Returns the value of thecounterpartiesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.messages()Returns the value of themessagesrecord component.Returns the value of therempReceiptsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionsrecord component.Returns the value of thezerostatesrecord component.
-
Constructor Details
-
Subscription
public Subscription(Account accounts, Transaction transactions, Message messages, Block blocks, BlockSignatures blocks_signatures, Zerostate zerostates, Counterparty counterparties, RempReceipt rempReceipts) Creates an instance of aSubscriptionrecord class.- Parameters:
accounts- the value for theaccountsrecord componenttransactions- the value for thetransactionsrecord componentmessages- the value for themessagesrecord componentblocks- the value for theblocksrecord componentblocks_signatures- the value for theblocks_signaturesrecord componentzerostates- the value for thezerostatesrecord componentcounterparties- the value for thecounterpartiesrecord componentrempReceipts- the value for therempReceiptsrecord component
-
-
Method Details
-
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. -
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. -
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). -
accounts
Returns the value of theaccountsrecord component.- Returns:
- the value of the
accountsrecord component
-
transactions
Returns the value of thetransactionsrecord component.- Returns:
- the value of the
transactionsrecord component
-
messages
Returns the value of themessagesrecord component.- Returns:
- the value of the
messagesrecord component
-
blocks
Returns the value of theblocksrecord component.- Returns:
- the value of the
blocksrecord component
-
blocks_signatures
Returns the value of theblocks_signaturesrecord component.- Returns:
- the value of the
blocks_signaturesrecord component
-
zerostates
Returns the value of thezerostatesrecord component.- Returns:
- the value of the
zerostatesrecord component
-
counterparties
Returns the value of thecounterpartiesrecord component.- Returns:
- the value of the
counterpartiesrecord component
-
rempReceipts
Returns the value of therempReceiptsrecord component.- Returns:
- the value of the
rempReceiptsrecord component
-