package bombas.storeback.api.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Integer; import java.lang.String; import lombok.Data; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.2.6 * User agent: apibuilder app.apibuilder.io/bombas/storeback-api/0.2.6/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 Image { protected Integer id; protected Integer position; protected String alt; protected String src; public Image(Integer id, Integer position, String alt, String src) { this.id = id; this.position = position; this.alt = alt; this.src = src; } public Image() { } /** * A unique numeric identifier for the product image. */ public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } /** * The order of the product image in the list. The first product image is at position 1 and is the 'main' image for the product. */ public Integer getPosition() { return position; } public void setPosition(Integer position) { this.position = position; } /** * ALT text */ public String getAlt() { return alt; } public void setAlt(String alt) { this.alt = alt; } /** * Specifies the location of the product image. This parameter supports URL filters that you can use to retrieve modified copies of the image. For example, add _small, to the filename to retrieve a scaled copy of the image at 100 x 100 px (for example, ipod-nano_small.png), or add _2048x2048 to retrieve a copy of the image constrained at 2048 x 2048 px resolution (for example, ipod-nano_2048x2048.png). */ public String getSrc() { return src; } public void setSrc(String src) { this.src = src; } }