package com.paintbatch.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Integer; import java.util.List; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 1.1.0 * User agent: apibuilder app.apibuilder.io/paintbatch-com/paint-batch-optimizer/1.1.0/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 * * paint batch optimizer request */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class OptimizeRequest { @NotNull protected Integer colors; @NotNull protected Integer customers; @NotNull protected List demands; public OptimizeRequest(Integer colors, Integer customers, List demands) { this.colors = colors; this.customers = customers; this.demands = demands; } public OptimizeRequest() { } /** * number of different colours demanded by paint factory */ public Integer getColors() { return colors; } public void setColors(Integer colors) { this.colors = colors; } /** * number of customers */ public Integer getCustomers() { return customers; } public void setCustomers(Integer customers) { this.customers = customers; } /** * customers paint demands */ public List getDemands() { return demands; } public void setDemands(List demands) { this.demands = demands; } }