Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.StateInitSource.Tvc
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.StateInitSource.Tvc
- All Implemented Interfaces:
Abi.StateInitSource
- Enclosing interface:
Abi.StateInitSource
public static record Abi.StateInitSource.Tvc(String tvc, String publicKey, Abi.StateInitParams initParams)
extends Record
implements Abi.StateInitSource
Encoded in `base64`. Content of the TVC file.
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.Abi.StateInitSource
Abi.StateInitSource.Message, Abi.StateInitSource.StateInit, Abi.StateInitSource.Tvc
-
Constructor Summary
ConstructorsConstructorDescriptionTvc
(String tvc, String publicKey, Abi.StateInitParams initParams) Creates an instance of aTvc
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theinitParams
record component.Returns the value of thepublicKey
record component.final String
toString()
Returns a string representation of this record class.tvc()
Returns the value of thetvc
record component.type()
-
Constructor Details
-
Tvc
Creates an instance of aTvc
record class.- Parameters:
tvc
- the value for thetvc
record componentpublicKey
- the value for thepublicKey
record componentinitParams
- the value for theinitParams
record component
-
-
Method Details
-
type
-
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)
. -
tvc
Returns the value of thetvc
record component.- Returns:
- the value of the
tvc
record component
-
publicKey
Returns the value of thepublicKey
record component.- Returns:
- the value of the
publicKey
record component
-
initParams
Returns the value of theinitParams
record component.- Returns:
- the value of the
initParams
record component
-