Class JsonBlockData
- java.lang.Object
-
- com.syntifi.casper.sdk.model.block.JsonBlockData
-
public class JsonBlockData extends java.lang.Object
Root class for a Casper block request- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonBlockData.JsonBlockDataBuilder
-
Constructor Summary
Constructors Constructor Description JsonBlockData()
JsonBlockData(java.lang.String apiVersion, JsonBlock block)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonBlockData.JsonBlockDataBuilder
builder()
java.lang.String
getApiVersion()
The RPC API versionJsonBlock
getBlock()
void
setApiVersion(java.lang.String apiVersion)
The RPC API versionvoid
setBlock(JsonBlock block)
-
-
-
Constructor Detail
-
JsonBlockData
public JsonBlockData(java.lang.String apiVersion, JsonBlock block)
-
JsonBlockData
public JsonBlockData()
-
-
Method Detail
-
builder
public static JsonBlockData.JsonBlockDataBuilder builder()
-
getApiVersion
public java.lang.String getApiVersion()
The RPC API version
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
The RPC API version
-
-