com.ebay.sell.inventory.inventoryitemgroups.models.VariesBy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebay-sdk Show documentation
Show all versions of ebay-sdk Show documentation
Java SDK for eBay REST APIs
package com.ebay.sell.inventory.inventoryitemgroups.models;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
public class VariesBy {
private List specifications = new LinkedList<>();
private List aspectsImageVariesBy = new LinkedList<>();
public List getSpecifications() {
return specifications;
}
public void setSpecifications(List specifications) {
this.specifications = specifications;
}
public List getAspectsImageVariesBy() {
return aspectsImageVariesBy;
}
public void setAspectsImageVariesBy(List aspectsImageVariesBy) {
this.aspectsImageVariesBy = aspectsImageVariesBy;
}
@Override
public boolean equals(final Object object) {
if (object == this) {
return true;
}
if (!(object instanceof VariesBy)) {
return false;
}
final VariesBy variesBy = (VariesBy) object;
return new EqualsBuilder().append(getSpecifications(), variesBy.getSpecifications())
.append(getAspectsImageVariesBy(), variesBy.getAspectsImageVariesBy()).isEquals();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(getSpecifications()).append(getAspectsImageVariesBy()).toHashCode();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy