package io.apibuilder.spec.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import java.util.Map; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.16.74 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-spec/0.16.74/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 * * Represents an additional attribute that is attached to one of the objects in apibuilder. The main use case is to capture additional metadata that doesn't necessarily define the API but aids in code generation. Examples would be hints for certain code generators about classes to extend, interfaces to implement, annotations to add, names to assign to certain methods, etc. The specific attributes will be applicable only in the context of the specific code generators usings them. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Attribute { @NotNull protected String name; @NotNull protected Map value; protected String description; protected Deprecation deprecation; public Attribute(String name, Map value, String description, Deprecation deprecation) { this.name = name; this.value = value; this.description = description; this.deprecation = deprecation; } public Attribute() { } public String getName() { return name; } public void setName(String name) { this.name = name; } public Map getValue() { return value; } public void setValue(Map value) { this.value = value; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Deprecation getDeprecation() { return deprecation; } public void setDeprecation(Deprecation deprecation) { this.deprecation = deprecation; } }