View Javadoc
1   package org.oxerr.seatgeek.client.model.response;
2   
3   import java.io.Serializable;
4   import java.util.List;
5   
6   import org.apache.commons.lang3.builder.EqualsBuilder;
7   import org.apache.commons.lang3.builder.HashCodeBuilder;
8   import org.apache.commons.lang3.builder.ToStringBuilder;
9   
10  public class MultipleListingsResponse extends Response implements Serializable {
11  
12  	private static final long serialVersionUID = 2023031501L;
13  
14  	private List<Listing> listings;
15  
16  	public List<Listing> getListings() {
17  		return listings;
18  	}
19  
20  	public void setListings(List<Listing> listings) {
21  		this.listings = listings;
22  	}
23  
24  	@Override
25  	public int hashCode() {
26  		return HashCodeBuilder.reflectionHashCode(this);
27  	}
28  
29  	@Override
30  	public boolean equals(Object obj) {
31  		if (obj == null) {
32  			return false;
33  		}
34  		if (obj == this) {
35  			return true;
36  		}
37  		if (obj.getClass() != getClass()) {
38  			return false;
39  		}
40  		MultipleListingsResponse rhs = (MultipleListingsResponse) obj;
41  		return EqualsBuilder.reflectionEquals(this, rhs);
42  	}
43  
44  	@Override
45  	public String toString() {
46  		return ToStringBuilder.reflectionToString(this);
47  	}
48  
49  }