package io.apibuilder.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.UUID; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.14.3-46-g35788525 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-api/0.14.3-46-g35788525/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 * * Users can watch individual applications which enables features like receiving an email notification when there is a new version of an application. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Watch { @NotNull protected UUID guid; @NotNull protected User user; @NotNull protected Organization organization; @NotNull protected Application application; @NotNull protected io.apibuilder.common.v0.models.Audit audit; public Watch(UUID guid, User user, Organization organization, Application application, io.apibuilder.common.v0.models.Audit audit) { this.guid = guid; this.user = user; this.organization = organization; this.application = application; this.audit = audit; } public Watch() { } /** * Internal unique identifier for this watch */ public UUID getGuid() { return guid; } public void setGuid(UUID guid) { this.guid = guid; } public User getUser() { return user; } public void setUser(User user) { this.user = user; } 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; } public io.apibuilder.common.v0.models.Audit getAudit() { return audit; } public void setAudit(io.apibuilder.common.v0.models.Audit audit) { this.audit = audit; } }