Package com.syntifi.casper.sdk.model.era
Class EraInfoData
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.EraInfoData
-
public class EraInfoData extends java.lang.Object
An EraInfo from the network
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EraInfoData.EraInfoDataBuilder
-
Constructor Summary
Constructors Constructor Description EraInfoData()
EraInfoData(java.lang.String apiVersion, EraSummary eraSummary)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EraInfoData.EraInfoDataBuilder
builder()
java.lang.String
getApiVersion()
The RPC API versionEraSummary
getEraSummary()
The auction statevoid
setApiVersion(java.lang.String apiVersion)
The RPC API versionvoid
setEraSummary(EraSummary eraSummary)
The auction state
-
-
-
Constructor Detail
-
EraInfoData
public EraInfoData(java.lang.String apiVersion, EraSummary eraSummary)
-
EraInfoData
public EraInfoData()
-
-
Method Detail
-
builder
public static EraInfoData.EraInfoDataBuilder builder()
-
getApiVersion
public java.lang.String getApiVersion()
The RPC API version
-
getEraSummary
public EraSummary getEraSummary()
The auction state
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
The RPC API version
-
setEraSummary
public void setEraSummary(EraSummary eraSummary)
The auction state
-
-