package io.apibuilder.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import java.util.UUID; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.12.8 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-api/0.12.8/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 * * Attributes are globally unique key which allow users to specify additional content to pass in to the code generators. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Attribute { @NotNull protected UUID guid; @NotNull protected String name; protected String description; @NotNull protected io.apibuilder.common.v0.models.Audit audit; public Attribute(UUID guid, String name, String description, io.apibuilder.common.v0.models.Audit audit) { this.guid = guid; this.name = name; this.description = description; this.audit = audit; } public Attribute() { } /** * Internal unique identifier for this attribute. */ public UUID getGuid() { return guid; } public void setGuid(UUID guid) { this.guid = guid; } /** * The name of the attribute. Globally unique and an 'identifier' (lower case, url safe, etc.) */ public String getName() { return name; } public void setName(String name) { this.name = name; } /** * Optional description - a good description here will indicate which code generators it applies to and what effect it will have on those code generators. */ public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public io.apibuilder.common.v0.models.Audit getAudit() { return audit; } public void setAudit(io.apibuilder.common.v0.models.Audit audit) { this.audit = audit; } }