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

com.ellucian.generated.eedm.addresses.v6_0.Addresses Maven / Gradle / Ivy


package com.ellucian.generated.eedm.addresses.v6_0;

import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.ellucian.generated.eedm.academic_catalogs.v6_0.Metadata;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * Addresses
 * 

* The place where a person, organization, or the like is located or may be reached. * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "metadata", "id", "addressLines", "place", "latitude", "longitude", "geographicAreas" }) @Generated("jsonschema2pojo") public class Addresses { /** * Metadata *

* Metadata about the JSON payload * */ @JsonProperty("metadata") @JsonPropertyDescription("Metadata about the JSON payload") private Metadata metadata; /** * ID *

* The global identifier of the Address. * (Required) * */ @JsonProperty("id") @JsonPropertyDescription("The global identifier of the Address.") private String id; /** * Address *

* The address lines of the address, such as a street address, post office box number, or city, region, and postal code. * (Required) * */ @JsonProperty("addressLines") @JsonPropertyDescription("The address lines of the address, such as a street address, post office box number, or city, region, and postal code.") private List addressLines = new ArrayList(); /** * Place *

* A country specific postal region. Postal regions are expressed as a hierarchy of country, region, and sub-region, and as a locality with postal automation codes * */ @JsonProperty("place") @JsonPropertyDescription("A country specific postal region. Postal regions are expressed as a hierarchy of country, region, and sub-region, and as a locality with postal automation codes") private Object place; /** * Latitude *

* The latitude of the location. * */ @JsonProperty("latitude") @JsonPropertyDescription("The latitude of the location.") private Object latitude; /** * Longitude *

* The longitude of the location. * */ @JsonProperty("longitude") @JsonPropertyDescription("The longitude of the location.") private Object longitude; /** * Geographic Areas *

* The geographic areas assigned to this location. * */ @JsonProperty("geographicAreas") @JsonPropertyDescription("The geographic areas assigned to this location.") private List geographicAreas = new ArrayList(); /** * Metadata *

* Metadata about the JSON payload * */ @JsonProperty("metadata") public Metadata getMetadata() { return metadata; } /** * Metadata *

* Metadata about the JSON payload * */ @JsonProperty("metadata") public void setMetadata(Metadata metadata) { this.metadata = metadata; } public Addresses withMetadata(Metadata metadata) { this.metadata = metadata; return this; } /** * ID *

* The global identifier of the Address. * (Required) * */ @JsonProperty("id") public String getId() { return id; } /** * ID *

* The global identifier of the Address. * (Required) * */ @JsonProperty("id") public void setId(String id) { this.id = id; } public Addresses withId(String id) { this.id = id; return this; } /** * Address *

* The address lines of the address, such as a street address, post office box number, or city, region, and postal code. * (Required) * */ @JsonProperty("addressLines") public List getAddressLines() { return addressLines; } /** * Address *

* The address lines of the address, such as a street address, post office box number, or city, region, and postal code. * (Required) * */ @JsonProperty("addressLines") public void setAddressLines(List addressLines) { this.addressLines = addressLines; } public Addresses withAddressLines(List addressLines) { this.addressLines = addressLines; return this; } /** * Place *

* A country specific postal region. Postal regions are expressed as a hierarchy of country, region, and sub-region, and as a locality with postal automation codes * */ @JsonProperty("place") public Object getPlace() { return place; } /** * Place *

* A country specific postal region. Postal regions are expressed as a hierarchy of country, region, and sub-region, and as a locality with postal automation codes * */ @JsonProperty("place") public void setPlace(Object place) { this.place = place; } public Addresses withPlace(Object place) { this.place = place; return this; } /** * Latitude *

* The latitude of the location. * */ @JsonProperty("latitude") public Object getLatitude() { return latitude; } /** * Latitude *

* The latitude of the location. * */ @JsonProperty("latitude") public void setLatitude(Object latitude) { this.latitude = latitude; } public Addresses withLatitude(Object latitude) { this.latitude = latitude; return this; } /** * Longitude *

* The longitude of the location. * */ @JsonProperty("longitude") public Object getLongitude() { return longitude; } /** * Longitude *

* The longitude of the location. * */ @JsonProperty("longitude") public void setLongitude(Object longitude) { this.longitude = longitude; } public Addresses withLongitude(Object longitude) { this.longitude = longitude; return this; } /** * Geographic Areas *

* The geographic areas assigned to this location. * */ @JsonProperty("geographicAreas") public List getGeographicAreas() { return geographicAreas; } /** * Geographic Areas *

* The geographic areas assigned to this location. * */ @JsonProperty("geographicAreas") public void setGeographicAreas(List geographicAreas) { this.geographicAreas = geographicAreas; } public Addresses withGeographicAreas(List geographicAreas) { this.geographicAreas = geographicAreas; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Addresses.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("metadata"); sb.append('='); sb.append(((this.metadata == null)?"":this.metadata)); sb.append(','); sb.append("id"); sb.append('='); sb.append(((this.id == null)?"":this.id)); sb.append(','); sb.append("addressLines"); sb.append('='); sb.append(((this.addressLines == null)?"":this.addressLines)); sb.append(','); sb.append("place"); sb.append('='); sb.append(((this.place == null)?"":this.place)); sb.append(','); sb.append("latitude"); sb.append('='); sb.append(((this.latitude == null)?"":this.latitude)); sb.append(','); sb.append("longitude"); sb.append('='); sb.append(((this.longitude == null)?"":this.longitude)); sb.append(','); sb.append("geographicAreas"); sb.append('='); sb.append(((this.geographicAreas == null)?"":this.geographicAreas)); sb.append(','); if (sb.charAt((sb.length()- 1)) == ',') { sb.setCharAt((sb.length()- 1), ']'); } else { sb.append(']'); } return sb.toString(); } @Override public int hashCode() { int result = 1; result = ((result* 31)+((this.geographicAreas == null)? 0 :this.geographicAreas.hashCode())); result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode())); result = ((result* 31)+((this.latitude == null)? 0 :this.latitude.hashCode())); result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); result = ((result* 31)+((this.addressLines == null)? 0 :this.addressLines.hashCode())); result = ((result* 31)+((this.place == null)? 0 :this.place.hashCode())); result = ((result* 31)+((this.longitude == null)? 0 :this.longitude.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Addresses) == false) { return false; } Addresses rhs = ((Addresses) other); return ((((((((this.geographicAreas == rhs.geographicAreas)||((this.geographicAreas!= null)&&this.geographicAreas.equals(rhs.geographicAreas)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.latitude == rhs.latitude)||((this.latitude!= null)&&this.latitude.equals(rhs.latitude))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.addressLines == rhs.addressLines)||((this.addressLines!= null)&&this.addressLines.equals(rhs.addressLines))))&&((this.place == rhs.place)||((this.place!= null)&&this.place.equals(rhs.place))))&&((this.longitude == rhs.longitude)||((this.longitude!= null)&&this.longitude.equals(rhs.longitude)))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy