com.precisely.apis.model.ValidateMailingAddressPremiumOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of PreciselyAPISJavaSDK Show documentation
Show all versions of PreciselyAPISJavaSDK Show documentation
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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ValidateMailingAddressPremiumOptions
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-13T16:39:48.889177+05:30[Asia/Calcutta]")
public class ValidateMailingAddressPremiumOptions {
public static final String SERIALIZED_NAME_OUTPUT_ADDRESS_BLOCKS = "OutputAddressBlocks";
@SerializedName(SERIALIZED_NAME_OUTPUT_ADDRESS_BLOCKS)
private String outputAddressBlocks = "Y";
public static final String SERIALIZED_NAME_KEEP_MULTIMATCH = "KeepMultimatch";
@SerializedName(SERIALIZED_NAME_KEEP_MULTIMATCH)
private String keepMultimatch = "N";
public static final String SERIALIZED_NAME_OUTPUT_COUNTRY_FORMAT = "OutputCountryFormat";
@SerializedName(SERIALIZED_NAME_OUTPUT_COUNTRY_FORMAT)
private String outputCountryFormat = "E";
public static final String SERIALIZED_NAME_OUTPUT_RECORD_TYPE = "OutputRecordType";
@SerializedName(SERIALIZED_NAME_OUTPUT_RECORD_TYPE)
private String outputRecordType = "A";
public static final String SERIALIZED_NAME_OUTPUT_FIELD_LEVEL_RETURN_CODES = "OutputFieldLevelReturnCodes";
@SerializedName(SERIALIZED_NAME_OUTPUT_FIELD_LEVEL_RETURN_CODES)
private String outputFieldLevelReturnCodes = "N";
public static final String SERIALIZED_NAME_OUTPUT_SCRIPT = "OutputScript";
@SerializedName(SERIALIZED_NAME_OUTPUT_SCRIPT)
private String outputScript = "InputScript";
public static final String SERIALIZED_NAME_OUTPUT_CASING = "OutputCasing";
@SerializedName(SERIALIZED_NAME_OUTPUT_CASING)
private String outputCasing = "M";
public static final String SERIALIZED_NAME_MAXIMUM_RESULTS = "MaximumResults";
@SerializedName(SERIALIZED_NAME_MAXIMUM_RESULTS)
private String maximumResults = "10";
public ValidateMailingAddressPremiumOptions() {
}
public ValidateMailingAddressPremiumOptions outputAddressBlocks(String outputAddressBlocks) {
this.outputAddressBlocks = outputAddressBlocks;
return this;
}
/**
* Specifies whether to return a formatted version of the address as it would be printed on a physical mail piece.
* @return outputAddressBlocks
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies whether to return a formatted version of the address as it would be printed on a physical mail piece.")
public String getOutputAddressBlocks() {
return outputAddressBlocks;
}
public void setOutputAddressBlocks(String outputAddressBlocks) {
this.outputAddressBlocks = outputAddressBlocks;
}
public ValidateMailingAddressPremiumOptions keepMultimatch(String keepMultimatch) {
this.keepMultimatch = keepMultimatch;
return this;
}
/**
* Specifies whether to return multiple address for those input addresses that have more than one possible match.
* @return keepMultimatch
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies whether to return multiple address for those input addresses that have more than one possible match.")
public String getKeepMultimatch() {
return keepMultimatch;
}
public void setKeepMultimatch(String keepMultimatch) {
this.keepMultimatch = keepMultimatch;
}
public ValidateMailingAddressPremiumOptions outputCountryFormat(String outputCountryFormat) {
this.outputCountryFormat = outputCountryFormat;
return this;
}
/**
* Specifies the format to use for the country name returned in the Country output field.
* @return outputCountryFormat
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies the format to use for the country name returned in the Country output field.")
public String getOutputCountryFormat() {
return outputCountryFormat;
}
public void setOutputCountryFormat(String outputCountryFormat) {
this.outputCountryFormat = outputCountryFormat;
}
public ValidateMailingAddressPremiumOptions outputRecordType(String outputRecordType) {
this.outputRecordType = outputRecordType;
return this;
}
/**
* Specifies the type of output record you get.
* @return outputRecordType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies the type of output record you get.")
public String getOutputRecordType() {
return outputRecordType;
}
public void setOutputRecordType(String outputRecordType) {
this.outputRecordType = outputRecordType;
}
public ValidateMailingAddressPremiumOptions outputFieldLevelReturnCodes(String outputFieldLevelReturnCodes) {
this.outputFieldLevelReturnCodes = outputFieldLevelReturnCodes;
return this;
}
/**
* Specifies whether to include field-level result indicators.
* @return outputFieldLevelReturnCodes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies whether to include field-level result indicators.")
public String getOutputFieldLevelReturnCodes() {
return outputFieldLevelReturnCodes;
}
public void setOutputFieldLevelReturnCodes(String outputFieldLevelReturnCodes) {
this.outputFieldLevelReturnCodes = outputFieldLevelReturnCodes;
}
public ValidateMailingAddressPremiumOptions outputScript(String outputScript) {
this.outputScript = outputScript;
return this;
}
/**
* Specifies the alphabet or script in which the output should be returned.
* @return outputScript
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specifies the alphabet or script in which the output should be returned.")
public String getOutputScript() {
return outputScript;
}
public void setOutputScript(String outputScript) {
this.outputScript = outputScript;
}
public ValidateMailingAddressPremiumOptions outputCasing(String outputCasing) {
this.outputCasing = outputCasing;
return this;
}
/**
* Specify the casing of the output data.
* @return outputCasing
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Specify the casing of the output data.")
public String getOutputCasing() {
return outputCasing;
}
public void setOutputCasing(String outputCasing) {
this.outputCasing = outputCasing;
}
public ValidateMailingAddressPremiumOptions maximumResults(String maximumResults) {
this.maximumResults = maximumResults;
return this;
}
/**
* A number between 1 and 10 that indicates the maximum number of addresses to return.
* @return maximumResults
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A number between 1 and 10 that indicates the maximum number of addresses to return.")
public String getMaximumResults() {
return maximumResults;
}
public void setMaximumResults(String maximumResults) {
this.maximumResults = maximumResults;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ValidateMailingAddressPremiumOptions validateMailingAddressPremiumOptions = (ValidateMailingAddressPremiumOptions) o;
return Objects.equals(this.outputAddressBlocks, validateMailingAddressPremiumOptions.outputAddressBlocks) &&
Objects.equals(this.keepMultimatch, validateMailingAddressPremiumOptions.keepMultimatch) &&
Objects.equals(this.outputCountryFormat, validateMailingAddressPremiumOptions.outputCountryFormat) &&
Objects.equals(this.outputRecordType, validateMailingAddressPremiumOptions.outputRecordType) &&
Objects.equals(this.outputFieldLevelReturnCodes, validateMailingAddressPremiumOptions.outputFieldLevelReturnCodes) &&
Objects.equals(this.outputScript, validateMailingAddressPremiumOptions.outputScript) &&
Objects.equals(this.outputCasing, validateMailingAddressPremiumOptions.outputCasing) &&
Objects.equals(this.maximumResults, validateMailingAddressPremiumOptions.maximumResults);
}
@Override
public int hashCode() {
return Objects.hash(outputAddressBlocks, keepMultimatch, outputCountryFormat, outputRecordType, outputFieldLevelReturnCodes, outputScript, outputCasing, maximumResults);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ValidateMailingAddressPremiumOptions {\n");
sb.append(" outputAddressBlocks: ").append(toIndentedString(outputAddressBlocks)).append("\n");
sb.append(" keepMultimatch: ").append(toIndentedString(keepMultimatch)).append("\n");
sb.append(" outputCountryFormat: ").append(toIndentedString(outputCountryFormat)).append("\n");
sb.append(" outputRecordType: ").append(toIndentedString(outputRecordType)).append("\n");
sb.append(" outputFieldLevelReturnCodes: ").append(toIndentedString(outputFieldLevelReturnCodes)).append("\n");
sb.append(" outputScript: ").append(toIndentedString(outputScript)).append("\n");
sb.append(" outputCasing: ").append(toIndentedString(outputCasing)).append("\n");
sb.append(" maximumResults: ").append(toIndentedString(maximumResults)).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 ");
}
}