package januar.apidoc.apidoc.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import java.util.UUID; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.5 * User agent: apibuilder app.apibuilder.io/januar/apidoc-api/0.0.5/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 * * Represents a unique version of the application. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Version { @NotNull protected UUID guid; @NotNull protected com.bryzek.apidoc.common.v0.models.Reference organization; @NotNull protected com.bryzek.apidoc.common.v0.models.Reference application; @NotNull protected String version; protected Original original; @NotNull protected com.bryzek.apidoc.spec.v0.models.Service service; @NotNull protected com.bryzek.apidoc.common.v0.models.Audit audit; public Version(UUID guid, com.bryzek.apidoc.common.v0.models.Reference organization, com.bryzek.apidoc.common.v0.models.Reference application, String version, Original original, com.bryzek.apidoc.spec.v0.models.Service service, com.bryzek.apidoc.common.v0.models.Audit audit) { this.guid = guid; this.organization = organization; this.application = application; this.version = version; this.original = original; this.service = service; this.audit = audit; } public Version() { } /** * Internal unique identifier for this version. */ public UUID getGuid() { return guid; } public void setGuid(UUID guid) { this.guid = guid; } public com.bryzek.apidoc.common.v0.models.Reference getOrganization() { return organization; } public void setOrganization(com.bryzek.apidoc.common.v0.models.Reference organization) { this.organization = organization; } public com.bryzek.apidoc.common.v0.models.Reference getApplication() { return application; } public void setApplication(com.bryzek.apidoc.common.v0.models.Reference application) { this.application = application; } /** * The tag for this version. Can be anything, but if semver style version number is used, we automatically correctly sort by version number to find latest. Otherwise latest version is considered to be the most recently created. */ public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } /** * The original uploaded file describing this version, if available */ public Original getOriginal() { return original; } public void setOriginal(Original original) { this.original = original; } /** * spec/spec.json description of this API */ public com.bryzek.apidoc.spec.v0.models.Service getService() { return service; } public void setService(com.bryzek.apidoc.spec.v0.models.Service service) { this.service = service; } public com.bryzek.apidoc.common.v0.models.Audit getAudit() { return audit; } public void setAudit(com.bryzek.apidoc.common.v0.models.Audit audit) { this.audit = audit; } }