package de.nccloud.common.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.Date; 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.1 * User agent: apibuilder app.apibuilder.io/nccloud/common/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 * * Basic audit information for a resource. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Audit { @NotNull protected Date createdAt; @NotNull protected UUID createdBy; @NotNull protected Date updatedAt; @NotNull protected UUID updatedBy; public Audit(Date createdAt, UUID createdBy, Date updatedAt, UUID updatedBy) { this.createdAt = createdAt; this.createdBy = createdBy; this.updatedAt = updatedAt; this.updatedBy = updatedBy; } public Audit() { } public Date getCreatedAt() { return createdAt; } public void setCreatedAt(Date createdAt) { this.createdAt = createdAt; } public UUID getCreatedBy() { return createdBy; } public void setCreatedBy(UUID createdBy) { this.createdBy = createdBy; } public Date getUpdatedAt() { return updatedAt; } public void setUpdatedAt(Date updatedAt) { this.updatedAt = updatedAt; } public UUID getUpdatedBy() { return updatedBy; } public void setUpdatedBy(UUID updatedBy) { this.updatedBy = updatedBy; } }