content: /*
   * Selling Partner API for Listings Items
   * The Selling Partner API for Listings Items (Listings Items API) provides programmatic access to selling partner listings on Amazon. Use this API in collaboration with the Selling Partner API for Product Type Definitions, which you use to retrieve the information about Amazon product types needed to use the Listings Items API.  For more information, see the [Listings Items API Use Case Guide](doc:listings-items-api-v2021-08-01-use-case-guide).
   *
   * OpenAPI spec version: 2021-08-01
   * 
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   * Do not edit the class manually.
   */
  
  
  package io.swagger.client.model.listings;
  
  import java.util.Objects;
  
  import com.google.gson.annotations.SerializedName;
  import io.swagger.annotations.ApiModel;
  import io.swagger.annotations.ApiModelProperty;
  
  /**
   * Image for the listings item.
   */
  @ApiModel(description = "Image for the listings item.")
  @javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2023-12-07T17:05:48.223+01:00")
  public class ItemImage {
    @SerializedName("link")
    private String link = null;
  
    @SerializedName("height")
    private Integer height = null;
  
    @SerializedName("width")
    private Integer width = null;
  
    public ItemImage link(String link) {
      this.link = link;
      return this;
    }
  
     /**
     * Link, or URL, for the image.
     * @return link
    **/
    @ApiModelProperty(required = true, value = "Link, or URL, for the image.")
    public String getLink() {
      return link;
    }
  
    public void setLink(String link) {
      this.link = link;
    }
  
    public ItemImage height(Integer height) {
      this.height = height;
      return this;
    }
  
     /**
     * Height of the image in pixels.
     * @return height
    **/
    @ApiModelProperty(required = true, value = "Height of the image in pixels.")
    public Integer getHeight() {
      return height;
    }
  
    public void setHeight(Integer height) {
      this.height = height;
    }
  
    public ItemImage width(Integer width) {
      this.width = width;
      return this;
    }
  
     /**
     * Width of the image in pixels.
     * @return width
    **/
    @ApiModelProperty(required = true, value = "Width of the image in pixels.")
    public Integer getWidth() {
      return width;
    }
  
    public void setWidth(Integer width) {
      this.width = width;
    }
  
  
    @Override
    public boolean equals(Object o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }
      ItemImage itemImage = (ItemImage) o;
      return Objects.equals(this.link, itemImage.link) &&
          Objects.equals(this.height, itemImage.height) &&
          Objects.equals(this.width, itemImage.width);
    }
  
    @Override
    public int hashCode() {
      return Objects.hash(link, height, width);
    }
  
  
    @Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class ItemImage {\n");
      
      sb.append("    link: ").append(toIndentedString(link)).append("\n");
      sb.append("    height: ").append(toIndentedString(height)).append("\n");
      sb.append("    width: ").append(toIndentedString(width)).append("\n");
      sb.append("}");
      return sb.toString();
    }
  
    /**
     * Convert the given object to string with each line indented by 4 spaces
     * (except the first line).
     */
    private String toIndentedString(Object o) {
      if (o == null) {
        return "null";
      }
      return o.toString().replace("\n", "\n    ");
    }
  
  }
  
  