package io.gimbalabs.hilltop.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Long; import java.util.Date; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-SNAPSHOT * User agent: apibuilder app.apibuilder.io/gimbalabs/hilltop-api/0.0.1-SNAPSHOT/java_aws_lambda_pojo_client * * WARNING: not all features (notably unions) and data types work with the java generator yet. * Java POJO generator is designed to be used with AWS Lambdas. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact daniel.kirby@gilt.com * */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Block { @NotNull protected Long number; @NotNull protected Long epochNumber; @NotNull protected Long slotNumber; @NotNull protected Long epochSlotNumber; @NotNull protected Long size; @NotNull protected Long transactionCount; @NotNull protected Date time; public Block(Long number, Long epochNumber, Long slotNumber, Long epochSlotNumber, Long size, Long transactionCount, Date time) { this.number = number; this.epochNumber = epochNumber; this.slotNumber = slotNumber; this.epochSlotNumber = epochSlotNumber; this.size = size; this.transactionCount = transactionCount; this.time = time; } public Block() { } public Long getNumber() { return number; } public void setNumber(Long number) { this.number = number; } public Long getEpochNumber() { return epochNumber; } public void setEpochNumber(Long epochNumber) { this.epochNumber = epochNumber; } public Long getSlotNumber() { return slotNumber; } public void setSlotNumber(Long slotNumber) { this.slotNumber = slotNumber; } public Long getEpochSlotNumber() { return epochSlotNumber; } public void setEpochSlotNumber(Long epochSlotNumber) { this.epochSlotNumber = epochSlotNumber; } public Long getSize() { return size; } public void setSize(Long size) { this.size = size; } public Long getTransactionCount() { return transactionCount; } public void setTransactionCount(Long transactionCount) { this.transactionCount = transactionCount; } public Date getTime() { return time; } public void setTime(Date time) { this.time = time; } }