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.8 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-spec/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 * */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Operation { @NotNull protected Method method; @NotNull protected String path; protected String description; protected Deprecation deprecation; protected Body body; @NotNull protected List parameters; @NotNull protected List responses; @NotNull protected List attributes; public Operation(Method method, String path, String description, Deprecation deprecation, Body body, List parameters, List responses, List attributes) { this.method = method; this.path = path; this.description = description; this.deprecation = deprecation; this.body = body; this.parameters = parameters; this.responses = responses; this.attributes = attributes; } public Operation() { } public Method getMethod() { return method; } public void setMethod(Method method) { this.method = method; } /** * The full path to this operation, relative to the service's base url. */ public String getPath() { return path; } public void setPath(String path) { this.path = path; } 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; } public Body getBody() { return body; } public void setBody(Body body) { this.body = body; } public List getParameters() { return parameters; } public void setParameters(List parameters) { this.parameters = parameters; } public List getResponses() { return responses; } public void setResponses(List responses) { this.responses = responses; } public List getAttributes() { return attributes; } public void setAttributes(List attributes) { this.attributes = attributes; } }