package io.apibuilder.api.json.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.48 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-api-json/0.16.48/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 TemplateDeclaration { @NotNull protected String name; protected Map cast; public TemplateDeclaration(String name, Map cast) { this.name = name; this.cast = cast; } public TemplateDeclaration() { } public String getName() { return name; } public void setName(String name) { this.name = name; } /** * Casts the types declared in the template to the types you want to use in this declaration */ public Map getCast() { return cast; } public void setCast(Map cast) { this.cast = cast; } }