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

com.precisely.apis.model.TaxDistrictResponse 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.Census;
import com.precisely.apis.model.IPDTaxJurisdiction;
import com.precisely.apis.model.Ipd;
import com.precisely.apis.model.LatLongFields;
import com.precisely.apis.model.TaxRateMatchedAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

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

  public static final String SERIALIZED_NAME_OBJECT_ID = "objectId";
  @SerializedName(SERIALIZED_NAME_OBJECT_ID)
  private String objectId;

  public static final String SERIALIZED_NAME_CONFIDENCE = "confidence";
  @SerializedName(SERIALIZED_NAME_CONFIDENCE)
  private Double confidence;

  public static final String SERIALIZED_NAME_JURISDICTION = "jurisdiction";
  @SerializedName(SERIALIZED_NAME_JURISDICTION)
  private IPDTaxJurisdiction jurisdiction;

  public static final String SERIALIZED_NAME_NUM_OF_IPDS_FOUND = "numOfIpdsFound";
  @SerializedName(SERIALIZED_NAME_NUM_OF_IPDS_FOUND)
  private Integer numOfIpdsFound;

  public static final String SERIALIZED_NAME_IPDS = "ipds";
  @SerializedName(SERIALIZED_NAME_IPDS)
  private List ipds = null;

  public static final String SERIALIZED_NAME_MATCHED_ADDRESS = "matchedAddress";
  @SerializedName(SERIALIZED_NAME_MATCHED_ADDRESS)
  private TaxRateMatchedAddress matchedAddress;

  public static final String SERIALIZED_NAME_CENSUS = "census";
  @SerializedName(SERIALIZED_NAME_CENSUS)
  private Census census;

  public static final String SERIALIZED_NAME_LAT_LONG_FIELDS = "latLongFields";
  @SerializedName(SERIALIZED_NAME_LAT_LONG_FIELDS)
  private LatLongFields latLongFields;

  public TaxDistrictResponse() { 
  }

  public TaxDistrictResponse vendorName(String vendorName) {
    
    this.vendorName = vendorName;
    return this;
  }

   /**
   * Get vendorName
   * @return vendorName
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getVendorName() {
    return vendorName;
  }


  public void setVendorName(String vendorName) {
    this.vendorName = vendorName;
  }


  public TaxDistrictResponse objectId(String objectId) {
    
    this.objectId = objectId;
    return this;
  }

   /**
   * Get objectId
   * @return objectId
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getObjectId() {
    return objectId;
  }


  public void setObjectId(String objectId) {
    this.objectId = objectId;
  }


  public TaxDistrictResponse confidence(Double confidence) {
    
    this.confidence = confidence;
    return this;
  }

   /**
   * Get confidence
   * @return confidence
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Double getConfidence() {
    return confidence;
  }


  public void setConfidence(Double confidence) {
    this.confidence = confidence;
  }


  public TaxDistrictResponse jurisdiction(IPDTaxJurisdiction jurisdiction) {
    
    this.jurisdiction = jurisdiction;
    return this;
  }

   /**
   * Get jurisdiction
   * @return jurisdiction
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public IPDTaxJurisdiction getJurisdiction() {
    return jurisdiction;
  }


  public void setJurisdiction(IPDTaxJurisdiction jurisdiction) {
    this.jurisdiction = jurisdiction;
  }


  public TaxDistrictResponse numOfIpdsFound(Integer numOfIpdsFound) {
    
    this.numOfIpdsFound = numOfIpdsFound;
    return this;
  }

   /**
   * Get numOfIpdsFound
   * @return numOfIpdsFound
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Integer getNumOfIpdsFound() {
    return numOfIpdsFound;
  }


  public void setNumOfIpdsFound(Integer numOfIpdsFound) {
    this.numOfIpdsFound = numOfIpdsFound;
  }


  public TaxDistrictResponse ipds(List ipds) {
    
    this.ipds = ipds;
    return this;
  }

  public TaxDistrictResponse addIpdsItem(Ipd ipdsItem) {
    if (this.ipds == null) {
      this.ipds = new ArrayList();
    }
    this.ipds.add(ipdsItem);
    return this;
  }

   /**
   * Get ipds
   * @return ipds
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public List getIpds() {
    return ipds;
  }


  public void setIpds(List ipds) {
    this.ipds = ipds;
  }


  public TaxDistrictResponse matchedAddress(TaxRateMatchedAddress matchedAddress) {
    
    this.matchedAddress = matchedAddress;
    return this;
  }

   /**
   * Get matchedAddress
   * @return matchedAddress
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public TaxRateMatchedAddress getMatchedAddress() {
    return matchedAddress;
  }


  public void setMatchedAddress(TaxRateMatchedAddress matchedAddress) {
    this.matchedAddress = matchedAddress;
  }


  public TaxDistrictResponse census(Census census) {
    
    this.census = census;
    return this;
  }

   /**
   * Get census
   * @return census
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Census getCensus() {
    return census;
  }


  public void setCensus(Census census) {
    this.census = census;
  }


  public TaxDistrictResponse latLongFields(LatLongFields latLongFields) {
    
    this.latLongFields = latLongFields;
    return this;
  }

   /**
   * Get latLongFields
   * @return latLongFields
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public LatLongFields getLatLongFields() {
    return latLongFields;
  }


  public void setLatLongFields(LatLongFields latLongFields) {
    this.latLongFields = latLongFields;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    TaxDistrictResponse taxDistrictResponse = (TaxDistrictResponse) o;
    return Objects.equals(this.vendorName, taxDistrictResponse.vendorName) &&
        Objects.equals(this.objectId, taxDistrictResponse.objectId) &&
        Objects.equals(this.confidence, taxDistrictResponse.confidence) &&
        Objects.equals(this.jurisdiction, taxDistrictResponse.jurisdiction) &&
        Objects.equals(this.numOfIpdsFound, taxDistrictResponse.numOfIpdsFound) &&
        Objects.equals(this.ipds, taxDistrictResponse.ipds) &&
        Objects.equals(this.matchedAddress, taxDistrictResponse.matchedAddress) &&
        Objects.equals(this.census, taxDistrictResponse.census) &&
        Objects.equals(this.latLongFields, taxDistrictResponse.latLongFields);
  }

  @Override
  public int hashCode() {
    return Objects.hash(vendorName, objectId, confidence, jurisdiction, numOfIpdsFound, ipds, matchedAddress, census, latLongFields);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class TaxDistrictResponse {\n");
    sb.append("    vendorName: ").append(toIndentedString(vendorName)).append("\n");
    sb.append("    objectId: ").append(toIndentedString(objectId)).append("\n");
    sb.append("    confidence: ").append(toIndentedString(confidence)).append("\n");
    sb.append("    jurisdiction: ").append(toIndentedString(jurisdiction)).append("\n");
    sb.append("    numOfIpdsFound: ").append(toIndentedString(numOfIpdsFound)).append("\n");
    sb.append("    ipds: ").append(toIndentedString(ipds)).append("\n");
    sb.append("    matchedAddress: ").append(toIndentedString(matchedAddress)).append("\n");
    sb.append("    census: ").append(toIndentedString(census)).append("\n");
    sb.append("    latLongFields: ").append(toIndentedString(latLongFields)).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