package de.nccloud.registry.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.Date; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1 * User agent: apibuilder app.apibuilder.io/nccloud/registry-api/0.0.1/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 * * A service has been newly deployed or updated. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class ServiceUpsertedEvent implements ServiceEvent { @NotNull protected Service service; @NotNull protected Date timestamp; public ServiceUpsertedEvent(Service service, Date timestamp) { this.service = service; this.timestamp = timestamp; } public ServiceUpsertedEvent() { } public Service getService() { return service; } public void setService(Service service) { this.service = service; } public Date getTimestamp() { return timestamp; } public void setTimestamp(Date timestamp) { this.timestamp = timestamp; } }