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

com.ellucian.generated.eedm.requisitions.v11_0.ManualVendorDetails Maven / Gradle / Ivy


package com.ellucian.generated.eedm.requisitions.v11_0;

import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * Manual Vendor Details
 * 

* The details associated with an undefined vendor or an override to an existing vendor's information. * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "name", "type", "addressLines", "place", "contact" }) @Generated("jsonschema2pojo") public class ManualVendorDetails { /** * Name *

* The name of the vendor. * */ @JsonProperty("name") @JsonPropertyDescription("The name of the vendor.") private String name; /** * Type *

* An indication of whether the vendor is a person or an organization. * */ @JsonProperty("type") @JsonPropertyDescription("An indication of whether the vendor is a person or an organization.") private Object type; /** * Address Lines *

* The address lines of the vendor's address, such as a street address, post office box number, or city, region, and postal code. * */ @JsonProperty("addressLines") @JsonPropertyDescription("The address lines of the vendor's 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; /** * Contact *

* The contact for the vendor. * */ @JsonProperty("contact") @JsonPropertyDescription("The contact for the vendor.") private Contact contact; /** * Name *

* The name of the vendor. * */ @JsonProperty("name") public String getName() { return name; } /** * Name *

* The name of the vendor. * */ @JsonProperty("name") public void setName(String name) { this.name = name; } public ManualVendorDetails withName(String name) { this.name = name; return this; } /** * Type *

* An indication of whether the vendor is a person or an organization. * */ @JsonProperty("type") public Object getType() { return type; } /** * Type *

* An indication of whether the vendor is a person or an organization. * */ @JsonProperty("type") public void setType(Object type) { this.type = type; } public ManualVendorDetails withType(Object type) { this.type = type; return this; } /** * Address Lines *

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

* The address lines of the vendor's address, such as a street address, post office box number, or city, region, and postal code. * */ @JsonProperty("addressLines") public void setAddressLines(List addressLines) { this.addressLines = addressLines; } public ManualVendorDetails 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 ManualVendorDetails withPlace(Object place) { this.place = place; return this; } /** * Contact *

* The contact for the vendor. * */ @JsonProperty("contact") public Contact getContact() { return contact; } /** * Contact *

* The contact for the vendor. * */ @JsonProperty("contact") public void setContact(Contact contact) { this.contact = contact; } public ManualVendorDetails withContact(Contact contact) { this.contact = contact; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(ManualVendorDetails.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("name"); sb.append('='); sb.append(((this.name == null)?"":this.name)); sb.append(','); sb.append("type"); sb.append('='); sb.append(((this.type == null)?"":this.type)); 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("contact"); sb.append('='); sb.append(((this.contact == null)?"":this.contact)); 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.name == null)? 0 :this.name.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.type == null)? 0 :this.type.hashCode())); result = ((result* 31)+((this.contact == null)? 0 :this.contact.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ManualVendorDetails) == false) { return false; } ManualVendorDetails rhs = ((ManualVendorDetails) other); return ((((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((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.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.contact == rhs.contact)||((this.contact!= null)&&this.contact.equals(rhs.contact)))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy