package com.trifectalabs.roadquality.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Integer; 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.13 * User agent: apibuilder app.apibuilder.io/trifectalabs/roadquality/0.0.13/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 rating that is supplied with the segment */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class SegmentRating { @NotNull protected UUID id; @NotNull protected UUID segmentId; @NotNull protected UUID userId; @NotNull protected Integer trafficRating; @NotNull protected Integer surfaceRating; @NotNull protected SurfaceType surfaceType; @NotNull protected PathType pathType; @NotNull protected Date createdAt; @NotNull protected Date updatedAt; protected Date deletedAt; public SegmentRating(UUID id, UUID segmentId, UUID userId, Integer trafficRating, Integer surfaceRating, SurfaceType surfaceType, PathType pathType, Date createdAt, Date updatedAt, Date deletedAt) { this.id = id; this.segmentId = segmentId; this.userId = userId; this.trafficRating = trafficRating; this.surfaceRating = surfaceRating; this.surfaceType = surfaceType; this.pathType = pathType; this.createdAt = createdAt; this.updatedAt = updatedAt; this.deletedAt = deletedAt; } public SegmentRating() { } public UUID getId() { return id; } public void setId(UUID id) { this.id = id; } public UUID getSegmentId() { return segmentId; } public void setSegmentId(UUID segmentId) { this.segmentId = segmentId; } public UUID getUserId() { return userId; } public void setUserId(UUID userId) { this.userId = userId; } public Integer getTrafficRating() { return trafficRating; } public void setTrafficRating(Integer trafficRating) { this.trafficRating = trafficRating; } public Integer getSurfaceRating() { return surfaceRating; } public void setSurfaceRating(Integer surfaceRating) { this.surfaceRating = surfaceRating; } public SurfaceType getSurfaceType() { return surfaceType; } public void setSurfaceType(SurfaceType surfaceType) { this.surfaceType = surfaceType; } public PathType getPathType() { return pathType; } public void setPathType(PathType pathType) { this.pathType = pathType; } 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; } public Date getDeletedAt() { return deletedAt; } public void setDeletedAt(Date deletedAt) { this.deletedAt = deletedAt; } }