package com.hbc.api.fraud.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.2 * User agent: apibuilder app.apibuilder.io/hbc/api-fraud/0.0.2/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 * * Error response model */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Error { @NotNull protected String message; @NotNull protected String error; public Error(String message, String error) { this.message = message; this.error = error; } public Error() { } /** * Error description message */ public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } /** * Error code */ public String getError() { return error; } public void setError(String error) { this.error = error; } }