package com.trifectalabs.roadquality.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Boolean; import java.lang.String; 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 segment of road which will be rated and tagged */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Segment { @NotNull protected UUID id; protected String name; protected String description; @NotNull protected String polyline; @NotNull protected UUID createdBy; @NotNull protected Boolean hidden; public Segment(UUID id, String name, String description, String polyline, UUID createdBy, Boolean hidden) { this.id = id; this.name = name; this.description = description; this.polyline = polyline; this.createdBy = createdBy; this.hidden = hidden; } public Segment() { } public UUID getId() { return id; } public void setId(UUID id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getPolyline() { return polyline; } public void setPolyline(String polyline) { this.polyline = polyline; } /** * The user who created the segment */ public UUID getCreatedBy() { return createdBy; } public void setCreatedBy(UUID createdBy) { this.createdBy = createdBy; } /** * Whether a segment is user visible or not */ public Boolean getHidden() { return hidden; } public void setHidden(Boolean hidden) { this.hidden = hidden; } }