package com.edsancha.medallia.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Boolean; import java.lang.Integer; 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 * User agent: apibuilder app.apibuilder.io/edsancha/medallia-api/0.0.1/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 ComponentGrading1to10 implements ComponentUnion { @NotNull protected Integer index; @NotNull protected Integer id; @NotNull protected String uniqueName; @NotNull protected Boolean required; @NotNull protected String label; @NotNull protected RatingViewType ratingViewType; protected String description; public ComponentGrading1to10(Integer index, Integer id, String uniqueName, Boolean required, String label, RatingViewType ratingViewType, String description) { this.index = index; this.id = id; this.uniqueName = uniqueName; this.required = required; this.label = label; this.ratingViewType = ratingViewType; this.description = description; } public ComponentGrading1to10() { } /** * Component index */ public Integer getIndex() { return index; } public void setIndex(Integer index) { this.index = index; } /** * Component id */ public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } /** * Unique name */ public String getUniqueName() { return uniqueName; } public void setUniqueName(String uniqueName) { this.uniqueName = uniqueName; } /** * Component required */ public Boolean getRequired() { return required; } public void setRequired(Boolean required) { this.required = required; } /** * Component label */ public String getLabel() { return label; } public void setLabel(String label) { this.label = label; } /** * Rating View Type */ public RatingViewType getRatingViewType() { return ratingViewType; } public void setRatingViewType(RatingViewType ratingViewType) { this.ratingViewType = ratingViewType; } /** * Component description */ public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } }