
com.ellucian.generated.eedm.industry_classifications.v7_0.IndustryClassifications Maven / Gradle / Ivy
package com.ellucian.generated.eedm.industry_classifications.v7_0;
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;
/**
* Industry Classifications
*
* A list of standard industry classifications that may be specified for an organization.
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"metadata",
"id",
"title",
"code",
"description",
"type"
})
@Generated("jsonschema2pojo")
public class IndustryClassifications {
/**
* Metadata
*
* Metadata about the JSON payload
*
*/
@JsonProperty("metadata")
@JsonPropertyDescription("Metadata about the JSON payload")
private Metadata metadata;
/**
* ID
*
* The global identifier of the industry-classifications.
* (Required)
*
*/
@JsonProperty("id")
@JsonPropertyDescription("The global identifier of the industry-classifications.")
private String id;
/**
* Title
*
* The full name of the industry-classifications.
* (Required)
*
*/
@JsonProperty("title")
@JsonPropertyDescription("The full name of the industry-classifications.")
private String title;
/**
* Code
*
* The code assigned the industry for the type of classification.
* (Required)
*
*/
@JsonProperty("code")
@JsonPropertyDescription("The code assigned the industry for the type of classification.")
private String code;
/**
* Description
*
* The description of the industry-classifications.
*
*/
@JsonProperty("description")
@JsonPropertyDescription("The description of the industry-classifications.")
private String description;
/**
* Type
*
* The type of industry classification (e.g. NAICS)
*
*/
@JsonProperty("type")
@JsonPropertyDescription("The type of industry classification (e.g. NAICS)")
private String type;
/**
* 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 IndustryClassifications withMetadata(Metadata metadata) {
this.metadata = metadata;
return this;
}
/**
* ID
*
* The global identifier of the industry-classifications.
* (Required)
*
*/
@JsonProperty("id")
public String getId() {
return id;
}
/**
* ID
*
* The global identifier of the industry-classifications.
* (Required)
*
*/
@JsonProperty("id")
public void setId(String id) {
this.id = id;
}
public IndustryClassifications withId(String id) {
this.id = id;
return this;
}
/**
* Title
*
* The full name of the industry-classifications.
* (Required)
*
*/
@JsonProperty("title")
public String getTitle() {
return title;
}
/**
* Title
*
* The full name of the industry-classifications.
* (Required)
*
*/
@JsonProperty("title")
public void setTitle(String title) {
this.title = title;
}
public IndustryClassifications withTitle(String title) {
this.title = title;
return this;
}
/**
* Code
*
* The code assigned the industry for the type of classification.
* (Required)
*
*/
@JsonProperty("code")
public String getCode() {
return code;
}
/**
* Code
*
* The code assigned the industry for the type of classification.
* (Required)
*
*/
@JsonProperty("code")
public void setCode(String code) {
this.code = code;
}
public IndustryClassifications withCode(String code) {
this.code = code;
return this;
}
/**
* Description
*
* The description of the industry-classifications.
*
*/
@JsonProperty("description")
public String getDescription() {
return description;
}
/**
* Description
*
* The description of the industry-classifications.
*
*/
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public IndustryClassifications withDescription(String description) {
this.description = description;
return this;
}
/**
* Type
*
* The type of industry classification (e.g. NAICS)
*
*/
@JsonProperty("type")
public String getType() {
return type;
}
/**
* Type
*
* The type of industry classification (e.g. NAICS)
*
*/
@JsonProperty("type")
public void setType(String type) {
this.type = type;
}
public IndustryClassifications withType(String type) {
this.type = type;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(IndustryClassifications.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("title");
sb.append('=');
sb.append(((this.title == null)?"":this.title));
sb.append(',');
sb.append("code");
sb.append('=');
sb.append(((this.code == null)?"":this.code));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"":this.description));
sb.append(',');
sb.append("type");
sb.append('=');
sb.append(((this.type == null)?"":this.type));
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.metadata == null)? 0 :this.metadata.hashCode()));
result = ((result* 31)+((this.code == null)? 0 :this.code.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.title == null)? 0 :this.title.hashCode()));
result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof IndustryClassifications) == false) {
return false;
}
IndustryClassifications rhs = ((IndustryClassifications) other);
return (((((((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata)))&&((this.code == rhs.code)||((this.code!= null)&&this.code.equals(rhs.code))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))));
}
}