View Javadoc
1   package org.oxerr.stubhub.client.model;
2   
3   import java.io.Serializable;
4   import java.time.LocalDateTime;
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 EventMappingRequest implements Serializable {
11  
12  	private static final long serialVersionUID = 2026051801L;
13  
14  	private String eventName;
15  
16  	/**
17  	 * Date and Time that the event start.
18  	 * Must be YYYY-MM-ddTHH:mm:ss format (e.g. 2000-01-01T12:00:00)
19  	 */
20  	private LocalDateTime eventDate;
21  
22  	private String venueName;
23  
24  	private Boolean isEventDateConfirmed;
25  
26  	private String eventNote;
27  
28  	private String city;
29  
30  	private String stateProvince;
31  
32  	/**
33  	 * CountryCode must be in ISO format (e.g. US, CA, MX, etc.)
34  	 */
35  	private String countryCode;
36  
37  	public String getEventName() {
38  		return eventName;
39  	}
40  
41  	public void setEventName(String eventName) {
42  		this.eventName = eventName;
43  	}
44  
45  	public LocalDateTime getEventDate() {
46  		return eventDate;
47  	}
48  
49  	public void setEventDate(LocalDateTime eventDate) {
50  		this.eventDate = eventDate;
51  	}
52  
53  	public String getVenueName() {
54  		return venueName;
55  	}
56  
57  	public void setVenueName(String venueName) {
58  		this.venueName = venueName;
59  	}
60  
61  	public Boolean getIsEventDateConfirmed() {
62  		return isEventDateConfirmed;
63  	}
64  
65  	public void setIsEventDateConfirmed(Boolean isEventDateConfirmed) {
66  		this.isEventDateConfirmed = isEventDateConfirmed;
67  	}
68  
69  	public String getEventNote() {
70  		return eventNote;
71  	}
72  
73  	public void setEventNote(String eventNote) {
74  		this.eventNote = eventNote;
75  	}
76  
77  	public String getCity() {
78  		return city;
79  	}
80  
81  	public void setCity(String city) {
82  		this.city = city;
83  	}
84  
85  	public String getStateProvince() {
86  		return stateProvince;
87  	}
88  
89  	public void setStateProvince(String stateProvince) {
90  		this.stateProvince = stateProvince;
91  	}
92  
93  	public String getCountryCode() {
94  		return countryCode;
95  	}
96  
97  	public void setCountryCode(String countryCode) {
98  		this.countryCode = countryCode;
99  	}
100 
101 	@Override
102 	public int hashCode() {
103 		return HashCodeBuilder.reflectionHashCode(this);
104 	}
105 
106 	@Override
107 	public boolean equals(Object obj) {
108 		return EqualsBuilder.reflectionEquals(this, obj);
109 	}
110 
111 	@Override
112 	public String toString() {
113 		return ToStringBuilder.reflectionToString(this);
114 	}
115 }