1 package net.pterodactylus.rhynodge.filters.webpages.savoy;
3 import com.fasterxml.jackson.annotation.JsonProperty;
5 import java.time.LocalDateTime;
6 import java.util.Objects;
9 * Information about a performance and a link to buy a ticket.
11 public class Performance {
14 private final LocalDateTime time;
17 private final String link;
19 public Performance() {
23 public Performance(LocalDateTime time, String link) {
28 public LocalDateTime getTime() {
32 public String getLink() {
37 public int hashCode() {
38 return Objects.hash(time, link);
42 public boolean equals(Object o) {
43 if (this == o) return true;
44 if (o == null || getClass() != o.getClass()) return false;
45 Performance that = (Performance) o;
46 return Objects.equals(time, that.time) && Objects.equals(link, that.link);