package io.apibuilder.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.12.14 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-api/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 application has a name and multiple versions of its API. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Application { @NotNull protected UUID guid; @NotNull protected io.apibuilder.common.v0.models.Reference organization; @NotNull protected String name; @NotNull protected String key; @NotNull protected Visibility visibility; protected String description; @NotNull protected io.apibuilder.common.v0.models.Audit audit; public Application(UUID guid, io.apibuilder.common.v0.models.Reference organization, String name, String key, Visibility visibility, String description, io.apibuilder.common.v0.models.Audit audit) { this.guid = guid; this.organization = organization; this.name = name; this.key = key; this.visibility = visibility; this.description = description; this.audit = audit; } public Application() { } /** * Internal unique identifier for this application. */ public UUID getGuid() { return guid; } public void setGuid(UUID guid) { this.guid = guid; } public io.apibuilder.common.v0.models.Reference getOrganization() { return organization; } public void setOrganization(io.apibuilder.common.v0.models.Reference organization) { this.organization = organization; } /** * The unique name for this application. */ public String getName() { return name; } public void setName(String name) { this.name = name; } /** * Used as a unique key in the URL path. Key is automatically derived from the application name. */ public String getKey() { return key; } public void setKey(String key) { this.key = key; } /** * Controls who is able to view this application */ public Visibility getVisibility() { return visibility; } public void setVisibility(Visibility visibility) { this.visibility = visibility; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public io.apibuilder.common.v0.models.Audit getAudit() { return audit; } public void setAudit(io.apibuilder.common.v0.models.Audit audit) { this.audit = audit; } }