Class ContractVersion.ContractVersionBuilder
- java.lang.Object
-
- com.syntifi.casper.sdk.model.contract.ContractVersion.ContractVersionBuilder
-
- Enclosing class:
- ContractVersion
public static class ContractVersion.ContractVersionBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContractVersion
build()
ContractVersion.ContractVersionBuilder
hash(java.lang.String hash)
contract_hash(string) The hash address of the contractContractVersion.ContractVersionBuilder
protocolVersionMajor(int protocolVersionMajor)
protocol_version_major(integer)java.lang.String
toString()
ContractVersion.ContractVersionBuilder
version(int version)
contract_version(integer)
-
-
-
Method Detail
-
hash
public ContractVersion.ContractVersionBuilder hash(java.lang.String hash)
contract_hash(string) The hash address of the contract- Returns:
this
.
-
version
public ContractVersion.ContractVersionBuilder version(int version)
contract_version(integer)- Returns:
this
.
-
protocolVersionMajor
public ContractVersion.ContractVersionBuilder protocolVersionMajor(int protocolVersionMajor)
protocol_version_major(integer)- Returns:
this
.
-
build
public ContractVersion build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-