package com.hbc.svc.sundial.v2.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; 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: 2.0.0-dev * User agent: apibuilder app.apibuilder.io/hbc/svc-sundial/2.0.0-dev/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 * */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class MetadataEntry { @NotNull protected UUID metadataEntryId; @NotNull protected Date when; @NotNull protected String key; @NotNull protected String value; public MetadataEntry(UUID metadataEntryId, Date when, String key, String value) { this.metadataEntryId = metadataEntryId; this.when = when; this.key = key; this.value = value; } public MetadataEntry() { } /** * Uniquely identifies the metadata entry to prevent duplication */ public UUID getMetadataEntryId() { return metadataEntryId; } public void setMetadataEntryId(UUID metadataEntryId) { this.metadataEntryId = metadataEntryId; } public Date getWhen() { return when; } public void setWhen(Date when) { this.when = when; } public String getKey() { return key; } public void setKey(String key) { this.key = key; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } }