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

com.easilydo.sift.model.gen.Product Maven / Gradle / Ivy

The newest version!

package com.easilydo.sift.model.gen;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;


/**
 * Product
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @Generated("org.jsonschema2pojo") @JsonPropertyOrder({ "description", "image", "name", "productID", "url" }) public class Product { @JsonProperty("description") private String description; @JsonProperty("image") private String image; @JsonProperty("name") private String name; @JsonProperty("productID") private String productID; @JsonProperty("url") private String url; @JsonIgnore private Map additionalProperties = new HashMap(); /** * * @return * The description */ @JsonProperty("description") public String getDescription() { return description; } /** * * @param description * The description */ @JsonProperty("description") public void setDescription(String description) { this.description = description; } /** * * @return * The image */ @JsonProperty("image") public String getImage() { return image; } /** * * @param image * The image */ @JsonProperty("image") public void setImage(String image) { this.image = image; } /** * * @return * The name */ @JsonProperty("name") public String getName() { return name; } /** * * @param name * The name */ @JsonProperty("name") public void setName(String name) { this.name = name; } /** * * @return * The productID */ @JsonProperty("productID") public String getProductID() { return productID; } /** * * @param productID * The productID */ @JsonProperty("productID") public void setProductID(String productID) { this.productID = productID; } /** * * @return * The url */ @JsonProperty("url") public String getUrl() { return url; } /** * * @param url * The url */ @JsonProperty("url") public void setUrl(String url) { this.url = url; } @Override public String toString() { return ToStringBuilder.reflectionToString(this); } @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } @Override public int hashCode() { return new HashCodeBuilder().append(description).append(image).append(name).append(productID).append(url).append(additionalProperties).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Product) == false) { return false; } Product rhs = ((Product) other); return new EqualsBuilder().append(description, rhs.description).append(image, rhs.image).append(name, rhs.name).append(productID, rhs.productID).append(url, rhs.url).append(additionalProperties, rhs.additionalProperties).isEquals(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy