com.plaid.client.model.UpdateEntityScreeningRequestSearchTerms 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.565.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.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 terms for editing an entity watchlist screening
*/
@ApiModel(description = "Search terms for editing an entity watchlist screening")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-17T16:42:02.150702Z[Etc/UTC]")
public class UpdateEntityScreeningRequestSearchTerms {
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 UpdateEntityScreeningRequestSearchTerms 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 UpdateEntityScreeningRequestSearchTerms legalName(String legalName) {
this.legalName = legalName;
return this;
}
/**
* The name of the organization being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces.
* @return legalName
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Al-Qaida", value = "The name of the organization being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces.")
public String getLegalName() {
return legalName;
}
public void setLegalName(String legalName) {
this.legalName = legalName;
}
public UpdateEntityScreeningRequestSearchTerms documentNumber(String documentNumber) {
this.documentNumber = documentNumber;
return this;
}
/**
* The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces.
* @return documentNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "C31195855", value = "The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces.")
public String getDocumentNumber() {
return documentNumber;
}
public void setDocumentNumber(String documentNumber) {
this.documentNumber = documentNumber;
}
public UpdateEntityScreeningRequestSearchTerms emailAddress(String emailAddress) {
this.emailAddress = emailAddress;
return this;
}
/**
* A valid email address. Must not have leading or trailing spaces.
* @return emailAddress
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "[email protected]", value = "A valid email address. Must not have leading or trailing spaces.")
public String getEmailAddress() {
return emailAddress;
}
public void setEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
}
public UpdateEntityScreeningRequestSearchTerms 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 UpdateEntityScreeningRequestSearchTerms 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 UpdateEntityScreeningRequestSearchTerms 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;
}
UpdateEntityScreeningRequestSearchTerms updateEntityScreeningRequestSearchTerms = (UpdateEntityScreeningRequestSearchTerms) o;
return Objects.equals(this.entityWatchlistProgramId, updateEntityScreeningRequestSearchTerms.entityWatchlistProgramId) &&
Objects.equals(this.legalName, updateEntityScreeningRequestSearchTerms.legalName) &&
Objects.equals(this.documentNumber, updateEntityScreeningRequestSearchTerms.documentNumber) &&
Objects.equals(this.emailAddress, updateEntityScreeningRequestSearchTerms.emailAddress) &&
Objects.equals(this.country, updateEntityScreeningRequestSearchTerms.country) &&
Objects.equals(this.phoneNumber, updateEntityScreeningRequestSearchTerms.phoneNumber) &&
Objects.equals(this.url, updateEntityScreeningRequestSearchTerms.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 UpdateEntityScreeningRequestSearchTerms {\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