package io.gimbalabs.hilltop.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 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 Reward { @NotNull protected String stakingAddress; @NotNull protected Integer epoch; @NotNull protected Long amount; @NotNull protected String poolId; public Reward(String stakingAddress, Integer epoch, Long amount, String poolId) { this.stakingAddress = stakingAddress; this.epoch = epoch; this.amount = amount; this.poolId = poolId; } public Reward() { } public String getStakingAddress() { return stakingAddress; } public void setStakingAddress(String stakingAddress) { this.stakingAddress = stakingAddress; } public Integer getEpoch() { return epoch; } public void setEpoch(Integer epoch) { this.epoch = epoch; } public Long getAmount() { return amount; } public void setAmount(Long amount) { this.amount = amount; } public String getPoolId() { return poolId; } public void setPoolId(String poolId) { this.poolId = poolId; } }