package com.gilt.public_.api.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Long; import java.lang.String; import java.util.List; import java.util.Map; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 1.0.1 * User agent: apibuilder app.apibuilder.io/gilt/gilt-public-api/1.0.1/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 Product { @NotNull protected String name; @NotNull protected String product; @NotNull protected Long id; @NotNull protected String brand; @NotNull protected String url; @NotNull protected ProductContent content; @NotNull protected List categories; @NotNull protected Map imageUrls; @NotNull protected List skus; public Product(String name, String product, Long id, String brand, String url, ProductContent content, List categories, Map imageUrls, List skus) { this.name = name; this.product = product; this.id = id; this.brand = brand; this.url = url; this.content = content; this.categories = categories; this.imageUrls = imageUrls; this.skus = skus; } public Product() { } /** * Product name */ public String getName() { return name; } public void setName(String name) { this.name = name; } /** * URL to product object */ public String getProduct() { return product; } public void setProduct(String product) { this.product = product; } /** * Unique identifier for product */ public Long getId() { return id; } public void setId(Long id) { this.id = id; } /** * Brand name */ public String getBrand() { return brand; } public void setBrand(String brand) { this.brand = brand; } /** * Link to product detail page where item can be purchased */ public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public ProductContent getContent() { return content; } public void setContent(ProductContent content) { this.content = content; } /** * A list of categories to which this product belongs. */ public List getCategories() { return categories; } public void setCategories(List categories) { this.categories = categories; } /** * A map of key/value pairs with the key being the image resolution WIDTHxHEIGHT and the value being an array of image objects. */ public Map getImageUrls() { return imageUrls; } public void setImageUrls(Map imageUrls) { this.imageUrls = imageUrls; } /** * List of Skus */ public List getSkus() { return skus; } public void setSkus(List skus) { this.skus = skus; } }