All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.plenigo.sdk.models.Image Maven / Gradle / Ivy

There is a newer version: 1.7.2
Show newest version
package com.plenigo.sdk.models;


import java.io.Serializable;

/**
 * 

* This object contains image information related to a product *

*

* Thread safety: This class is thread safe and can be injected. *

*/ public class Image implements Serializable { private String url; private String description; private String altText; /** * Image constructor. * * @param url The URL of the image * @param description The description of the image * @param altText The alt text of the image */ public Image(String url, String description, String altText) { this.url = url; this.description = description; this.altText = altText; } /** * The URL of the image. * * @return The URL of the image */ public String getUrl() { return url; } /** * The description of the image. * * @return The description of the image */ public String getDescription() { return description; } /** * The alt text of the image. * * @return The alt text of the image */ public String getAltText() { return altText; } @Override public String toString() { return "Image{" + "url='" + url + '\'' + ", description='" + description + '\'' + ", altText='" + altText + '\'' + '}'; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy