vite.api.vo.SnapshotBlock Maven / Gradle / Ivy
The newest version!
package vite.api.vo;
import java.util.Map;
public class SnapshotBlock {
private String hash;
private String prevHash;
private long height;
private String publicKey;
private String signature;
private long timestamp;
private String stateHash;
private Map snapshotContent;
public void setHash(String hash) {
this.hash = hash;
}
public String getHash() {
return hash;
}
public void setPrevHash(String prevHash) {
this.prevHash = prevHash;
}
public String getPrevHash() {
return prevHash;
}
public void setHeight(long height) {
this.height = height;
}
public long getHeight() {
return height;
}
public void setPublicKey(String publicKey) {
this.publicKey = publicKey;
}
public String getPublicKey() {
return publicKey;
}
public void setSignature(String signature) {
this.signature = signature;
}
public String getSignature() {
return signature;
}
public void setStateHash(String stateHash) {
this.stateHash = stateHash;
}
public String getStateHash() {
return stateHash;
}
public long getTimestamp() {
return timestamp;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
public Map getSnapshotContent() {
return snapshotContent;
}
public void setSnapshotContent(Map snapshotContent) {
this.snapshotContent = snapshotContent;
}
public static class Item {
private long height;
private String hash;
public long getHeight() {
return height;
}
public void setHeight(long height) {
this.height = height;
}
public void setHash(String hash) {
this.hash = hash;
}
public String getHash() {
return hash;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy