View Javadoc
1   package org.oxerr.viagogo.model.response.catalog;
2   
3   import org.apache.commons.lang3.builder.EqualsBuilder;
4   import org.apache.commons.lang3.builder.HashCodeBuilder;
5   
6   /**
7    * An venue on the viagogo platform.
8    *
9    * <a href="https://developer.viagogo.net/api-reference/catalog#tag/Resource_Venue">Venue</a>
10   */
11  public class Venue extends EmbeddedVenue {
12  
13  	private static final long serialVersionUID = 2023021301L;
14  
15  	@Override
16  	public int hashCode() {
17  		return HashCodeBuilder.reflectionHashCode(this);
18  	}
19  
20  	@Override
21  	public boolean equals(Object obj) {
22  		if (this == obj) {
23  			return true;
24  		}
25  		if (!(obj instanceof Venue)) {
26  			return false;
27  		}
28  		Venue rhs = (Venue) obj;
29  		return EqualsBuilder.reflectionEquals(this, rhs);
30  	}
31  
32  }