MultipleListingsResponse.java
package org.oxerr.seatgeek.client.model.response;
import java.io.Serializable;
import java.util.List;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
public class MultipleListingsResponse extends Response implements Serializable {
private static final long serialVersionUID = 2023031501L;
private List<Listing> listings;
public List<Listing> getListings() {
return listings;
}
public void setListings(List<Listing> listings) {
this.listings = listings;
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
@Override
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
if (obj == this) {
return true;
}
if (obj.getClass() != getClass()) {
return false;
}
MultipleListingsResponse rhs = (MultipleListingsResponse) obj;
return EqualsBuilder.reflectionEquals(this, rhs);
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
}