com.precisely.apis.model.AHJ Maven / Gradle / Ivy
/*
* Precisely APIs
* Enhance & enrich your data, applications, business processes, and workflows with rich location, information, and identify APIs.
*
* The version of the OpenAPI document: 15.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.precisely.apis.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.precisely.apis.model.AHJmailingAddress;
import com.precisely.apis.model.ContactPerson;
import com.precisely.apis.model.Coverage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* AHJ
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-04-12T11:12:38.208312800+05:30[Asia/Calcutta]")
public class AHJ {
public static final String SERIALIZED_NAME_AHJ_TYPE = "ahjType";
@SerializedName(SERIALIZED_NAME_AHJ_TYPE)
private String ahjType;
public static final String SERIALIZED_NAME_AHJ_ID = "ahjId";
@SerializedName(SERIALIZED_NAME_AHJ_ID)
private String ahjId;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private String type;
public static final String SERIALIZED_NAME_FCC_ID = "fccId";
@SerializedName(SERIALIZED_NAME_FCC_ID)
private String fccId;
public static final String SERIALIZED_NAME_AGENCY = "agency";
@SerializedName(SERIALIZED_NAME_AGENCY)
private String agency;
public static final String SERIALIZED_NAME_PHONE = "phone";
@SerializedName(SERIALIZED_NAME_PHONE)
private String phone;
public static final String SERIALIZED_NAME_COMMENTS = "comments";
@SerializedName(SERIALIZED_NAME_COMMENTS)
private String comments;
public static final String SERIALIZED_NAME_COVERAGE = "coverage";
@SerializedName(SERIALIZED_NAME_COVERAGE)
private Coverage coverage;
public static final String SERIALIZED_NAME_CONTACT_PERSON = "contactPerson";
@SerializedName(SERIALIZED_NAME_CONTACT_PERSON)
private ContactPerson contactPerson;
public static final String SERIALIZED_NAME_MAILING_ADDRESS = "mailingAddress";
@SerializedName(SERIALIZED_NAME_MAILING_ADDRESS)
private AHJmailingAddress mailingAddress;
public AHJ() {
}
public AHJ ahjType(String ahjType) {
this.ahjType = ahjType;
return this;
}
/**
* Get ahjType
* @return ahjType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getAhjType() {
return ahjType;
}
public void setAhjType(String ahjType) {
this.ahjType = ahjType;
}
public AHJ ahjId(String ahjId) {
this.ahjId = ahjId;
return this;
}
/**
* Get ahjId
* @return ahjId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getAhjId() {
return ahjId;
}
public void setAhjId(String ahjId) {
this.ahjId = ahjId;
}
public AHJ type(String type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public AHJ fccId(String fccId) {
this.fccId = fccId;
return this;
}
/**
* Get fccId
* @return fccId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getFccId() {
return fccId;
}
public void setFccId(String fccId) {
this.fccId = fccId;
}
public AHJ agency(String agency) {
this.agency = agency;
return this;
}
/**
* Get agency
* @return agency
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getAgency() {
return agency;
}
public void setAgency(String agency) {
this.agency = agency;
}
public AHJ phone(String phone) {
this.phone = phone;
return this;
}
/**
* Get phone
* @return phone
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public AHJ comments(String comments) {
this.comments = comments;
return this;
}
/**
* Get comments
* @return comments
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getComments() {
return comments;
}
public void setComments(String comments) {
this.comments = comments;
}
public AHJ coverage(Coverage coverage) {
this.coverage = coverage;
return this;
}
/**
* Get coverage
* @return coverage
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Coverage getCoverage() {
return coverage;
}
public void setCoverage(Coverage coverage) {
this.coverage = coverage;
}
public AHJ contactPerson(ContactPerson contactPerson) {
this.contactPerson = contactPerson;
return this;
}
/**
* Get contactPerson
* @return contactPerson
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ContactPerson getContactPerson() {
return contactPerson;
}
public void setContactPerson(ContactPerson contactPerson) {
this.contactPerson = contactPerson;
}
public AHJ mailingAddress(AHJmailingAddress mailingAddress) {
this.mailingAddress = mailingAddress;
return this;
}
/**
* Get mailingAddress
* @return mailingAddress
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public AHJmailingAddress getMailingAddress() {
return mailingAddress;
}
public void setMailingAddress(AHJmailingAddress mailingAddress) {
this.mailingAddress = mailingAddress;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AHJ AHJ = (AHJ) o;
return Objects.equals(this.ahjType, AHJ.ahjType) &&
Objects.equals(this.ahjId, AHJ.ahjId) &&
Objects.equals(this.type, AHJ.type) &&
Objects.equals(this.fccId, AHJ.fccId) &&
Objects.equals(this.agency, AHJ.agency) &&
Objects.equals(this.phone, AHJ.phone) &&
Objects.equals(this.comments, AHJ.comments) &&
Objects.equals(this.coverage, AHJ.coverage) &&
Objects.equals(this.contactPerson, AHJ.contactPerson) &&
Objects.equals(this.mailingAddress, AHJ.mailingAddress);
}
@Override
public int hashCode() {
return Objects.hash(ahjType, ahjId, type, fccId, agency, phone, comments, coverage, contactPerson, mailingAddress);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AHJ {\n");
sb.append(" ahjType: ").append(toIndentedString(ahjType)).append("\n");
sb.append(" ahjId: ").append(toIndentedString(ahjId)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" fccId: ").append(toIndentedString(fccId)).append("\n");
sb.append(" agency: ").append(toIndentedString(agency)).append("\n");
sb.append(" phone: ").append(toIndentedString(phone)).append("\n");
sb.append(" comments: ").append(toIndentedString(comments)).append("\n");
sb.append(" coverage: ").append(toIndentedString(coverage)).append("\n");
sb.append(" contactPerson: ").append(toIndentedString(contactPerson)).append("\n");
sb.append(" mailingAddress: ").append(toIndentedString(mailingAddress)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}