Package com.casper.sdk.model.event.fault
Class Fault
- java.lang.Object
-
- com.casper.sdk.model.event.fault.Fault
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetEraId()The period of time used to specify when specific events in a blockchain network occur.PublicKeygetPublicKey()A unique personal address that is shared in the network.java.lang.StringgetTimestamp()A timestamp type, representing a concrete moment in time of the fault.voidsetEraId(java.lang.Long eraId)The period of time used to specify when specific events in a blockchain network occur.voidsetPublicKey(PublicKey publicKey)A unique personal address that is shared in the network.voidsetTimestamp(java.lang.String timestamp)A timestamp type, representing a concrete moment in time of the fault.
-
-
-
Constructor Detail
-
Fault
public Fault(java.lang.Long eraId, PublicKey publicKey, java.lang.String timestamp)
-
Fault
public Fault()
-
-
Method Detail
-
getEraId
public java.lang.Long getEraId()
The period of time used to specify when specific events in a blockchain network occur.
-
getPublicKey
public PublicKey getPublicKey()
A unique personal address that is shared in the network.
-
getTimestamp
public java.lang.String getTimestamp()
A timestamp type, representing a concrete moment in time of the fault.
-
setEraId
public void setEraId(java.lang.Long eraId)
The period of time used to specify when specific events in a blockchain network occur.
-
setPublicKey
public void setPublicKey(PublicKey publicKey)
A unique personal address that is shared in the network.
-
setTimestamp
public void setTimestamp(java.lang.String timestamp)
A timestamp type, representing a concrete moment in time of the fault.
-
-