package io.gimbalabs.hilltop.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Double; import java.lang.Integer; import java.lang.Long; import java.lang.String; 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 PoolUpdate { @NotNull protected Integer epochNumber; @NotNull protected Long blockNumber; @NotNull protected String txHash; protected String poolTickerName; @NotNull protected String poolBech32Id; @NotNull protected Integer certificateIndex; @NotNull protected String vrfKeyHash; @NotNull protected Long pledge; @NotNull protected String rewardAddress; @NotNull protected Long activeEpochNumber; @NotNull protected Double margin; @NotNull protected Long fixedCost; public PoolUpdate(Integer epochNumber, Long blockNumber, String txHash, String poolTickerName, String poolBech32Id, Integer certificateIndex, String vrfKeyHash, Long pledge, String rewardAddress, Long activeEpochNumber, Double margin, Long fixedCost) { this.epochNumber = epochNumber; this.blockNumber = blockNumber; this.txHash = txHash; this.poolTickerName = poolTickerName; this.poolBech32Id = poolBech32Id; this.certificateIndex = certificateIndex; this.vrfKeyHash = vrfKeyHash; this.pledge = pledge; this.rewardAddress = rewardAddress; this.activeEpochNumber = activeEpochNumber; this.margin = margin; this.fixedCost = fixedCost; } public PoolUpdate() { } public Integer getEpochNumber() { return epochNumber; } public void setEpochNumber(Integer epochNumber) { this.epochNumber = epochNumber; } public Long getBlockNumber() { return blockNumber; } public void setBlockNumber(Long blockNumber) { this.blockNumber = blockNumber; } public String getTxHash() { return txHash; } public void setTxHash(String txHash) { this.txHash = txHash; } public String getPoolTickerName() { return poolTickerName; } public void setPoolTickerName(String poolTickerName) { this.poolTickerName = poolTickerName; } public String getPoolBech32Id() { return poolBech32Id; } public void setPoolBech32Id(String poolBech32Id) { this.poolBech32Id = poolBech32Id; } public Integer getCertificateIndex() { return certificateIndex; } public void setCertificateIndex(Integer certificateIndex) { this.certificateIndex = certificateIndex; } public String getVrfKeyHash() { return vrfKeyHash; } public void setVrfKeyHash(String vrfKeyHash) { this.vrfKeyHash = vrfKeyHash; } public Long getPledge() { return pledge; } public void setPledge(Long pledge) { this.pledge = pledge; } public String getRewardAddress() { return rewardAddress; } public void setRewardAddress(String rewardAddress) { this.rewardAddress = rewardAddress; } public Long getActiveEpochNumber() { return activeEpochNumber; } public void setActiveEpochNumber(Long activeEpochNumber) { this.activeEpochNumber = activeEpochNumber; } public Double getMargin() { return margin; } public void setMargin(Double margin) { this.margin = margin; } public Long getFixedCost() { return fixedCost; } public void setFixedCost(Long fixedCost) { this.fixedCost = fixedCost; } }