package com.hbc.api.product.recommendations.lat.v1.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Double; import java.lang.Long; import java.lang.String; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 1.1.0 * User agent: apibuilder app.apibuilder.io/hbc/api-product-recommendations-lat/1.1.0/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 * */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Recommendation { @NotNull protected String productId; @NotNull protected String productName; @NotNull protected String productUrl; @NotNull protected String productImageUrl; @NotNull protected String brandName; @NotNull protected Price price; protected Double rating; protected Long numReviews; public Recommendation(String productId, String productName, String productUrl, String productImageUrl, String brandName, Price price, Double rating, Long numReviews) { this.productId = productId; this.productName = productName; this.productUrl = productUrl; this.productImageUrl = productImageUrl; this.brandName = brandName; this.price = price; this.rating = rating; this.numReviews = numReviews; } public Recommendation() { } public String getProductId() { return productId; } public void setProductId(String productId) { this.productId = productId; } public String getProductName() { return productName; } public void setProductName(String productName) { this.productName = productName; } public String getProductUrl() { return productUrl; } public void setProductUrl(String productUrl) { this.productUrl = productUrl; } public String getProductImageUrl() { return productImageUrl; } public void setProductImageUrl(String productImageUrl) { this.productImageUrl = productImageUrl; } public String getBrandName() { return brandName; } public void setBrandName(String brandName) { this.brandName = brandName; } public Price getPrice() { return price; } public void setPrice(Price price) { this.price = price; } /** * customer review's rating */ public Double getRating() { return rating; } public void setRating(Double rating) { this.rating = rating; } /** * number of customers that reviewed the product */ public Long getNumReviews() { return numReviews; } public void setNumReviews(Long numReviews) { this.numReviews = numReviews; } }