All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.easilydo.sift.model.gen.EventReservation Maven / Gradle / Ivy

The newest version!

package com.easilydo.sift.model.gen;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.easilydo.sift.model.Sift;

/**
 * EventReservation
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @Generated("org.jsonschema2pojo") @JsonPropertyOrder({ "provider", "reservationFor", "reservedTicket" }) public class EventReservation extends Sift { /** * Organization *

* * */ @JsonProperty("provider") private Organization provider; /** * Event *

* * */ @JsonProperty("reservationFor") private Event reservationFor; @JsonProperty("reservedTicket") private List reservedTicket = new ArrayList(); @JsonIgnore private Map additionalProperties = new HashMap(); /** * Organization *

* * * @return * The provider */ @JsonProperty("provider") public Organization getProvider() { return provider; } /** * Organization *

* * * @param provider * The provider */ @JsonProperty("provider") public void setProvider(Organization provider) { this.provider = provider; } /** * Event *

* * * @return * The reservationFor */ @JsonProperty("reservationFor") public Event getReservationFor() { return reservationFor; } /** * Event *

* * * @param reservationFor * The reservationFor */ @JsonProperty("reservationFor") public void setReservationFor(Event reservationFor) { this.reservationFor = reservationFor; } /** * * @return * The reservedTicket */ @JsonProperty("reservedTicket") public List getReservedTicket() { return reservedTicket; } /** * * @param reservedTicket * The reservedTicket */ @JsonProperty("reservedTicket") public void setReservedTicket(List reservedTicket) { this.reservedTicket = reservedTicket; } @Override public String toString() { return ToStringBuilder.reflectionToString(this); } @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } @Override public int hashCode() { return new HashCodeBuilder().append(provider).append(reservationFor).append(reservedTicket).append(additionalProperties).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof EventReservation) == false) { return false; } EventReservation rhs = ((EventReservation) other); return new EqualsBuilder().append(provider, rhs.provider).append(reservationFor, rhs.reservationFor).append(reservedTicket, rhs.reservedTicket).append(additionalProperties, rhs.additionalProperties).isEquals(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy