com.plaid.client.model.EntityWatchlistSearchTerms Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plaid-java Show documentation
Show all versions of plaid-java Show documentation
Bindings for the Plaid (plaid.com) API.
/*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.503.5
*
*
* 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.plaid.client.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;
import java.net.URI;
/**
* Search inputs for creating an entity watchlist screening
*/
@ApiModel(description = "Search inputs for creating an entity watchlist screening")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-28T21:00:55.745394Z[Etc/UTC]")
public class EntityWatchlistSearchTerms {
public static final String SERIALIZED_NAME_ENTITY_WATCHLIST_PROGRAM_ID = "entity_watchlist_program_id";
@SerializedName(SERIALIZED_NAME_ENTITY_WATCHLIST_PROGRAM_ID)
private String entityWatchlistProgramId;
public static final String SERIALIZED_NAME_LEGAL_NAME = "legal_name";
@SerializedName(SERIALIZED_NAME_LEGAL_NAME)
private String legalName;
public static final String SERIALIZED_NAME_DOCUMENT_NUMBER = "document_number";
@SerializedName(SERIALIZED_NAME_DOCUMENT_NUMBER)
private String documentNumber;
public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "email_address";
@SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS)
private String emailAddress;
public static final String SERIALIZED_NAME_COUNTRY = "country";
@SerializedName(SERIALIZED_NAME_COUNTRY)
private String country;
public static final String SERIALIZED_NAME_PHONE_NUMBER = "phone_number";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBER)
private String phoneNumber;
public static final String SERIALIZED_NAME_URL = "url";
@SerializedName(SERIALIZED_NAME_URL)
private URI url;
public EntityWatchlistSearchTerms entityWatchlistProgramId(String entityWatchlistProgramId) {
this.entityWatchlistProgramId = entityWatchlistProgramId;
return this;
}
/**
* ID of the associated entity program.
* @return entityWatchlistProgramId
**/
@ApiModelProperty(example = "entprg_2eRPsDnL66rZ7H", required = true, value = "ID of the associated entity program.")
public String getEntityWatchlistProgramId() {
return entityWatchlistProgramId;
}
public void setEntityWatchlistProgramId(String entityWatchlistProgramId) {
this.entityWatchlistProgramId = entityWatchlistProgramId;
}
public EntityWatchlistSearchTerms legalName(String legalName) {
this.legalName = legalName;
return this;
}
/**
* The name of the organization being screened.
* @return legalName
**/
@ApiModelProperty(example = "Al-Qaida", required = true, value = "The name of the organization being screened.")
public String getLegalName() {
return legalName;
}
public void setLegalName(String legalName) {
this.legalName = legalName;
}
public EntityWatchlistSearchTerms documentNumber(String documentNumber) {
this.documentNumber = documentNumber;
return this;
}
/**
* The numeric or alphanumeric identifier associated with this document.
* @return documentNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "C31195855", value = "The numeric or alphanumeric identifier associated with this document.")
public String getDocumentNumber() {
return documentNumber;
}
public void setDocumentNumber(String documentNumber) {
this.documentNumber = documentNumber;
}
public EntityWatchlistSearchTerms emailAddress(String emailAddress) {
this.emailAddress = emailAddress;
return this;
}
/**
* A valid email address.
* @return emailAddress
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "[email protected]", value = "A valid email address.")
public String getEmailAddress() {
return emailAddress;
}
public void setEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
}
public EntityWatchlistSearchTerms country(String country) {
this.country = country;
return this;
}
/**
* Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form.
* @return country
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "US", value = "Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form.")
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public EntityWatchlistSearchTerms phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* A phone number in E.164 format.
* @return phoneNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "+14025671234", value = "A phone number in E.164 format.")
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public EntityWatchlistSearchTerms url(URI url) {
this.url = url;
return this;
}
/**
* An 'http' or 'https' URL (must begin with either of those).
* @return url
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://example.com", value = "An 'http' or 'https' URL (must begin with either of those).")
public URI getUrl() {
return url;
}
public void setUrl(URI url) {
this.url = url;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EntityWatchlistSearchTerms entityWatchlistSearchTerms = (EntityWatchlistSearchTerms) o;
return Objects.equals(this.entityWatchlistProgramId, entityWatchlistSearchTerms.entityWatchlistProgramId) &&
Objects.equals(this.legalName, entityWatchlistSearchTerms.legalName) &&
Objects.equals(this.documentNumber, entityWatchlistSearchTerms.documentNumber) &&
Objects.equals(this.emailAddress, entityWatchlistSearchTerms.emailAddress) &&
Objects.equals(this.country, entityWatchlistSearchTerms.country) &&
Objects.equals(this.phoneNumber, entityWatchlistSearchTerms.phoneNumber) &&
Objects.equals(this.url, entityWatchlistSearchTerms.url);
}
@Override
public int hashCode() {
return Objects.hash(entityWatchlistProgramId, legalName, documentNumber, emailAddress, country, phoneNumber, url);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EntityWatchlistSearchTerms {\n");
sb.append(" entityWatchlistProgramId: ").append(toIndentedString(entityWatchlistProgramId)).append("\n");
sb.append(" legalName: ").append(toIndentedString(legalName)).append("\n");
sb.append(" documentNumber: ").append(toIndentedString(documentNumber)).append("\n");
sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
sb.append(" country: ").append(toIndentedString(country)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
sb.append(" url: ").append(toIndentedString(url)).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