com.confidentify.client.model.PhoneResponseRecordProcessorOutcome Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of confidentify-client-java Show documentation
Show all versions of confidentify-client-java Show documentation
This project provides a Java client for the Conf·ident·ify APIs.
/*
* Confidentify API
* Services that let you build confidence and identify matches in customer data. ## Features overview * Contact data processing services (tagged with `process`) which offer validation and enrichment backed by inference and knowledge on complex data types such as names, email addresses, phone numbers. * Data matching and searching services (tagged with `matching`) that allow you to identify duplicated data or matches against third party contact data list. * Dataset management services (tagged with `dataset`) that allow record storage and retrieval. ## Integrator notes: * Use the `/auth` endpoint to get an access token. Access tokens are temporary, so design the client the be capable of renewing it. * The APIs are rate-limited, so design the client to be capable of retrying with some delay upon HTTP 429 responses.
*
* The version of the OpenAPI document: 1.1.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.confidentify.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.confidentify.client.model.PhoneResponseRecordProcessorOutcomeAllOf;
import com.confidentify.client.model.ProcessorOutcome;
import com.confidentify.client.model.ProcessorVerdict;
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;
import java.util.ArrayList;
import java.util.List;
/**
* PhoneResponseRecordProcessorOutcome
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-04-21T21:21:06.848810800+02:00[Europe/Paris]")
public class PhoneResponseRecordProcessorOutcome {
public static final String SERIALIZED_NAME_VERDICT = "verdict";
@SerializedName(SERIALIZED_NAME_VERDICT)
private ProcessorVerdict verdict;
public static final String SERIALIZED_NAME_INFO = "info";
@SerializedName(SERIALIZED_NAME_INFO)
private List info = null;
public static final String SERIALIZED_NAME_WARN = "warn";
@SerializedName(SERIALIZED_NAME_WARN)
private List warn = null;
public static final String SERIALIZED_NAME_IS_PARSED = "is_parsed";
@SerializedName(SERIALIZED_NAME_IS_PARSED)
private Boolean isParsed;
public static final String SERIALIZED_NAME_IS_POSSIBLE = "is_possible";
@SerializedName(SERIALIZED_NAME_IS_POSSIBLE)
private Boolean isPossible;
public PhoneResponseRecordProcessorOutcome verdict(ProcessorVerdict verdict) {
this.verdict = verdict;
return this;
}
/**
* Get verdict
* @return verdict
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ProcessorVerdict getVerdict() {
return verdict;
}
public void setVerdict(ProcessorVerdict verdict) {
this.verdict = verdict;
}
public PhoneResponseRecordProcessorOutcome info(List info) {
this.info = info;
return this;
}
public PhoneResponseRecordProcessorOutcome addInfoItem(String infoItem) {
if (this.info == null) {
this.info = new ArrayList<>();
}
this.info.add(infoItem);
return this;
}
/**
* A list of informational entries about the processed entity.
* @return info
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "[\"domain entry validated\",\"text case formatted\"]", value = "A list of informational entries about the processed entity.")
public List getInfo() {
return info;
}
public void setInfo(List info) {
this.info = info;
}
public PhoneResponseRecordProcessorOutcome warn(List warn) {
this.warn = warn;
return this;
}
public PhoneResponseRecordProcessorOutcome addWarnItem(String warnItem) {
if (this.warn == null) {
this.warn = new ArrayList<>();
}
this.warn.add(warnItem);
return this;
}
/**
* A list of warnings about the processed entity.
* @return warn
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "[\"generic mailbox\"]", value = "A list of warnings about the processed entity.")
public List getWarn() {
return warn;
}
public void setWarn(List warn) {
this.warn = warn;
}
public PhoneResponseRecordProcessorOutcome isParsed(Boolean isParsed) {
this.isParsed = isParsed;
return this;
}
/**
* Get isParsed
* @return isParsed
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getIsParsed() {
return isParsed;
}
public void setIsParsed(Boolean isParsed) {
this.isParsed = isParsed;
}
public PhoneResponseRecordProcessorOutcome isPossible(Boolean isPossible) {
this.isPossible = isPossible;
return this;
}
/**
* Get isPossible
* @return isPossible
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getIsPossible() {
return isPossible;
}
public void setIsPossible(Boolean isPossible) {
this.isPossible = isPossible;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PhoneResponseRecordProcessorOutcome phoneResponseRecordProcessorOutcome = (PhoneResponseRecordProcessorOutcome) o;
return Objects.equals(this.verdict, phoneResponseRecordProcessorOutcome.verdict) &&
Objects.equals(this.info, phoneResponseRecordProcessorOutcome.info) &&
Objects.equals(this.warn, phoneResponseRecordProcessorOutcome.warn) &&
Objects.equals(this.isParsed, phoneResponseRecordProcessorOutcome.isParsed) &&
Objects.equals(this.isPossible, phoneResponseRecordProcessorOutcome.isPossible);
}
@Override
public int hashCode() {
return Objects.hash(verdict, info, warn, isParsed, isPossible);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PhoneResponseRecordProcessorOutcome {\n");
sb.append(" verdict: ").append(toIndentedString(verdict)).append("\n");
sb.append(" info: ").append(toIndentedString(info)).append("\n");
sb.append(" warn: ").append(toIndentedString(warn)).append("\n");
sb.append(" isParsed: ").append(toIndentedString(isParsed)).append("\n");
sb.append(" isPossible: ").append(toIndentedString(isPossible)).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(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy