Class DeployHeader
- java.lang.Object
-
- com.syntifi.casper.sdk.model.deploy.DeployHeader
-
public class DeployHeader extends java.lang.Object
The header portion of a [`Deploy`](struct.Deploy.html).- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description DeployHeader()
-
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)
PublicKey
getAccount()
java.lang.String
getBodyHash()
Body hashjava.lang.String
getChainName()
Chain namejava.util.List<java.lang.String>
getDependencies()
Dependenciesjava.math.BigInteger
getGasPrice()
Gas pricejava.util.Date
getTimeStamp()
Timestamp formatted as per RFC 3339java.lang.String
getTtl()
Human-readable durationint
hashCode()
void
setAccount(PublicKey account)
void
setBodyHash(java.lang.String bodyHash)
Body hashvoid
setChainName(java.lang.String chainName)
Chain namevoid
setDependencies(java.util.List<java.lang.String> dependencies)
Dependenciesvoid
setGasPrice(java.math.BigInteger gasPrice)
Gas pricevoid
setTimeStamp(java.util.Date timeStamp)
Timestamp formatted as per RFC 3339void
setTtl(java.lang.String ttl)
Human-readable durationjava.lang.String
toString()
-
-
-
Method Detail
-
getBodyHash
public java.lang.String getBodyHash()
Body hash
-
getChainName
public java.lang.String getChainName()
Chain name
-
getDependencies
public java.util.List<java.lang.String> getDependencies()
Dependencies
-
getGasPrice
public java.math.BigInteger getGasPrice()
Gas price
-
getTimeStamp
public java.util.Date getTimeStamp()
Timestamp formatted as per RFC 3339
-
getTtl
public java.lang.String getTtl()
Human-readable duration
-
setBodyHash
public void setBodyHash(java.lang.String bodyHash)
Body hash
-
setChainName
public void setChainName(java.lang.String chainName)
Chain name
-
setDependencies
public void setDependencies(java.util.List<java.lang.String> dependencies)
Dependencies
-
setGasPrice
public void setGasPrice(java.math.BigInteger gasPrice)
Gas price
-
setTimeStamp
public void setTimeStamp(java.util.Date timeStamp)
Timestamp formatted as per RFC 3339
-
setTtl
public void setTtl(java.lang.String ttl)
Human-readable duration
-
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
-
-