View Javadoc
1   package org.oxerr.seatgeek.client.model.response;
2   
3   import java.io.Serializable;
4   
5   import org.apache.commons.lang3.builder.EqualsBuilder;
6   import org.apache.commons.lang3.builder.HashCodeBuilder;
7   import org.apache.commons.lang3.builder.ToStringBuilder;
8   
9   public class Meta implements Serializable {
10  
11  	private static final long serialVersionUID = 2023031501L;
12  
13  	private Integer page;
14  
15  	private Integer perPage;
16  
17  	private Long total;
18  
19  	private Integer status;
20  
21  	public Integer getPage() {
22  		return page;
23  	}
24  
25  	public void setPage(Integer page) {
26  		this.page = page;
27  	}
28  
29  	public Integer getPerPage() {
30  		return perPage;
31  	}
32  
33  	public void setPerPage(Integer perPage) {
34  		this.perPage = perPage;
35  	}
36  
37  	public Long getTotal() {
38  		return total;
39  	}
40  
41  	public void setTotal(Long total) {
42  		this.total = total;
43  	}
44  
45  	public Integer getStatus() {
46  		return status;
47  	}
48  
49  	public void setStatus(Integer status) {
50  		this.status = status;
51  	}
52  
53  	@Override
54  	public int hashCode() {
55  		return HashCodeBuilder.reflectionHashCode(this);
56  	}
57  
58  	@Override
59  	public boolean equals(Object obj) {
60  		if (obj == null) {
61  			return false;
62  		}
63  		if (obj == this) {
64  			return true;
65  		}
66  		if (obj.getClass() != getClass()) {
67  			return false;
68  		}
69  		Meta rhs = (Meta) obj;
70  		return EqualsBuilder.reflectionEquals(this, rhs);
71  	}
72  
73  	@Override
74  	public String toString() {
75  		return ToStringBuilder.reflectionToString(this);
76  	}
77  
78  }