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

com.precisely.apis.model.ValidateMailingAddressUSCANAPIInputRow Maven / Gradle / Ivy

Go to download

Java SDK for accessing Precisely APIs which transform your business with new insights. Enrich and enhance your data, applications, business processes, and workflows with hundreds of Location and Identity datasets and APIs.

The newest version!
/*
 * Precisely APIs
 * Enhance & enrich your data, applications, business processes, and workflows with rich location, information, and identify APIs.
 *
 * The version of the OpenAPI document: 18.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.GetPostalCodesAPIOutputUserFields;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

/**
 * ValidateMailingAddressUSCANAPIInputRow
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-13T16:39:48.889177+05:30[Asia/Calcutta]")
public class ValidateMailingAddressUSCANAPIInputRow {
  public static final String SERIALIZED_NAME_USER_FIELDS = "user_fields";
  @SerializedName(SERIALIZED_NAME_USER_FIELDS)
  private List userFields = null;

  public static final String SERIALIZED_NAME_ADDRESS_LINE1 = "AddressLine1";
  @SerializedName(SERIALIZED_NAME_ADDRESS_LINE1)
  private String addressLine1;

  public static final String SERIALIZED_NAME_ADDRESS_LINE2 = "AddressLine2";
  @SerializedName(SERIALIZED_NAME_ADDRESS_LINE2)
  private String addressLine2;

  public static final String SERIALIZED_NAME_ADDRESS_LINE3 = "AddressLine3";
  @SerializedName(SERIALIZED_NAME_ADDRESS_LINE3)
  private String addressLine3;

  public static final String SERIALIZED_NAME_ADDRESS_LINE4 = "AddressLine4";
  @SerializedName(SERIALIZED_NAME_ADDRESS_LINE4)
  private String addressLine4;

  public static final String SERIALIZED_NAME_FIRM_NAME = "FirmName";
  @SerializedName(SERIALIZED_NAME_FIRM_NAME)
  private String firmName;

  public static final String SERIALIZED_NAME_CITY = "City";
  @SerializedName(SERIALIZED_NAME_CITY)
  private String city;

  public static final String SERIALIZED_NAME_STATE_PROVINCE = "StateProvince";
  @SerializedName(SERIALIZED_NAME_STATE_PROVINCE)
  private String stateProvince;

  public static final String SERIALIZED_NAME_COUNTRY = "Country";
  @SerializedName(SERIALIZED_NAME_COUNTRY)
  private String country;

  public static final String SERIALIZED_NAME_POSTAL_CODE = "PostalCode";
  @SerializedName(SERIALIZED_NAME_POSTAL_CODE)
  private String postalCode;

  public static final String SERIALIZED_NAME_US_URBAN_NAME = "USUrbanName";
  @SerializedName(SERIALIZED_NAME_US_URBAN_NAME)
  private String usUrbanName;

  public static final String SERIALIZED_NAME_CAN_LANGUAGE = "CanLanguage";
  @SerializedName(SERIALIZED_NAME_CAN_LANGUAGE)
  private String canLanguage;

  public ValidateMailingAddressUSCANAPIInputRow() { 
  }

  public ValidateMailingAddressUSCANAPIInputRow userFields(List userFields) {
    
    this.userFields = userFields;
    return this;
  }

  public ValidateMailingAddressUSCANAPIInputRow addUserFieldsItem(GetPostalCodesAPIOutputUserFields userFieldsItem) {
    if (this.userFields == null) {
      this.userFields = new ArrayList();
    }
    this.userFields.add(userFieldsItem);
    return this;
  }

   /**
   * These fields are returned, unmodified, in the user_fields section of the response.
   * @return userFields
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "These fields are returned, unmodified, in the user_fields section of the response.")

  public List getUserFields() {
    return userFields;
  }


  public void setUserFields(List userFields) {
    this.userFields = userFields;
  }


  public ValidateMailingAddressUSCANAPIInputRow addressLine1(String addressLine1) {
    
    this.addressLine1 = addressLine1;
    return this;
  }

   /**
   * The first address line.
   * @return addressLine1
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The first address line.")

  public String getAddressLine1() {
    return addressLine1;
  }


  public void setAddressLine1(String addressLine1) {
    this.addressLine1 = addressLine1;
  }


  public ValidateMailingAddressUSCANAPIInputRow addressLine2(String addressLine2) {
    
    this.addressLine2 = addressLine2;
    return this;
  }

   /**
   * The second address line.
   * @return addressLine2
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The second address line.")

  public String getAddressLine2() {
    return addressLine2;
  }


  public void setAddressLine2(String addressLine2) {
    this.addressLine2 = addressLine2;
  }


  public ValidateMailingAddressUSCANAPIInputRow addressLine3(String addressLine3) {
    
    this.addressLine3 = addressLine3;
    return this;
  }

   /**
   * The third address line.
   * @return addressLine3
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The third address line.")

  public String getAddressLine3() {
    return addressLine3;
  }


  public void setAddressLine3(String addressLine3) {
    this.addressLine3 = addressLine3;
  }


  public ValidateMailingAddressUSCANAPIInputRow addressLine4(String addressLine4) {
    
    this.addressLine4 = addressLine4;
    return this;
  }

   /**
   * The fourth address line.
   * @return addressLine4
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The fourth address line.")

  public String getAddressLine4() {
    return addressLine4;
  }


  public void setAddressLine4(String addressLine4) {
    this.addressLine4 = addressLine4;
  }


  public ValidateMailingAddressUSCANAPIInputRow firmName(String firmName) {
    
    this.firmName = firmName;
    return this;
  }

   /**
   * The company or firm name.
   * @return firmName
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The company or firm name.")

  public String getFirmName() {
    return firmName;
  }


  public void setFirmName(String firmName) {
    this.firmName = firmName;
  }


  public ValidateMailingAddressUSCANAPIInputRow city(String city) {
    
    this.city = city;
    return this;
  }

   /**
   * The city name.
   * @return city
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The city name.")

  public String getCity() {
    return city;
  }


  public void setCity(String city) {
    this.city = city;
  }


  public ValidateMailingAddressUSCANAPIInputRow stateProvince(String stateProvince) {
    
    this.stateProvince = stateProvince;
    return this;
  }

   /**
   * The state or province.
   * @return stateProvince
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The state or province.")

  public String getStateProvince() {
    return stateProvince;
  }


  public void setStateProvince(String stateProvince) {
    this.stateProvince = stateProvince;
  }


  public ValidateMailingAddressUSCANAPIInputRow country(String country) {
    
    this.country = country;
    return this;
  }

   /**
   * The country code or name.
   * @return country
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The country code or name.")

  public String getCountry() {
    return country;
  }


  public void setCountry(String country) {
    this.country = country;
  }


  public ValidateMailingAddressUSCANAPIInputRow postalCode(String postalCode) {
    
    this.postalCode = postalCode;
    return this;
  }

   /**
   * The postal code for the address.
   * @return postalCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The postal code for the address.")

  public String getPostalCode() {
    return postalCode;
  }


  public void setPostalCode(String postalCode) {
    this.postalCode = postalCode;
  }


  public ValidateMailingAddressUSCANAPIInputRow usUrbanName(String usUrbanName) {
    
    this.usUrbanName = usUrbanName;
    return this;
  }

   /**
   * U.S. address urbanization name. Used primarily for Puerto Rico addresses.
   * @return usUrbanName
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "U.S. address urbanization name. Used primarily for Puerto Rico addresses.")

  public String getUsUrbanName() {
    return usUrbanName;
  }


  public void setUsUrbanName(String usUrbanName) {
    this.usUrbanName = usUrbanName;
  }


  public ValidateMailingAddressUSCANAPIInputRow canLanguage(String canLanguage) {
    
    this.canLanguage = canLanguage;
    return this;
  }

   /**
   * Canadian language.
   * @return canLanguage
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "Canadian language.")

  public String getCanLanguage() {
    return canLanguage;
  }


  public void setCanLanguage(String canLanguage) {
    this.canLanguage = canLanguage;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ValidateMailingAddressUSCANAPIInputRow validateMailingAddressUSCANAPIInputRow = (ValidateMailingAddressUSCANAPIInputRow) o;
    return Objects.equals(this.userFields, validateMailingAddressUSCANAPIInputRow.userFields) &&
        Objects.equals(this.addressLine1, validateMailingAddressUSCANAPIInputRow.addressLine1) &&
        Objects.equals(this.addressLine2, validateMailingAddressUSCANAPIInputRow.addressLine2) &&
        Objects.equals(this.addressLine3, validateMailingAddressUSCANAPIInputRow.addressLine3) &&
        Objects.equals(this.addressLine4, validateMailingAddressUSCANAPIInputRow.addressLine4) &&
        Objects.equals(this.firmName, validateMailingAddressUSCANAPIInputRow.firmName) &&
        Objects.equals(this.city, validateMailingAddressUSCANAPIInputRow.city) &&
        Objects.equals(this.stateProvince, validateMailingAddressUSCANAPIInputRow.stateProvince) &&
        Objects.equals(this.country, validateMailingAddressUSCANAPIInputRow.country) &&
        Objects.equals(this.postalCode, validateMailingAddressUSCANAPIInputRow.postalCode) &&
        Objects.equals(this.usUrbanName, validateMailingAddressUSCANAPIInputRow.usUrbanName) &&
        Objects.equals(this.canLanguage, validateMailingAddressUSCANAPIInputRow.canLanguage);
  }

  @Override
  public int hashCode() {
    return Objects.hash(userFields, addressLine1, addressLine2, addressLine3, addressLine4, firmName, city, stateProvince, country, postalCode, usUrbanName, canLanguage);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ValidateMailingAddressUSCANAPIInputRow {\n");
    sb.append("    userFields: ").append(toIndentedString(userFields)).append("\n");
    sb.append("    addressLine1: ").append(toIndentedString(addressLine1)).append("\n");
    sb.append("    addressLine2: ").append(toIndentedString(addressLine2)).append("\n");
    sb.append("    addressLine3: ").append(toIndentedString(addressLine3)).append("\n");
    sb.append("    addressLine4: ").append(toIndentedString(addressLine4)).append("\n");
    sb.append("    firmName: ").append(toIndentedString(firmName)).append("\n");
    sb.append("    city: ").append(toIndentedString(city)).append("\n");
    sb.append("    stateProvince: ").append(toIndentedString(stateProvince)).append("\n");
    sb.append("    country: ").append(toIndentedString(country)).append("\n");
    sb.append("    postalCode: ").append(toIndentedString(postalCode)).append("\n");
    sb.append("    usUrbanName: ").append(toIndentedString(usUrbanName)).append("\n");
    sb.append("    canLanguage: ").append(toIndentedString(canLanguage)).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    ");
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy