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

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

The newest version!

package com.easilydo.sift.model.gen;

import java.util.HashMap;
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;


/**
 * ContactPoint
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @Generated("org.jsonschema2pojo") @JsonPropertyOrder({ "email", "telephone", "contactType" }) public class ContactPoint { @JsonProperty("email") private String email; @JsonProperty("telephone") private String telephone; @JsonProperty("contactType") private String contactType; @JsonIgnore private Map additionalProperties = new HashMap(); /** * * @return * The email */ @JsonProperty("email") public String getEmail() { return email; } /** * * @param email * The email */ @JsonProperty("email") public void setEmail(String email) { this.email = email; } /** * * @return * The telephone */ @JsonProperty("telephone") public String getTelephone() { return telephone; } /** * * @param telephone * The telephone */ @JsonProperty("telephone") public void setTelephone(String telephone) { this.telephone = telephone; } /** * * @return * The contactType */ @JsonProperty("contactType") public String getContactType() { return contactType; } /** * * @param contactType * The contactType */ @JsonProperty("contactType") public void setContactType(String contactType) { this.contactType = contactType; } @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(email).append(telephone).append(contactType).append(additionalProperties).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ContactPoint) == false) { return false; } ContactPoint rhs = ((ContactPoint) other); return new EqualsBuilder().append(email, rhs.email).append(telephone, rhs.telephone).append(contactType, rhs.contactType).append(additionalProperties, rhs.additionalProperties).isEquals(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy