package DaniTest.competition.api.from.swagger.v0.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: 0.0.1-swagger-public * User agent: apibuilder app.apibuilder.io/danitest/competition-api-from-swagger/0.0.1-swagger-public/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 competition is a race game for the competitors to collect more vote points. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Competition { @NotNull protected UUID guid; protected String name; @NotNull protected CompetitionStatus status; @NotNull protected Date startAt; @NotNull protected Date endAt; @NotNull protected Date createdAt; @NotNull protected Date updatedAt; public Competition(UUID guid, String name, CompetitionStatus status, Date startAt, Date endAt, Date createdAt, Date updatedAt) { this.guid = guid; this.name = name; this.status = status; this.startAt = startAt; this.endAt = endAt; this.createdAt = createdAt; this.updatedAt = updatedAt; } public Competition() { } /** * Internal unique identifier for this competition. */ public UUID getGuid() { return guid; } public void setGuid(UUID guid) { this.guid = guid; } public String getName() { return name; } public void setName(String name) { this.name = name; } public CompetitionStatus getStatus() { return status; } public void setStatus(CompetitionStatus status) { this.status = status; } public Date getStartAt() { return startAt; } public void setStartAt(Date startAt) { this.startAt = startAt; } public Date getEndAt() { return endAt; } public void setEndAt(Date endAt) { this.endAt = endAt; } public Date getCreatedAt() { return createdAt; } public void setCreatedAt(Date createdAt) { this.createdAt = createdAt; } public Date getUpdatedAt() { return updatedAt; } public void setUpdatedAt(Date updatedAt) { this.updatedAt = updatedAt; } }