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 Service { @NotNull protected Apidoc apidoc; @NotNull protected String name; @NotNull protected Organization organization; @NotNull protected Application application; @NotNull protected String namespace; @NotNull protected String version; protected String baseUrl; protected String description; @NotNull protected Info info; @NotNull protected List
headers; @NotNull protected List imports; @NotNull protected List enums; @NotNull protected List unions; @NotNull protected List models; @NotNull protected List resources; @NotNull protected List attributes; public Service(Apidoc apidoc, String name, Organization organization, Application application, String namespace, String version, String baseUrl, String description, Info info, List
headers, List imports, List enums, List unions, List models, List resources, List attributes) { this.apidoc = apidoc; this.name = name; this.organization = organization; this.application = application; this.namespace = namespace; this.version = version; this.baseUrl = baseUrl; this.description = description; this.info = info; this.headers = headers; this.imports = imports; this.enums = enums; this.unions = unions; this.models = models; this.resources = resources; this.attributes = attributes; } public Service() { } /** * Documents that this is an apibuilder document, noting the specific version used. Internally the version is then used for backwards compatibility when applicable as new features are added to apibuilder. Note naming refers to the original name of this project, 'apidoc', and is left here to avoid a breaking change for preexisting services. */ public Apidoc getApidoc() { return apidoc; } public void setApidoc(Apidoc apidoc) { this.apidoc = apidoc; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Organization getOrganization() { return organization; } public void setOrganization(Organization organization) { this.organization = organization; } public Application getApplication() { return application; } public void setApplication(Application application) { this.application = application; } /** * Fully qualified namespace for this service */ public String getNamespace() { return namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } public String getBaseUrl() { return baseUrl; } public void setBaseUrl(String baseUrl) { this.baseUrl = baseUrl; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Info getInfo() { return info; } public void setInfo(Info info) { this.info = info; } public List
getHeaders() { return headers; } public void setHeaders(List
headers) { this.headers = headers; } public List getImports() { return imports; } public void setImports(List imports) { this.imports = imports; } public List getEnums() { return enums; } public void setEnums(List enums) { this.enums = enums; } public List getUnions() { return unions; } public void setUnions(List unions) { this.unions = unions; } public List getModels() { return models; } public void setModels(List models) { this.models = models; } public List getResources() { return resources; } public void setResources(List resources) { this.resources = resources; } public List getAttributes() { return attributes; } public void setAttributes(List attributes) { this.attributes = attributes; } }