java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.Zerostate
public record Zerostate(String id, List<ZerostateAccounts> accounts, String boc, String file_hash, Integer global_id, List<ZerostateLibraries> libraries, ZerostateMaster master, String root_hash, String total_balance, List<OtherCurrency> total_balance_other, Integer workchain_id)
extends Record
The initial state of the workchain before first block was generated;
-
Constructor Summary
ConstructorsConstructorDescriptionZerostate
(String id, List<ZerostateAccounts> accounts, String boc, String file_hash, Integer global_id, List<ZerostateLibraries> libraries, ZerostateMaster master, String root_hash, String total_balance, List<OtherCurrency> total_balance_other, Integer workchain_id) Creates an instance of aZerostate
record class. -
Method Summary
Modifier and TypeMethodDescriptionaccounts()
Returns the value of theaccounts
record component.boc()
Returns the value of theboc
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefile_hash
record component.Returns the value of theglobal_id
record component.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.Returns the value of thelibraries
record component.master()
Returns the value of themaster
record component.Returns the value of theroot_hash
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thetotal_balance
record component.static QueryExecutorBuilder
total_balance
(String objectFieldsTree, BigIntFormat format) Returns the value of thetotal_balance_other
record component.Returns the value of theworkchain_id
record component.
-
Constructor Details
-
Zerostate
public Zerostate(String id, List<ZerostateAccounts> accounts, String boc, String file_hash, Integer global_id, List<ZerostateLibraries> libraries, ZerostateMaster master, String root_hash, String total_balance, List<OtherCurrency> total_balance_other, Integer workchain_id) Creates an instance of aZerostate
record class.- Parameters:
id
- the value for theid
record componentaccounts
- the value for theaccounts
record componentboc
- the value for theboc
record componentfile_hash
- the value for thefile_hash
record componentglobal_id
- the value for theglobal_id
record componentlibraries
- the value for thelibraries
record componentmaster
- the value for themaster
record componentroot_hash
- the value for theroot_hash
record componenttotal_balance
- the value for thetotal_balance
record componenttotal_balance_other
- the value for thetotal_balance_other
record componentworkchain_id
- the value for theworkchain_id
record component
-
-
Method Details
-
total_balance
-
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)
. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
accounts
Returns the value of theaccounts
record component.- Returns:
- the value of the
accounts
record component
-
boc
Returns the value of theboc
record component.- Returns:
- the value of the
boc
record component
-
file_hash
Returns the value of thefile_hash
record component.- Returns:
- the value of the
file_hash
record component
-
global_id
Returns the value of theglobal_id
record component.- Returns:
- the value of the
global_id
record component
-
libraries
Returns the value of thelibraries
record component.- Returns:
- the value of the
libraries
record component
-
master
Returns the value of themaster
record component.- Returns:
- the value of the
master
record component
-
root_hash
Returns the value of theroot_hash
record component.- Returns:
- the value of the
root_hash
record component
-
total_balance
Returns the value of thetotal_balance
record component.- Returns:
- the value of the
total_balance
record component
-
total_balance_other
Returns the value of thetotal_balance_other
record component.- Returns:
- the value of the
total_balance_other
record component
-
workchain_id
Returns the value of theworkchain_id
record component.- Returns:
- the value of the
workchain_id
record component
-