Package com.casper.sdk.model.block
Class BlockWithSignatures
- java.lang.Object
-
- com.casper.sdk.model.block.BlockWithSignatures
-
public class BlockWithSignatures extends java.lang.ObjectBlock and its associated signatures.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBlockWithSignatures.BlockWithSignaturesBuilder
-
Constructor Summary
Constructors Constructor Description BlockWithSignatures()BlockWithSignatures(Block<?,?> block, java.util.List<JsonProof> proofs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BlockWithSignatures.BlockWithSignaturesBuilderbuilder()<BlockT extends Block<?,?>>
BlockTgetBlock()java.util.List<JsonProof>getProofs()voidsetBlock(Block<?,?> block)voidsetProofs(java.util.List<JsonProof> proofs)
-
-
-
Method Detail
-
getBlock
public <BlockT extends Block<?,?>> BlockT getBlock()
-
builder
public static BlockWithSignatures.BlockWithSignaturesBuilder builder()
-
getProofs
public java.util.List<JsonProof> getProofs()
-
setBlock
public void setBlock(Block<?,?> block)
-
setProofs
public void setProofs(java.util.List<JsonProof> proofs)
-
-