Class Deploy
- java.lang.Object
-
- com.syntifi.casper.sdk.model.deploy.Deploy
-
public class Deploy extends java.lang.Object
A deploy; an item containing a smart contract along with the requester's signature(s)- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description Deploy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<Approval>
getApprovals()
java.lang.String
getHash()
Hex-encoded deploy hashDeployHeader
getHeader()
ExecutableDeployItem
getPayment()
ExecutableDeployItem
getSession()
int
hashCode()
void
setApprovals(java.util.List<Approval> approvals)
void
setHash(java.lang.String hash)
Hex-encoded deploy hashvoid
setHeader(DeployHeader header)
void
setPayment(ExecutableDeployItem payment)
void
setSession(ExecutableDeployItem session)
java.lang.String
toString()
-
-
-
Method Detail
-
getHash
public java.lang.String getHash()
Hex-encoded deploy hash
-
getHeader
public DeployHeader getHeader()
- See Also:
DeployHeader
-
getPayment
public ExecutableDeployItem getPayment()
- See Also:
ExecutableDeployItem
-
getSession
public ExecutableDeployItem getSession()
- See Also:
ExecutableDeployItem
-
setHash
public void setHash(java.lang.String hash)
Hex-encoded deploy hash
-
setHeader
public void setHeader(DeployHeader header)
- See Also:
DeployHeader
-
setPayment
public void setPayment(ExecutableDeployItem payment)
- See Also:
ExecutableDeployItem
-
setSession
public void setSession(ExecutableDeployItem session)
- See Also:
ExecutableDeployItem
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-