package io.apibuilder.spec.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import java.util.List; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.12.14 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-spec/0.12.14/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 Response { @NotNull protected ResponseCode code; @NotNull protected String type; protected List
headers; protected String description; protected Deprecation deprecation; public Response(ResponseCode code, String type, List
headers, String description, Deprecation deprecation) { this.code = code; this.type = type; this.headers = headers; this.description = description; this.deprecation = deprecation; } public Response() { } public ResponseCode getCode() { return code; } public void setCode(ResponseCode code) { this.code = code; } public String getType() { return type; } public void setType(String type) { this.type = type; } public List
getHeaders() { return headers; } public void setHeaders(List
headers) { this.headers = headers; } 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; } }