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 * * An import is used to declare a dependency on another application. This allows you to reference the models and or enums from that application in your own app. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Import { @NotNull protected String uri; @NotNull protected String namespace; @NotNull protected Organization organization; @NotNull protected Application application; @NotNull protected String version; @NotNull protected List enums; @NotNull protected List unions; @NotNull protected List models; public Import(String uri, String namespace, Organization organization, Application application, String version, List enums, List unions, List models) { this.uri = uri; this.namespace = namespace; this.organization = organization; this.application = application; this.version = version; this.enums = enums; this.unions = unions; this.models = models; } public Import() { } /** * Full URI to the service.json file of the service we are importing */ public String getUri() { return uri; } public void setUri(String uri) { this.uri = uri; } /** * the fully qualified namespace that we have imported */ public String getNamespace() { return namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } 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; } /** * The version of the service that we are importing */ public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } /** * Models made available by this import */ public List getEnums() { return enums; } public void setEnums(List enums) { this.enums = enums; } /** * Unions made available by this import */ public List getUnions() { return unions; } public void setUnions(List unions) { this.unions = unions; } /** * Models made available by this import */ public List getModels() { return models; } public void setModels(List models) { this.models = models; } }