package io.reactivesw.customer.server.catalog.models;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;

/**
 * Created by umasuo on 16/11/17.
 */
@ApiModel
public class Image {
}

@@ -197,10 +197,1498 @@
 Image %7B%0A
+  /**%0A   * URL of the image in its original size.%0A   * This can be used to obtain the image in different sizes.%0A   */%0A  private String url;%0A%0A  /**%0A   * Dimensions of the original image.%0A   * This can be used by your application e.g. to determine%0A   * whether the image is large enough to display a zoom view.%0A   */%0A  //TODO String may not ok?%0A  private String dimensions;%0A%0A  /**%0A   * Custom label that can be used, for example, as an image description.%0A   */%0A  private String label;%0A%0A  /**%0A   * Gets url.%0A   *%0A   * @return the url%0A   */%0A  public String getUrl() %7B%0A    return url;%0A  %7D%0A%0A  /**%0A   * Sets url.%0A   *%0A   * @param url the url%0A   */%0A  public void setUrl(String url) %7B%0A    this.url = url;%0A  %7D%0A%0A  /**%0A   * Gets dimensions.%0A   *%0A   * @return the dimensions%0A   */%0A  public String getDimensions() %7B%0A    return dimensions;%0A  %7D%0A%0A  /**%0A   * Sets dimensions.%0A   *%0A   * @param dimensions the dimensions%0A   */%0A  public void setDimensions(String dimensions) %7B%0A    this.dimensions = dimensions;%0A  %7D%0A%0A  /**%0A   * Gets label.%0A   *%0A   * @return the label%0A   */%0A  public String getLabel() %7B%0A    return label;%0A  %7D%0A%0A  /**%0A   * Sets label.%0A   *%0A   * @param label the label%0A   */%0A  public void setLabel(String label) %7B%0A    this.label = label;%0A  %7D%0A%0A  /**%0A   * toString method.%0A   *%0A   * @return String%0A   */%0A  @Override%0A  public String toString() %7B%0A    return %22Image%7B%22 +%0A        %22url='%22 + url + '%5C'' +%0A        %22, dimensions='%22 + dimensions + '%5C'' +%0A        %22, label='%22 + label + '%5C'' +%0A        '%7D';%0A  %7D%0A
 %7D%0A

edit Image