package com.trifectalabs.roadquality.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.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 user of the service */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class User { @NotNull protected UUID id; @NotNull protected String firstName; @NotNull protected String lastName; @NotNull protected String email; protected String city; protected String province; protected String country; protected Date birthdate; protected String sex; @NotNull protected UserRole role; @NotNull protected String stravaToken; @NotNull protected Date createdAt; @NotNull protected Date updatedAt; protected Date deletedAt; public User(UUID id, String firstName, String lastName, String email, String city, String province, String country, Date birthdate, String sex, UserRole role, String stravaToken, Date createdAt, Date updatedAt, Date deletedAt) { this.id = id; this.firstName = firstName; this.lastName = lastName; this.email = email; this.city = city; this.province = province; this.country = country; this.birthdate = birthdate; this.sex = sex; this.role = role; this.stravaToken = stravaToken; this.createdAt = createdAt; this.updatedAt = updatedAt; this.deletedAt = deletedAt; } public User() { } public UUID getId() { return id; } public void setId(UUID id) { this.id = id; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String getProvince() { return province; } public void setProvince(String province) { this.province = province; } public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } public Date getBirthdate() { return birthdate; } public void setBirthdate(Date birthdate) { this.birthdate = birthdate; } public String getSex() { return sex; } public void setSex(String sex) { this.sex = sex; } public UserRole getRole() { return role; } public void setRole(UserRole role) { this.role = role; } /** * Strava API token */ public String getStravaToken() { return stravaToken; } public void setStravaToken(String stravaToken) { this.stravaToken = stravaToken; } 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; } }