public class CreateContractArgs extends java.lang.Object implements XdrElement
struct CreateContractArgs { ContractIDPreimage contractIDPreimage; ContractExecutable executable; };
Modifier and Type | Class and Description |
---|---|
static class |
CreateContractArgs.CreateContractArgsBuilder |
Constructor and Description |
---|
CreateContractArgs() |
CreateContractArgs(ContractIDPreimage contractIDPreimage,
ContractExecutable executable) |
Modifier and Type | Method and Description |
---|---|
static CreateContractArgs.CreateContractArgsBuilder |
builder() |
static CreateContractArgs |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static CreateContractArgs |
fromXdrBase64(java.lang.String xdr) |
static CreateContractArgs |
fromXdrByteArray(byte[] xdr) |
ContractIDPreimage |
getContractIDPreimage() |
ContractExecutable |
getExecutable() |
int |
hashCode() |
void |
setContractIDPreimage(ContractIDPreimage contractIDPreimage) |
void |
setExecutable(ContractExecutable executable) |
CreateContractArgs.CreateContractArgsBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public CreateContractArgs()
public CreateContractArgs(ContractIDPreimage contractIDPreimage, ContractExecutable executable)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static CreateContractArgs decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static CreateContractArgs fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static CreateContractArgs fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static CreateContractArgs.CreateContractArgsBuilder builder()
public CreateContractArgs.CreateContractArgsBuilder toBuilder()
public ContractIDPreimage getContractIDPreimage()
public ContractExecutable getExecutable()
public void setContractIDPreimage(ContractIDPreimage contractIDPreimage)
public void setExecutable(ContractExecutable executable)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object