package io.apibuilder.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 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.12.14 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-api/0.12.14/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 is a top level person interacting with the api doc server. */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class User { @NotNull protected UUID guid; @NotNull protected String email; @NotNull protected String nickname; protected String name; @NotNull protected io.apibuilder.common.v0.models.Audit audit; public User(UUID guid, String email, String nickname, String name, io.apibuilder.common.v0.models.Audit audit) { this.guid = guid; this.email = email; this.nickname = nickname; this.name = name; this.audit = audit; } public User() { } /** * Internal unique identifier for this user. */ public UUID getGuid() { return guid; } public void setGuid(UUID guid) { this.guid = guid; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } /** * Public unique identifier for this user. */ public String getNickname() { return nickname; } public void setNickname(String nickname) { this.nickname = nickname; } public String getName() { return name; } public void setName(String name) { this.name = name; } public io.apibuilder.common.v0.models.Audit getAudit() { return audit; } public void setAudit(io.apibuilder.common.v0.models.Audit audit) { this.audit = audit; } }