repo stringclasses 1k values | file_url stringlengths 96 373 | file_path stringlengths 11 294 | content stringlengths 0 32.8k | language stringclasses 1 value | license stringclasses 6 values | commit_sha stringclasses 1k values | retrieved_at stringdate 2026-01-04 14:45:56 2026-01-04 18:30:23 | truncated bool 2 classes |
|---|---|---|---|---|---|---|---|---|
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProtectReportSource.java | src/main/java/com/plaid/client/model/ProtectReportSource.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The source that identified or reported the incident. `INTERNAL_REVIEW` - Incident was identified through internal fraud investigations or review processes. `USER_SELF_REPORTED` - Incident was reported directly by the affected user. `BANK_FEEDBACK` - Incident was identified through bank feedback, including ACH returns and connection revocations. `NETWORK_FEEDBACK` - Incident was identified through card network alerts or chargebacks. `AUTOMATED_SYSTEM` - Incident was detected by automated systems such as fraud models or rule engines. `THIRD_PARTY_ALERT` - Incident was identified through external vendor or consortium alerts. `OTHER` - Incident was identified through a source not covered by other categories.
*/
@JsonAdapter(ProtectReportSource.Adapter.class)
public enum ProtectReportSource {
INTERNAL_REVIEW("INTERNAL_REVIEW"),
USER_SELF_REPORTED("USER_SELF_REPORTED"),
BANK_FEEDBACK("BANK_FEEDBACK"),
NETWORK_FEEDBACK("NETWORK_FEEDBACK"),
AUTOMATED_SYSTEM("AUTOMATED_SYSTEM"),
THIRD_PARTY_ALERT("THIRD_PARTY_ALERT"),
OTHER("OTHER"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
ProtectReportSource(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static ProtectReportSource fromValue(String value) {
for (ProtectReportSource b : ProtectReportSource.values()) {
if (b.value.equals(value)) {
return b;
}
}
return ProtectReportSource.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<ProtectReportSource> {
@Override
public void write(final JsonWriter jsonWriter, final ProtectReportSource enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public ProtectReportSource read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return ProtectReportSource.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PaymentInitiationConsentPaymentExecuteResponse.java | src/main/java/com/plaid/client/model/PaymentInitiationConsentPaymentExecuteResponse.java | /*
* 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.680.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 com.plaid.client.model.PaymentInitiationPaymentStatus;
import com.plaid.client.model.PlaidError;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* PaymentInitiationConsentPaymentExecuteResponse defines the response schema for `/payment_initiation/consent/payment/execute`
*/
@ApiModel(description = "PaymentInitiationConsentPaymentExecuteResponse defines the response schema for `/payment_initiation/consent/payment/execute`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PaymentInitiationConsentPaymentExecuteResponse {
public static final String SERIALIZED_NAME_PAYMENT_ID = "payment_id";
@SerializedName(SERIALIZED_NAME_PAYMENT_ID)
private String paymentId;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private PaymentInitiationPaymentStatus status;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private PlaidError error;
public PaymentInitiationConsentPaymentExecuteResponse paymentId(String paymentId) {
this.paymentId = paymentId;
return this;
}
/**
* A unique ID identifying the payment
* @return paymentId
**/
@ApiModelProperty(required = true, value = "A unique ID identifying the payment")
public String getPaymentId() {
return paymentId;
}
public void setPaymentId(String paymentId) {
this.paymentId = paymentId;
}
public PaymentInitiationConsentPaymentExecuteResponse status(PaymentInitiationPaymentStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public PaymentInitiationPaymentStatus getStatus() {
return status;
}
public void setStatus(PaymentInitiationPaymentStatus status) {
this.status = status;
}
public PaymentInitiationConsentPaymentExecuteResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public PaymentInitiationConsentPaymentExecuteResponse error(PlaidError error) {
this.error = error;
return this;
}
/**
* Get error
* @return error
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PlaidError getError() {
return error;
}
public void setError(PlaidError error) {
this.error = error;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PaymentInitiationConsentPaymentExecuteResponse paymentInitiationConsentPaymentExecuteResponse = (PaymentInitiationConsentPaymentExecuteResponse) o;
return Objects.equals(this.paymentId, paymentInitiationConsentPaymentExecuteResponse.paymentId) &&
Objects.equals(this.status, paymentInitiationConsentPaymentExecuteResponse.status) &&
Objects.equals(this.requestId, paymentInitiationConsentPaymentExecuteResponse.requestId) &&
Objects.equals(this.error, paymentInitiationConsentPaymentExecuteResponse.error);
}
@Override
public int hashCode() {
return Objects.hash(paymentId, status, requestId, error);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInitiationConsentPaymentExecuteResponse {\n");
sb.append(" paymentId: ").append(toIndentedString(paymentId)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PendingExpirationWebhook.java | src/main/java/com/plaid/client/model/PendingExpirationWebhook.java | /*
* 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.680.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 com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Fired when an Item’s access consent is expiring in 7 days. This can be resolved by having the user go through Link’s update mode. This webhook is fired only for Items associated with institutions in Europe (including the UK); for Items associated with institutions in the US or Canada, see [`PENDING_DISCONNECT`](https://plaid.com/docs/api/items/#pending_disconnect) instead.
*/
@ApiModel(description = "Fired when an Item’s access consent is expiring in 7 days. This can be resolved by having the user go through Link’s update mode. This webhook is fired only for Items associated with institutions in Europe (including the UK); for Items associated with institutions in the US or Canada, see [`PENDING_DISCONNECT`](https://plaid.com/docs/api/items/#pending_disconnect) instead.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PendingExpirationWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_CONSENT_EXPIRATION_TIME = "consent_expiration_time";
@SerializedName(SERIALIZED_NAME_CONSENT_EXPIRATION_TIME)
private OffsetDateTime consentExpirationTime;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public PendingExpirationWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `ITEM`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`ITEM`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public PendingExpirationWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `PENDING_EXPIRATION`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`PENDING_EXPIRATION`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public PendingExpirationWebhook itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The `item_id` of the Item associated with this webhook, warning, or error
* @return itemId
**/
@ApiModelProperty(required = true, value = "The `item_id` of the Item associated with this webhook, warning, or error")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public PendingExpirationWebhook consentExpirationTime(OffsetDateTime consentExpirationTime) {
this.consentExpirationTime = consentExpirationTime;
return this;
}
/**
* The date and time at which the Item's access consent will expire, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
* @return consentExpirationTime
**/
@ApiModelProperty(required = true, value = "The date and time at which the Item's access consent will expire, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.")
public OffsetDateTime getConsentExpirationTime() {
return consentExpirationTime;
}
public void setConsentExpirationTime(OffsetDateTime consentExpirationTime) {
this.consentExpirationTime = consentExpirationTime;
}
public PendingExpirationWebhook environment(WebhookEnvironmentValues environment) {
this.environment = environment;
return this;
}
/**
* Get environment
* @return environment
**/
@ApiModelProperty(required = true, value = "")
public WebhookEnvironmentValues getEnvironment() {
return environment;
}
public void setEnvironment(WebhookEnvironmentValues environment) {
this.environment = environment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PendingExpirationWebhook pendingExpirationWebhook = (PendingExpirationWebhook) o;
return Objects.equals(this.webhookType, pendingExpirationWebhook.webhookType) &&
Objects.equals(this.webhookCode, pendingExpirationWebhook.webhookCode) &&
Objects.equals(this.itemId, pendingExpirationWebhook.itemId) &&
Objects.equals(this.consentExpirationTime, pendingExpirationWebhook.consentExpirationTime) &&
Objects.equals(this.environment, pendingExpirationWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, itemId, consentExpirationTime, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PendingExpirationWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" consentExpirationTime: ").append(toIndentedString(consentExpirationTime)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditFreddieMacReportsGetRequest.java | src/main/java/com/plaid/client/model/CreditFreddieMacReportsGetRequest.java | /*
* 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.680.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;
/**
* CreditFreddieMacReportsGetRequest defines the request schema for `credit/asset_report/freddie_mac/get`
*/
@ApiModel(description = "CreditFreddieMacReportsGetRequest defines the request schema for `credit/asset_report/freddie_mac/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditFreddieMacReportsGetRequest {
public static final String SERIALIZED_NAME_AUDIT_COPY_TOKEN = "audit_copy_token";
@SerializedName(SERIALIZED_NAME_AUDIT_COPY_TOKEN)
private String auditCopyToken;
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public CreditFreddieMacReportsGetRequest auditCopyToken(String auditCopyToken) {
this.auditCopyToken = auditCopyToken;
return this;
}
/**
* A token that can be shared with a third party auditor to allow them to obtain access to the Asset Report. This token should be stored securely.
* @return auditCopyToken
**/
@ApiModelProperty(required = true, value = "A token that can be shared with a third party auditor to allow them to obtain access to the Asset Report. This token should be stored securely.")
public String getAuditCopyToken() {
return auditCopyToken;
}
public void setAuditCopyToken(String auditCopyToken) {
this.auditCopyToken = auditCopyToken;
}
public CreditFreddieMacReportsGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public CreditFreddieMacReportsGetRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditFreddieMacReportsGetRequest creditFreddieMacReportsGetRequest = (CreditFreddieMacReportsGetRequest) o;
return Objects.equals(this.auditCopyToken, creditFreddieMacReportsGetRequest.auditCopyToken) &&
Objects.equals(this.clientId, creditFreddieMacReportsGetRequest.clientId) &&
Objects.equals(this.secret, creditFreddieMacReportsGetRequest.secret);
}
@Override
public int hashCode() {
return Objects.hash(auditCopyToken, clientId, secret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditFreddieMacReportsGetRequest {\n");
sb.append(" auditCopyToken: ").append(toIndentedString(auditCopyToken)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferRecurringStatus.java | src/main/java/com/plaid/client/model/TransferRecurringStatus.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The status of the recurring transfer. `active`: The recurring transfer is currently active. `cancelled`: The recurring transfer was cancelled by the client or Plaid. `expired`: The recurring transfer has completed all originations according to its recurring schedule.
*/
@JsonAdapter(TransferRecurringStatus.Adapter.class)
public enum TransferRecurringStatus {
ACTIVE("active"),
CANCELLED("cancelled"),
EXPIRED("expired"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
TransferRecurringStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TransferRecurringStatus fromValue(String value) {
for (TransferRecurringStatus b : TransferRecurringStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return TransferRecurringStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<TransferRecurringStatus> {
@Override
public void write(final JsonWriter jsonWriter, final TransferRecurringStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TransferRecurringStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TransferRecurringStatus.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProfileNetworkStatusGetRequest.java | src/main/java/com/plaid/client/model/ProfileNetworkStatusGetRequest.java | /*
* 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.680.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 com.plaid.client.model.NetworkStatusGetUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ProfileNetworkStatusGetRequest defines the request schema for `/profile/network_status/get`
*/
@ApiModel(description = "ProfileNetworkStatusGetRequest defines the request schema for `/profile/network_status/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProfileNetworkStatusGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private NetworkStatusGetUser user;
public ProfileNetworkStatusGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public ProfileNetworkStatusGetRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public ProfileNetworkStatusGetRequest user(NetworkStatusGetUser user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public NetworkStatusGetUser getUser() {
return user;
}
public void setUser(NetworkStatusGetUser user) {
this.user = user;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProfileNetworkStatusGetRequest profileNetworkStatusGetRequest = (ProfileNetworkStatusGetRequest) o;
return Objects.equals(this.clientId, profileNetworkStatusGetRequest.clientId) &&
Objects.equals(this.secret, profileNetworkStatusGetRequest.secret) &&
Objects.equals(this.user, profileNetworkStatusGetRequest.user);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, user);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProfileNetworkStatusGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorAuthGetResponse.java | src/main/java/com/plaid/client/model/ProcessorAuthGetResponse.java | /*
* 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.680.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 com.plaid.client.model.AccountBase;
import com.plaid.client.model.ProcessorNumber;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ProcessorAuthGetResponse defines the response schema for `/processor/auth/get`
*/
@ApiModel(description = "ProcessorAuthGetResponse defines the response schema for `/processor/auth/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorAuthGetResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_NUMBERS = "numbers";
@SerializedName(SERIALIZED_NAME_NUMBERS)
private ProcessorNumber numbers;
public static final String SERIALIZED_NAME_ACCOUNT = "account";
@SerializedName(SERIALIZED_NAME_ACCOUNT)
private AccountBase account;
public ProcessorAuthGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public ProcessorAuthGetResponse numbers(ProcessorNumber numbers) {
this.numbers = numbers;
return this;
}
/**
* Get numbers
* @return numbers
**/
@ApiModelProperty(required = true, value = "")
public ProcessorNumber getNumbers() {
return numbers;
}
public void setNumbers(ProcessorNumber numbers) {
this.numbers = numbers;
}
public ProcessorAuthGetResponse account(AccountBase account) {
this.account = account;
return this;
}
/**
* Get account
* @return account
**/
@ApiModelProperty(required = true, value = "")
public AccountBase getAccount() {
return account;
}
public void setAccount(AccountBase account) {
this.account = account;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorAuthGetResponse processorAuthGetResponse = (ProcessorAuthGetResponse) o;
return Objects.equals(this.requestId, processorAuthGetResponse.requestId) &&
Objects.equals(this.numbers, processorAuthGetResponse.numbers) &&
Objects.equals(this.account, processorAuthGetResponse.account);
}
@Override
public int hashCode() {
return Objects.hash(requestId, numbers, account);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorAuthGetResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" numbers: ").append(toIndentedString(numbers)).append("\n");
sb.append(" account: ").append(toIndentedString(account)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditPayrollIncomeGetResponse.java | src/main/java/com/plaid/client/model/CreditPayrollIncomeGetResponse.java | /*
* 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.680.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 com.plaid.client.model.PayrollItem;
import com.plaid.client.model.PlaidError;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Defines the response body for `/credit/payroll_income/get`.
*/
@ApiModel(description = "Defines the response body for `/credit/payroll_income/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditPayrollIncomeGetResponse {
public static final String SERIALIZED_NAME_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
private List<PayrollItem> items = new ArrayList<>();
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private PlaidError error;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CreditPayrollIncomeGetResponse items(List<PayrollItem> items) {
this.items = items;
return this;
}
public CreditPayrollIncomeGetResponse addItemsItem(PayrollItem itemsItem) {
this.items.add(itemsItem);
return this;
}
/**
* Array of payroll items.
* @return items
**/
@ApiModelProperty(required = true, value = "Array of payroll items.")
public List<PayrollItem> getItems() {
return items;
}
public void setItems(List<PayrollItem> items) {
this.items = items;
}
public CreditPayrollIncomeGetResponse error(PlaidError error) {
this.error = error;
return this;
}
/**
* Get error
* @return error
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PlaidError getError() {
return error;
}
public void setError(PlaidError error) {
this.error = error;
}
public CreditPayrollIncomeGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditPayrollIncomeGetResponse creditPayrollIncomeGetResponse = (CreditPayrollIncomeGetResponse) o;
return Objects.equals(this.items, creditPayrollIncomeGetResponse.items) &&
Objects.equals(this.error, creditPayrollIncomeGetResponse.error) &&
Objects.equals(this.requestId, creditPayrollIncomeGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(items, error, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditPayrollIncomeGetResponse {\n");
sb.append(" items: ").append(toIndentedString(items)).append("\n");
sb.append(" error: ").append(toIndentedString(error)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SignalAddressData.java | src/main/java/com/plaid/client/model/SignalAddressData.java | /*
* 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.680.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;
/**
* Data about the components comprising an address.
*/
@ApiModel(description = "Data about the components comprising an address.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SignalAddressData {
public static final String SERIALIZED_NAME_CITY = "city";
@SerializedName(SERIALIZED_NAME_CITY)
private String city;
public static final String SERIALIZED_NAME_REGION = "region";
@SerializedName(SERIALIZED_NAME_REGION)
private String region;
public static final String SERIALIZED_NAME_STREET = "street";
@SerializedName(SERIALIZED_NAME_STREET)
private String street;
public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code";
@SerializedName(SERIALIZED_NAME_POSTAL_CODE)
private String postalCode;
public static final String SERIALIZED_NAME_COUNTRY = "country";
@SerializedName(SERIALIZED_NAME_COUNTRY)
private String country;
public SignalAddressData city(String city) {
this.city = city;
return this;
}
/**
* The full city name
* @return city
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The full city name")
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public SignalAddressData region(String region) {
this.region = region;
return this;
}
/**
* The region or state Example: `\"NC\"`
* @return region
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The region or state Example: `\"NC\"`")
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public SignalAddressData street(String street) {
this.street = street;
return this;
}
/**
* The full street address Example: `\"564 Main Street, APT 15\"`
* @return street
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The full street address Example: `\"564 Main Street, APT 15\"`")
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
public SignalAddressData postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* The postal code
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The postal code")
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public SignalAddressData country(String country) {
this.country = country;
return this;
}
/**
* The ISO 3166-1 alpha-2 country code
* @return country
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO 3166-1 alpha-2 country code")
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SignalAddressData signalAddressData = (SignalAddressData) o;
return Objects.equals(this.city, signalAddressData.city) &&
Objects.equals(this.region, signalAddressData.region) &&
Objects.equals(this.street, signalAddressData.street) &&
Objects.equals(this.postalCode, signalAddressData.postalCode) &&
Objects.equals(this.country, signalAddressData.country);
}
@Override
public int hashCode() {
return Objects.hash(city, region, street, postalCode, country);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SignalAddressData {\n");
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" street: ").append(toIndentedString(street)).append("\n");
sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n");
sb.append(" country: ").append(toIndentedString(country)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkDeliveryDeliveryMethod.java | src/main/java/com/plaid/client/model/LinkDeliveryDeliveryMethod.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The delivery method to be used to deliver the Hosted Link session URL. `SMS`: The URL will be delivered through SMS `EMAIL`: The URL will be delivered through email
*/
@JsonAdapter(LinkDeliveryDeliveryMethod.Adapter.class)
public enum LinkDeliveryDeliveryMethod {
SMS("SMS"),
EMAIL("EMAIL"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
LinkDeliveryDeliveryMethod(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static LinkDeliveryDeliveryMethod fromValue(String value) {
for (LinkDeliveryDeliveryMethod b : LinkDeliveryDeliveryMethod.values()) {
if (b.value.equals(value)) {
return b;
}
}
return LinkDeliveryDeliveryMethod.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<LinkDeliveryDeliveryMethod> {
@Override
public void write(final JsonWriter jsonWriter, final LinkDeliveryDeliveryMethod enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public LinkDeliveryDeliveryMethod read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return LinkDeliveryDeliveryMethod.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxTransactionsCreateRequest.java | src/main/java/com/plaid/client/model/SandboxTransactionsCreateRequest.java | /*
* 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.680.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 com.plaid.client.model.CustomSandboxTransaction;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* SandboxTransactionsCreateRequest defines the request schema for `/sandbox/transactions/create`
*/
@ApiModel(description = "SandboxTransactionsCreateRequest defines the request schema for `/sandbox/transactions/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxTransactionsCreateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
public static final String SERIALIZED_NAME_TRANSACTIONS = "transactions";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS)
private List<CustomSandboxTransaction> transactions = new ArrayList<>();
public SandboxTransactionsCreateRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public SandboxTransactionsCreateRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public SandboxTransactionsCreateRequest accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* The access token associated with the Item data is being requested for.
* @return accessToken
**/
@ApiModelProperty(required = true, value = "The access token associated with the Item data is being requested for.")
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public SandboxTransactionsCreateRequest transactions(List<CustomSandboxTransaction> transactions) {
this.transactions = transactions;
return this;
}
public SandboxTransactionsCreateRequest addTransactionsItem(CustomSandboxTransaction transactionsItem) {
this.transactions.add(transactionsItem);
return this;
}
/**
* List of transactions to be added
* @return transactions
**/
@ApiModelProperty(required = true, value = "List of transactions to be added")
public List<CustomSandboxTransaction> getTransactions() {
return transactions;
}
public void setTransactions(List<CustomSandboxTransaction> transactions) {
this.transactions = transactions;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxTransactionsCreateRequest sandboxTransactionsCreateRequest = (SandboxTransactionsCreateRequest) o;
return Objects.equals(this.clientId, sandboxTransactionsCreateRequest.clientId) &&
Objects.equals(this.secret, sandboxTransactionsCreateRequest.secret) &&
Objects.equals(this.accessToken, sandboxTransactionsCreateRequest.accessToken) &&
Objects.equals(this.transactions, sandboxTransactionsCreateRequest.transactions);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken, transactions);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransactionsCreateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" transactions: ").append(toIndentedString(transactions)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxTransactionsCreateResponse.java | src/main/java/com/plaid/client/model/SandboxTransactionsCreateResponse.java | /*
* 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.680.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;
/**
* SandboxTransactionsCreateResponse defines the response schema for `/sandbox/transactions/create`
*/
@ApiModel(description = "SandboxTransactionsCreateResponse defines the response schema for `/sandbox/transactions/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxTransactionsCreateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxTransactionsCreateResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxTransactionsCreateResponse sandboxTransactionsCreateResponse = (SandboxTransactionsCreateResponse) o;
return Objects.equals(this.requestId, sandboxTransactionsCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransactionsCreateResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkDeliveryWebhookDeliveryStatus.java | src/main/java/com/plaid/client/model/LinkDeliveryWebhookDeliveryStatus.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The status of the delivery of the Hosted Link to the user
*/
@JsonAdapter(LinkDeliveryWebhookDeliveryStatus.Adapter.class)
public enum LinkDeliveryWebhookDeliveryStatus {
SUCCESS("SUCCESS"),
FAILURE("FAILURE"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
LinkDeliveryWebhookDeliveryStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static LinkDeliveryWebhookDeliveryStatus fromValue(String value) {
for (LinkDeliveryWebhookDeliveryStatus b : LinkDeliveryWebhookDeliveryStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return LinkDeliveryWebhookDeliveryStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<LinkDeliveryWebhookDeliveryStatus> {
@Override
public void write(final JsonWriter jsonWriter, final LinkDeliveryWebhookDeliveryStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public LinkDeliveryWebhookDeliveryStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return LinkDeliveryWebhookDeliveryStatus.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraBankIncomeWarning.java | src/main/java/com/plaid/client/model/CraBankIncomeWarning.java | /*
* 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.680.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 com.plaid.client.model.CraBankIncomeCause;
import com.plaid.client.model.CraBankIncomeWarningCode;
import com.plaid.client.model.CreditBankIncomeWarningType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The warning associated with the data that was unavailable.
*/
@ApiModel(description = "The warning associated with the data that was unavailable.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraBankIncomeWarning {
public static final String SERIALIZED_NAME_WARNING_TYPE = "warning_type";
@SerializedName(SERIALIZED_NAME_WARNING_TYPE)
private CreditBankIncomeWarningType warningType;
public static final String SERIALIZED_NAME_WARNING_CODE = "warning_code";
@SerializedName(SERIALIZED_NAME_WARNING_CODE)
private CraBankIncomeWarningCode warningCode;
public static final String SERIALIZED_NAME_CAUSE = "cause";
@SerializedName(SERIALIZED_NAME_CAUSE)
private CraBankIncomeCause cause;
public CraBankIncomeWarning warningType(CreditBankIncomeWarningType warningType) {
this.warningType = warningType;
return this;
}
/**
* Get warningType
* @return warningType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CreditBankIncomeWarningType getWarningType() {
return warningType;
}
public void setWarningType(CreditBankIncomeWarningType warningType) {
this.warningType = warningType;
}
public CraBankIncomeWarning warningCode(CraBankIncomeWarningCode warningCode) {
this.warningCode = warningCode;
return this;
}
/**
* Get warningCode
* @return warningCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CraBankIncomeWarningCode getWarningCode() {
return warningCode;
}
public void setWarningCode(CraBankIncomeWarningCode warningCode) {
this.warningCode = warningCode;
}
public CraBankIncomeWarning cause(CraBankIncomeCause cause) {
this.cause = cause;
return this;
}
/**
* Get cause
* @return cause
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CraBankIncomeCause getCause() {
return cause;
}
public void setCause(CraBankIncomeCause cause) {
this.cause = cause;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraBankIncomeWarning craBankIncomeWarning = (CraBankIncomeWarning) o;
return Objects.equals(this.warningType, craBankIncomeWarning.warningType) &&
Objects.equals(this.warningCode, craBankIncomeWarning.warningCode) &&
Objects.equals(this.cause, craBankIncomeWarning.cause);
}
@Override
public int hashCode() {
return Objects.hash(warningType, warningCode, cause);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraBankIncomeWarning {\n");
sb.append(" warningType: ").append(toIndentedString(warningType)).append("\n");
sb.append(" warningCode: ").append(toIndentedString(warningCode)).append("\n");
sb.append(" cause: ").append(toIndentedString(cause)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxBankIncomeFireWebhookResponse.java | src/main/java/com/plaid/client/model/SandboxBankIncomeFireWebhookResponse.java | /*
* 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.680.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;
/**
* SandboxBankIncomeFireWebhookResponse defines the response schema for `/sandbox/bank_income/fire_webhook`
*/
@ApiModel(description = "SandboxBankIncomeFireWebhookResponse defines the response schema for `/sandbox/bank_income/fire_webhook`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxBankIncomeFireWebhookResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxBankIncomeFireWebhookResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxBankIncomeFireWebhookResponse sandboxBankIncomeFireWebhookResponse = (SandboxBankIncomeFireWebhookResponse) o;
return Objects.equals(this.requestId, sandboxBankIncomeFireWebhookResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxBankIncomeFireWebhookResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/RiskCheckEmail.java | src/main/java/com/plaid/client/model/RiskCheckEmail.java | /*
* 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.680.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 com.plaid.client.model.RiskCheckEmailDomainIsCustom;
import com.plaid.client.model.RiskCheckEmailDomainIsDisposable;
import com.plaid.client.model.RiskCheckEmailDomainIsFreeProvider;
import com.plaid.client.model.RiskCheckEmailIsDeliverableStatus;
import com.plaid.client.model.RiskCheckEmailTopLevelDomainIsSuspicious;
import com.plaid.client.model.RiskCheckLinkedService;
import com.plaid.client.model.RiskLevel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
/**
* Result summary object specifying values for `email` attributes of risk check.
*/
@ApiModel(description = "Result summary object specifying values for `email` attributes of risk check.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class RiskCheckEmail {
public static final String SERIALIZED_NAME_IS_DELIVERABLE = "is_deliverable";
@SerializedName(SERIALIZED_NAME_IS_DELIVERABLE)
private RiskCheckEmailIsDeliverableStatus isDeliverable;
public static final String SERIALIZED_NAME_BREACH_COUNT = "breach_count";
@SerializedName(SERIALIZED_NAME_BREACH_COUNT)
private Integer breachCount;
public static final String SERIALIZED_NAME_FIRST_BREACHED_AT = "first_breached_at";
@SerializedName(SERIALIZED_NAME_FIRST_BREACHED_AT)
private LocalDate firstBreachedAt;
public static final String SERIALIZED_NAME_LAST_BREACHED_AT = "last_breached_at";
@SerializedName(SERIALIZED_NAME_LAST_BREACHED_AT)
private LocalDate lastBreachedAt;
public static final String SERIALIZED_NAME_DOMAIN_REGISTERED_AT = "domain_registered_at";
@SerializedName(SERIALIZED_NAME_DOMAIN_REGISTERED_AT)
private LocalDate domainRegisteredAt;
public static final String SERIALIZED_NAME_DOMAIN_IS_FREE_PROVIDER = "domain_is_free_provider";
@SerializedName(SERIALIZED_NAME_DOMAIN_IS_FREE_PROVIDER)
private RiskCheckEmailDomainIsFreeProvider domainIsFreeProvider;
public static final String SERIALIZED_NAME_DOMAIN_IS_CUSTOM = "domain_is_custom";
@SerializedName(SERIALIZED_NAME_DOMAIN_IS_CUSTOM)
private RiskCheckEmailDomainIsCustom domainIsCustom;
public static final String SERIALIZED_NAME_DOMAIN_IS_DISPOSABLE = "domain_is_disposable";
@SerializedName(SERIALIZED_NAME_DOMAIN_IS_DISPOSABLE)
private RiskCheckEmailDomainIsDisposable domainIsDisposable;
public static final String SERIALIZED_NAME_TOP_LEVEL_DOMAIN_IS_SUSPICIOUS = "top_level_domain_is_suspicious";
@SerializedName(SERIALIZED_NAME_TOP_LEVEL_DOMAIN_IS_SUSPICIOUS)
private RiskCheckEmailTopLevelDomainIsSuspicious topLevelDomainIsSuspicious;
public static final String SERIALIZED_NAME_LINKED_SERVICES = "linked_services";
@SerializedName(SERIALIZED_NAME_LINKED_SERVICES)
private Set<RiskCheckLinkedService> linkedServices = new LinkedHashSet<>();
public static final String SERIALIZED_NAME_RISK_LEVEL = "risk_level";
@SerializedName(SERIALIZED_NAME_RISK_LEVEL)
private RiskLevel riskLevel;
public static final String SERIALIZED_NAME_FACTORS = "factors";
@SerializedName(SERIALIZED_NAME_FACTORS)
private List<String> factors = null;
public RiskCheckEmail isDeliverable(RiskCheckEmailIsDeliverableStatus isDeliverable) {
this.isDeliverable = isDeliverable;
return this;
}
/**
* Get isDeliverable
* @return isDeliverable
**/
@ApiModelProperty(required = true, value = "")
public RiskCheckEmailIsDeliverableStatus getIsDeliverable() {
return isDeliverable;
}
public void setIsDeliverable(RiskCheckEmailIsDeliverableStatus isDeliverable) {
this.isDeliverable = isDeliverable;
}
public RiskCheckEmail breachCount(Integer breachCount) {
this.breachCount = breachCount;
return this;
}
/**
* Count of all known breaches of this email address if known.
* @return breachCount
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1", required = true, value = "Count of all known breaches of this email address if known.")
public Integer getBreachCount() {
return breachCount;
}
public void setBreachCount(Integer breachCount) {
this.breachCount = breachCount;
}
public RiskCheckEmail firstBreachedAt(LocalDate firstBreachedAt) {
this.firstBreachedAt = firstBreachedAt;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return firstBreachedAt
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getFirstBreachedAt() {
return firstBreachedAt;
}
public void setFirstBreachedAt(LocalDate firstBreachedAt) {
this.firstBreachedAt = firstBreachedAt;
}
public RiskCheckEmail lastBreachedAt(LocalDate lastBreachedAt) {
this.lastBreachedAt = lastBreachedAt;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return lastBreachedAt
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getLastBreachedAt() {
return lastBreachedAt;
}
public void setLastBreachedAt(LocalDate lastBreachedAt) {
this.lastBreachedAt = lastBreachedAt;
}
public RiskCheckEmail domainRegisteredAt(LocalDate domainRegisteredAt) {
this.domainRegisteredAt = domainRegisteredAt;
return this;
}
/**
* A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).
* @return domainRegisteredAt
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Tue May 29 00:00:00 UTC 1990", required = true, value = "A date in the format YYYY-MM-DD (RFC 3339 Section 5.6).")
public LocalDate getDomainRegisteredAt() {
return domainRegisteredAt;
}
public void setDomainRegisteredAt(LocalDate domainRegisteredAt) {
this.domainRegisteredAt = domainRegisteredAt;
}
public RiskCheckEmail domainIsFreeProvider(RiskCheckEmailDomainIsFreeProvider domainIsFreeProvider) {
this.domainIsFreeProvider = domainIsFreeProvider;
return this;
}
/**
* Get domainIsFreeProvider
* @return domainIsFreeProvider
**/
@ApiModelProperty(required = true, value = "")
public RiskCheckEmailDomainIsFreeProvider getDomainIsFreeProvider() {
return domainIsFreeProvider;
}
public void setDomainIsFreeProvider(RiskCheckEmailDomainIsFreeProvider domainIsFreeProvider) {
this.domainIsFreeProvider = domainIsFreeProvider;
}
public RiskCheckEmail domainIsCustom(RiskCheckEmailDomainIsCustom domainIsCustom) {
this.domainIsCustom = domainIsCustom;
return this;
}
/**
* Get domainIsCustom
* @return domainIsCustom
**/
@ApiModelProperty(required = true, value = "")
public RiskCheckEmailDomainIsCustom getDomainIsCustom() {
return domainIsCustom;
}
public void setDomainIsCustom(RiskCheckEmailDomainIsCustom domainIsCustom) {
this.domainIsCustom = domainIsCustom;
}
public RiskCheckEmail domainIsDisposable(RiskCheckEmailDomainIsDisposable domainIsDisposable) {
this.domainIsDisposable = domainIsDisposable;
return this;
}
/**
* Get domainIsDisposable
* @return domainIsDisposable
**/
@ApiModelProperty(required = true, value = "")
public RiskCheckEmailDomainIsDisposable getDomainIsDisposable() {
return domainIsDisposable;
}
public void setDomainIsDisposable(RiskCheckEmailDomainIsDisposable domainIsDisposable) {
this.domainIsDisposable = domainIsDisposable;
}
public RiskCheckEmail topLevelDomainIsSuspicious(RiskCheckEmailTopLevelDomainIsSuspicious topLevelDomainIsSuspicious) {
this.topLevelDomainIsSuspicious = topLevelDomainIsSuspicious;
return this;
}
/**
* Get topLevelDomainIsSuspicious
* @return topLevelDomainIsSuspicious
**/
@ApiModelProperty(required = true, value = "")
public RiskCheckEmailTopLevelDomainIsSuspicious getTopLevelDomainIsSuspicious() {
return topLevelDomainIsSuspicious;
}
public void setTopLevelDomainIsSuspicious(RiskCheckEmailTopLevelDomainIsSuspicious topLevelDomainIsSuspicious) {
this.topLevelDomainIsSuspicious = topLevelDomainIsSuspicious;
}
public RiskCheckEmail linkedServices(Set<RiskCheckLinkedService> linkedServices) {
this.linkedServices = linkedServices;
return this;
}
public RiskCheckEmail addLinkedServicesItem(RiskCheckLinkedService linkedServicesItem) {
this.linkedServices.add(linkedServicesItem);
return this;
}
/**
* A list of online services where this email address has been detected to have accounts or other activity.
* @return linkedServices
**/
@ApiModelProperty(example = "[\"facebook\"]", required = true, value = "A list of online services where this email address has been detected to have accounts or other activity.")
public Set<RiskCheckLinkedService> getLinkedServices() {
return linkedServices;
}
public void setLinkedServices(Set<RiskCheckLinkedService> linkedServices) {
this.linkedServices = linkedServices;
}
public RiskCheckEmail riskLevel(RiskLevel riskLevel) {
this.riskLevel = riskLevel;
return this;
}
/**
* Get riskLevel
* @return riskLevel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RiskLevel getRiskLevel() {
return riskLevel;
}
public void setRiskLevel(RiskLevel riskLevel) {
this.riskLevel = riskLevel;
}
public RiskCheckEmail factors(List<String> factors) {
this.factors = factors;
return this;
}
public RiskCheckEmail addFactorsItem(String factorsItem) {
if (this.factors == null) {
this.factors = new ArrayList<>();
}
this.factors.add(factorsItem);
return this;
}
/**
* List of factors, when available, that contribute towards the risk level of the given risk check type.
* @return factors
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "List of factors, when available, that contribute towards the risk level of the given risk check type.")
public List<String> getFactors() {
return factors;
}
public void setFactors(List<String> factors) {
this.factors = factors;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RiskCheckEmail riskCheckEmail = (RiskCheckEmail) o;
return Objects.equals(this.isDeliverable, riskCheckEmail.isDeliverable) &&
Objects.equals(this.breachCount, riskCheckEmail.breachCount) &&
Objects.equals(this.firstBreachedAt, riskCheckEmail.firstBreachedAt) &&
Objects.equals(this.lastBreachedAt, riskCheckEmail.lastBreachedAt) &&
Objects.equals(this.domainRegisteredAt, riskCheckEmail.domainRegisteredAt) &&
Objects.equals(this.domainIsFreeProvider, riskCheckEmail.domainIsFreeProvider) &&
Objects.equals(this.domainIsCustom, riskCheckEmail.domainIsCustom) &&
Objects.equals(this.domainIsDisposable, riskCheckEmail.domainIsDisposable) &&
Objects.equals(this.topLevelDomainIsSuspicious, riskCheckEmail.topLevelDomainIsSuspicious) &&
Objects.equals(this.linkedServices, riskCheckEmail.linkedServices) &&
Objects.equals(this.riskLevel, riskCheckEmail.riskLevel) &&
Objects.equals(this.factors, riskCheckEmail.factors);
}
@Override
public int hashCode() {
return Objects.hash(isDeliverable, breachCount, firstBreachedAt, lastBreachedAt, domainRegisteredAt, domainIsFreeProvider, domainIsCustom, domainIsDisposable, topLevelDomainIsSuspicious, linkedServices, riskLevel, factors);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RiskCheckEmail {\n");
sb.append(" isDeliverable: ").append(toIndentedString(isDeliverable)).append("\n");
sb.append(" breachCount: ").append(toIndentedString(breachCount)).append("\n");
sb.append(" firstBreachedAt: ").append(toIndentedString(firstBreachedAt)).append("\n");
sb.append(" lastBreachedAt: ").append(toIndentedString(lastBreachedAt)).append("\n");
sb.append(" domainRegisteredAt: ").append(toIndentedString(domainRegisteredAt)).append("\n");
sb.append(" domainIsFreeProvider: ").append(toIndentedString(domainIsFreeProvider)).append("\n");
sb.append(" domainIsCustom: ").append(toIndentedString(domainIsCustom)).append("\n");
sb.append(" domainIsDisposable: ").append(toIndentedString(domainIsDisposable)).append("\n");
sb.append(" topLevelDomainIsSuspicious: ").append(toIndentedString(topLevelDomainIsSuspicious)).append("\n");
sb.append(" linkedServices: ").append(toIndentedString(linkedServices)).append("\n");
sb.append(" riskLevel: ").append(toIndentedString(riskLevel)).append("\n");
sb.append(" factors: ").append(toIndentedString(factors)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransactionsRulesRemoveResponse.java | src/main/java/com/plaid/client/model/TransactionsRulesRemoveResponse.java | /*
* 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.680.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;
/**
* TransactionsRulesRemoveResponse defines the response schema for `/beta/transactions/rules/v1/remove`
*/
@ApiModel(description = "TransactionsRulesRemoveResponse defines the response schema for `/beta/transactions/rules/v1/remove`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsRulesRemoveResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransactionsRulesRemoveResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionsRulesRemoveResponse transactionsRulesRemoveResponse = (TransactionsRulesRemoveResponse) o;
return Objects.equals(this.requestId, transactionsRulesRemoveResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsRulesRemoveResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/DeductionsBreakdown.java | src/main/java/com/plaid/client/model/DeductionsBreakdown.java | /*
* 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.680.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;
/**
* An object representing the deduction line items for the pay period
*/
@ApiModel(description = "An object representing the deduction line items for the pay period")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class DeductionsBreakdown {
public static final String SERIALIZED_NAME_CURRENT_AMOUNT = "current_amount";
@SerializedName(SERIALIZED_NAME_CURRENT_AMOUNT)
private Double currentAmount;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public static final String SERIALIZED_NAME_YTD_AMOUNT = "ytd_amount";
@SerializedName(SERIALIZED_NAME_YTD_AMOUNT)
private Double ytdAmount;
public DeductionsBreakdown currentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
return this;
}
/**
* Raw amount of the deduction
* @return currentAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Raw amount of the deduction")
public Double getCurrentAmount() {
return currentAmount;
}
public void setCurrentAmount(Double currentAmount) {
this.currentAmount = currentAmount;
}
public DeductionsBreakdown description(String description) {
this.description = description;
return this;
}
/**
* Description of the deduction line item
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Description of the deduction line item")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public DeductionsBreakdown isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO-4217 currency code of the line item. Always `null` if `unofficial_currency_code` is non-null.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ISO-4217 currency code of the line item. Always `null` if `unofficial_currency_code` is non-null.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public DeductionsBreakdown unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the line item. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unofficial currency code associated with the line item. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
public DeductionsBreakdown ytdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
return this;
}
/**
* The year-to-date amount of the deduction
* @return ytdAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The year-to-date amount of the deduction")
public Double getYtdAmount() {
return ytdAmount;
}
public void setYtdAmount(Double ytdAmount) {
this.ytdAmount = ytdAmount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DeductionsBreakdown deductionsBreakdown = (DeductionsBreakdown) o;
return Objects.equals(this.currentAmount, deductionsBreakdown.currentAmount) &&
Objects.equals(this.description, deductionsBreakdown.description) &&
Objects.equals(this.isoCurrencyCode, deductionsBreakdown.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, deductionsBreakdown.unofficialCurrencyCode) &&
Objects.equals(this.ytdAmount, deductionsBreakdown.ytdAmount);
}
@Override
public int hashCode() {
return Objects.hash(currentAmount, description, isoCurrencyCode, unofficialCurrencyCode, ytdAmount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DeductionsBreakdown {\n");
sb.append(" currentAmount: ").append(toIndentedString(currentAmount)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).append("\n");
sb.append(" ytdAmount: ").append(toIndentedString(ytdAmount)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/Address.java | src/main/java/com/plaid/client/model/Address.java | /*
* 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.680.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 com.plaid.client.model.AddressData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* A physical mailing address.
*/
@ApiModel(description = "A physical mailing address.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Address {
public static final String SERIALIZED_NAME_DATA = "data";
@SerializedName(SERIALIZED_NAME_DATA)
private AddressData data;
public static final String SERIALIZED_NAME_PRIMARY = "primary";
@SerializedName(SERIALIZED_NAME_PRIMARY)
private Boolean primary;
public Address data(AddressData data) {
this.data = data;
return this;
}
/**
* Get data
* @return data
**/
@ApiModelProperty(required = true, value = "")
public AddressData getData() {
return data;
}
public void setData(AddressData data) {
this.data = data;
}
public Address primary(Boolean primary) {
this.primary = primary;
return this;
}
/**
* When `true`, identifies the address as the primary address on an account.
* @return primary
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "When `true`, identifies the address as the primary address on an account.")
public Boolean getPrimary() {
return primary;
}
public void setPrimary(Boolean primary) {
this.primary = primary;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Address address = (Address) o;
return Objects.equals(this.data, address.data) &&
Objects.equals(this.primary, address.primary);
}
@Override
public int hashCode() {
return Objects.hash(data, primary);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Address {\n");
sb.append(" data: ").append(toIndentedString(data)).append("\n");
sb.append(" primary: ").append(toIndentedString(primary)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/NetworkInsightsVersion.java | src/main/java/com/plaid/client/model/NetworkInsightsVersion.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The version of network insights
*/
@JsonAdapter(NetworkInsightsVersion.Adapter.class)
public enum NetworkInsightsVersion {
NI1("NI1"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
NetworkInsightsVersion(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static NetworkInsightsVersion fromValue(String value) {
for (NetworkInsightsVersion b : NetworkInsightsVersion.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<NetworkInsightsVersion> {
@Override
public void write(final JsonWriter jsonWriter, final NetworkInsightsVersion enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public NetworkInsightsVersion read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return NetworkInsightsVersion.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ItemPublicTokenExchangeResponse.java | src/main/java/com/plaid/client/model/ItemPublicTokenExchangeResponse.java | /*
* 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.680.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;
/**
* ItemPublicTokenExchangeResponse defines the response schema for `/item/public_token/exchange`
*/
@ApiModel(description = "ItemPublicTokenExchangeResponse defines the response schema for `/item/public_token/exchange`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemPublicTokenExchangeResponse {
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public ItemPublicTokenExchangeResponse accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* The access token associated with the Item data is being requested for.
* @return accessToken
**/
@ApiModelProperty(required = true, value = "The access token associated with the Item data is being requested for.")
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public ItemPublicTokenExchangeResponse itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The `item_id` value of the Item associated with the returned `access_token`
* @return itemId
**/
@ApiModelProperty(required = true, value = "The `item_id` value of the Item associated with the returned `access_token`")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public ItemPublicTokenExchangeResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemPublicTokenExchangeResponse itemPublicTokenExchangeResponse = (ItemPublicTokenExchangeResponse) o;
return Objects.equals(this.accessToken, itemPublicTokenExchangeResponse.accessToken) &&
Objects.equals(this.itemId, itemPublicTokenExchangeResponse.itemId) &&
Objects.equals(this.requestId, itemPublicTokenExchangeResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(accessToken, itemId, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemPublicTokenExchangeResponse {\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkTokenCreateRequestAccountSubtypes.java | src/main/java/com/plaid/client/model/LinkTokenCreateRequestAccountSubtypes.java | /*
* 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.680.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 com.plaid.client.model.LinkTokenCreateCreditFilter;
import com.plaid.client.model.LinkTokenCreateDepositoryFilter;
import com.plaid.client.model.LinkTokenCreateInvestmentFilter;
import com.plaid.client.model.LinkTokenCreateLoanFilter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* By default, Link will only display account types that are compatible with all products supplied in the `products` parameter of `/link/token/create`. You can further limit the accounts shown in Link by using `account_filters` to specify the account subtypes to be shown in Link. Only the specified subtypes will be shown. This filtering applies to both the Account Select view (if enabled) and the Institution Select view. Institutions that do not support the selected subtypes will be omitted from Link. To indicate that all subtypes should be shown, use the value `\"all\"`. If the `account_filters` filter is used, any account type for which a filter is not specified will be entirely omitted from Link. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). For institutions using OAuth, the filter will not affect the list of institutions or accounts shown by the bank in the OAuth window.
*/
@ApiModel(description = "By default, Link will only display account types that are compatible with all products supplied in the `products` parameter of `/link/token/create`. You can further limit the accounts shown in Link by using `account_filters` to specify the account subtypes to be shown in Link. Only the specified subtypes will be shown. This filtering applies to both the Account Select view (if enabled) and the Institution Select view. Institutions that do not support the selected subtypes will be omitted from Link. To indicate that all subtypes should be shown, use the value `\"all\"`. If the `account_filters` filter is used, any account type for which a filter is not specified will be entirely omitted from Link. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). For institutions using OAuth, the filter will not affect the list of institutions or accounts shown by the bank in the OAuth window. ")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestAccountSubtypes {
public static final String SERIALIZED_NAME_DEPOSITORY = "depository";
@SerializedName(SERIALIZED_NAME_DEPOSITORY)
private LinkTokenCreateDepositoryFilter depository;
public static final String SERIALIZED_NAME_CREDIT = "credit";
@SerializedName(SERIALIZED_NAME_CREDIT)
private LinkTokenCreateCreditFilter credit;
public static final String SERIALIZED_NAME_LOAN = "loan";
@SerializedName(SERIALIZED_NAME_LOAN)
private LinkTokenCreateLoanFilter loan;
public static final String SERIALIZED_NAME_INVESTMENT = "investment";
@SerializedName(SERIALIZED_NAME_INVESTMENT)
private LinkTokenCreateInvestmentFilter investment;
public LinkTokenCreateRequestAccountSubtypes depository(LinkTokenCreateDepositoryFilter depository) {
this.depository = depository;
return this;
}
/**
* Get depository
* @return depository
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkTokenCreateDepositoryFilter getDepository() {
return depository;
}
public void setDepository(LinkTokenCreateDepositoryFilter depository) {
this.depository = depository;
}
public LinkTokenCreateRequestAccountSubtypes credit(LinkTokenCreateCreditFilter credit) {
this.credit = credit;
return this;
}
/**
* Get credit
* @return credit
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkTokenCreateCreditFilter getCredit() {
return credit;
}
public void setCredit(LinkTokenCreateCreditFilter credit) {
this.credit = credit;
}
public LinkTokenCreateRequestAccountSubtypes loan(LinkTokenCreateLoanFilter loan) {
this.loan = loan;
return this;
}
/**
* Get loan
* @return loan
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkTokenCreateLoanFilter getLoan() {
return loan;
}
public void setLoan(LinkTokenCreateLoanFilter loan) {
this.loan = loan;
}
public LinkTokenCreateRequestAccountSubtypes investment(LinkTokenCreateInvestmentFilter investment) {
this.investment = investment;
return this;
}
/**
* Get investment
* @return investment
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkTokenCreateInvestmentFilter getInvestment() {
return investment;
}
public void setInvestment(LinkTokenCreateInvestmentFilter investment) {
this.investment = investment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateRequestAccountSubtypes linkTokenCreateRequestAccountSubtypes = (LinkTokenCreateRequestAccountSubtypes) o;
return Objects.equals(this.depository, linkTokenCreateRequestAccountSubtypes.depository) &&
Objects.equals(this.credit, linkTokenCreateRequestAccountSubtypes.credit) &&
Objects.equals(this.loan, linkTokenCreateRequestAccountSubtypes.loan) &&
Objects.equals(this.investment, linkTokenCreateRequestAccountSubtypes.investment);
}
@Override
public int hashCode() {
return Objects.hash(depository, credit, loan, investment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateRequestAccountSubtypes {\n");
sb.append(" depository: ").append(toIndentedString(depository)).append("\n");
sb.append(" credit: ").append(toIndentedString(credit)).append("\n");
sb.append(" loan: ").append(toIndentedString(loan)).append("\n");
sb.append(" investment: ").append(toIndentedString(investment)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxPublicTokenCreateRequestIncomeVerificationBankIncome.java | src/main/java/com/plaid/client/model/SandboxPublicTokenCreateRequestIncomeVerificationBankIncome.java | /*
* 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.680.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;
/**
* Specifies options for Bank Income. This field is required if `income_verification` is included in the `initial_products` array and `bank` is specified in `income_source_types`.
*/
@ApiModel(description = "Specifies options for Bank Income. This field is required if `income_verification` is included in the `initial_products` array and `bank` is specified in `income_source_types`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxPublicTokenCreateRequestIncomeVerificationBankIncome {
public static final String SERIALIZED_NAME_DAYS_REQUESTED = "days_requested";
@SerializedName(SERIALIZED_NAME_DAYS_REQUESTED)
private Integer daysRequested;
public SandboxPublicTokenCreateRequestIncomeVerificationBankIncome daysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
return this;
}
/**
* The number of days of data to request for the Bank Income product
* @return daysRequested
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of days of data to request for the Bank Income product")
public Integer getDaysRequested() {
return daysRequested;
}
public void setDaysRequested(Integer daysRequested) {
this.daysRequested = daysRequested;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxPublicTokenCreateRequestIncomeVerificationBankIncome sandboxPublicTokenCreateRequestIncomeVerificationBankIncome = (SandboxPublicTokenCreateRequestIncomeVerificationBankIncome) o;
return Objects.equals(this.daysRequested, sandboxPublicTokenCreateRequestIncomeVerificationBankIncome.daysRequested);
}
@Override
public int hashCode() {
return Objects.hash(daysRequested);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxPublicTokenCreateRequestIncomeVerificationBankIncome {\n");
sb.append(" daysRequested: ").append(toIndentedString(daysRequested)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorTransactionsGetRequest.java | src/main/java/com/plaid/client/model/ProcessorTransactionsGetRequest.java | /*
* 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.680.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 com.plaid.client.model.ProcessorTransactionsGetRequestOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.LocalDate;
/**
* ProcessorTransactionsGetRequest defines the request schema for `/processor/transactions/get`
*/
@ApiModel(description = "ProcessorTransactionsGetRequest defines the request schema for `/processor/transactions/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorTransactionsGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private ProcessorTransactionsGetRequestOptions options;
public static final String SERIALIZED_NAME_PROCESSOR_TOKEN = "processor_token";
@SerializedName(SERIALIZED_NAME_PROCESSOR_TOKEN)
private String processorToken;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private LocalDate startDate;
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private LocalDate endDate;
public ProcessorTransactionsGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public ProcessorTransactionsGetRequest options(ProcessorTransactionsGetRequestOptions options) {
this.options = options;
return this;
}
/**
* Get options
* @return options
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ProcessorTransactionsGetRequestOptions getOptions() {
return options;
}
public void setOptions(ProcessorTransactionsGetRequestOptions options) {
this.options = options;
}
public ProcessorTransactionsGetRequest processorToken(String processorToken) {
this.processorToken = processorToken;
return this;
}
/**
* The processor token obtained from the Plaid integration partner. Processor tokens are in the format: `processor-<environment>-<identifier>`
* @return processorToken
**/
@ApiModelProperty(required = true, value = "The processor token obtained from the Plaid integration partner. Processor tokens are in the format: `processor-<environment>-<identifier>`")
public String getProcessorToken() {
return processorToken;
}
public void setProcessorToken(String processorToken) {
this.processorToken = processorToken;
}
public ProcessorTransactionsGetRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public ProcessorTransactionsGetRequest startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The earliest date for which data should be returned. Dates should be formatted as YYYY-MM-DD.
* @return startDate
**/
@ApiModelProperty(required = true, value = "The earliest date for which data should be returned. Dates should be formatted as YYYY-MM-DD.")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public ProcessorTransactionsGetRequest endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The latest date for which data should be returned. Dates should be formatted as YYYY-MM-DD.
* @return endDate
**/
@ApiModelProperty(required = true, value = "The latest date for which data should be returned. Dates should be formatted as YYYY-MM-DD.")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorTransactionsGetRequest processorTransactionsGetRequest = (ProcessorTransactionsGetRequest) o;
return Objects.equals(this.clientId, processorTransactionsGetRequest.clientId) &&
Objects.equals(this.options, processorTransactionsGetRequest.options) &&
Objects.equals(this.processorToken, processorTransactionsGetRequest.processorToken) &&
Objects.equals(this.secret, processorTransactionsGetRequest.secret) &&
Objects.equals(this.startDate, processorTransactionsGetRequest.startDate) &&
Objects.equals(this.endDate, processorTransactionsGetRequest.endDate);
}
@Override
public int hashCode() {
return Objects.hash(clientId, options, processorToken, secret, startDate, endDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorTransactionsGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" options: ").append(toIndentedString(options)).append("\n");
sb.append(" processorToken: ").append(toIndentedString(processorToken)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/FDXNotificationPriority.java | src/main/java/com/plaid/client/model/FDXNotificationPriority.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Priority of notification
*/
@JsonAdapter(FDXNotificationPriority.Adapter.class)
public enum FDXNotificationPriority {
HIGH("HIGH"),
MEDIUM("MEDIUM"),
LOW("LOW"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
FDXNotificationPriority(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static FDXNotificationPriority fromValue(String value) {
for (FDXNotificationPriority b : FDXNotificationPriority.values()) {
if (b.value.equals(value)) {
return b;
}
}
return FDXNotificationPriority.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<FDXNotificationPriority> {
@Override
public void write(final JsonWriter jsonWriter, final FDXNotificationPriority enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public FDXNotificationPriority read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return FDXNotificationPriority.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconAuditTrail.java | src/main/java/com/plaid/client/model/BeaconAuditTrail.java | /*
* 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.680.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 com.plaid.client.model.BeaconAuditTrailSource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Information about the last change made to the parent object specifying what caused the change as well as when it occurred.
*/
@ApiModel(description = "Information about the last change made to the parent object specifying what caused the change as well as when it occurred.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconAuditTrail {
public static final String SERIALIZED_NAME_SOURCE = "source";
@SerializedName(SERIALIZED_NAME_SOURCE)
private BeaconAuditTrailSource source;
public static final String SERIALIZED_NAME_DASHBOARD_USER_ID = "dashboard_user_id";
@SerializedName(SERIALIZED_NAME_DASHBOARD_USER_ID)
private String dashboardUserId;
public static final String SERIALIZED_NAME_TIMESTAMP = "timestamp";
@SerializedName(SERIALIZED_NAME_TIMESTAMP)
private java.sql.Timestamp timestamp;
public BeaconAuditTrail source(BeaconAuditTrailSource source) {
this.source = source;
return this;
}
/**
* Get source
* @return source
**/
@ApiModelProperty(required = true, value = "")
public BeaconAuditTrailSource getSource() {
return source;
}
public void setSource(BeaconAuditTrailSource source) {
this.source = source;
}
public BeaconAuditTrail dashboardUserId(String dashboardUserId) {
this.dashboardUserId = dashboardUserId;
return this;
}
/**
* ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.
* @return dashboardUserId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "54350110fedcbaf01234ffee", required = true, value = "ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.")
public String getDashboardUserId() {
return dashboardUserId;
}
public void setDashboardUserId(String dashboardUserId) {
this.dashboardUserId = dashboardUserId;
}
public BeaconAuditTrail timestamp(java.sql.Timestamp timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* Get timestamp
* @return timestamp
**/
@ApiModelProperty(required = true, value = "")
public java.sql.Timestamp getTimestamp() {
return timestamp;
}
public void setTimestamp(java.sql.Timestamp timestamp) {
this.timestamp = timestamp;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconAuditTrail beaconAuditTrail = (BeaconAuditTrail) o;
return Objects.equals(this.source, beaconAuditTrail.source) &&
Objects.equals(this.dashboardUserId, beaconAuditTrail.dashboardUserId) &&
Objects.equals(this.timestamp, beaconAuditTrail.timestamp);
}
@Override
public int hashCode() {
return Objects.hash(source, dashboardUserId, timestamp);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconAuditTrail {\n");
sb.append(" source: ").append(toIndentedString(source)).append("\n");
sb.append(" dashboardUserId: ").append(toIndentedString(dashboardUserId)).append("\n");
sb.append(" timestamp: ").append(toIndentedString(timestamp)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferOriginatorFundingAccountUpdateResponse.java | src/main/java/com/plaid/client/model/TransferOriginatorFundingAccountUpdateResponse.java | /*
* 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.680.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;
/**
* Defines the response schema for `/transfer/originator/funding_account/update`
*/
@ApiModel(description = "Defines the response schema for `/transfer/originator/funding_account/update`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferOriginatorFundingAccountUpdateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferOriginatorFundingAccountUpdateResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferOriginatorFundingAccountUpdateResponse transferOriginatorFundingAccountUpdateResponse = (TransferOriginatorFundingAccountUpdateResponse) o;
return Objects.equals(this.requestId, transferOriginatorFundingAccountUpdateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferOriginatorFundingAccountUpdateResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/UserAccountIdentityName.java | src/main/java/com/plaid/client/model/UserAccountIdentityName.java | /*
* 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.680.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;
/**
* The user's first name and last name.
*/
@ApiModel(description = "The user's first name and last name.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserAccountIdentityName {
public static final String SERIALIZED_NAME_FIRST_NAME = "first_name";
@SerializedName(SERIALIZED_NAME_FIRST_NAME)
private String firstName;
public static final String SERIALIZED_NAME_LAST_NAME = "last_name";
@SerializedName(SERIALIZED_NAME_LAST_NAME)
private String lastName;
public UserAccountIdentityName firstName(String firstName) {
this.firstName = firstName;
return this;
}
/**
* Get firstName
* @return firstName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public UserAccountIdentityName lastName(String lastName) {
this.lastName = lastName;
return this;
}
/**
* Get lastName
* @return lastName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserAccountIdentityName userAccountIdentityName = (UserAccountIdentityName) o;
return Objects.equals(this.firstName, userAccountIdentityName.firstName) &&
Objects.equals(this.lastName, userAccountIdentityName.lastName);
}
@Override
public int hashCode() {
return Objects.hash(firstName, lastName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserAccountIdentityName {\n");
sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n");
sb.append(" lastName: ").append(toIndentedString(lastName)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxUserResetLoginRequest.java | src/main/java/com/plaid/client/model/SandboxUserResetLoginRequest.java | /*
* 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.680.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.util.ArrayList;
import java.util.List;
/**
* SandboxUserResetLoginRequest defines the request schema for `/sandbox/user/reset_login`
*/
@ApiModel(description = "SandboxUserResetLoginRequest defines the request schema for `/sandbox/user/reset_login`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxUserResetLoginRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_USER_TOKEN = "user_token";
@SerializedName(SERIALIZED_NAME_USER_TOKEN)
private String userToken;
public static final String SERIALIZED_NAME_ITEM_IDS = "item_ids";
@SerializedName(SERIALIZED_NAME_ITEM_IDS)
private List<String> itemIds = null;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public SandboxUserResetLoginRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public SandboxUserResetLoginRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public SandboxUserResetLoginRequest userToken(String userToken) {
this.userToken = userToken;
return this;
}
/**
* The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).
* @return userToken
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserToken() {
return userToken;
}
public void setUserToken(String userToken) {
this.userToken = userToken;
}
public SandboxUserResetLoginRequest itemIds(List<String> itemIds) {
this.itemIds = itemIds;
return this;
}
public SandboxUserResetLoginRequest addItemIdsItem(String itemIdsItem) {
if (this.itemIds == null) {
this.itemIds = new ArrayList<>();
}
this.itemIds.add(itemIdsItem);
return this;
}
/**
* An array of `item_id`s associated with the User to be reset. If empty or `null`, this field will default to resetting all Items associated with the User.
* @return itemIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of `item_id`s associated with the User to be reset. If empty or `null`, this field will default to resetting all Items associated with the User.")
public List<String> getItemIds() {
return itemIds;
}
public void setItemIds(List<String> itemIds) {
this.itemIds = itemIds;
}
public SandboxUserResetLoginRequest userId(String userId) {
this.userId = userId;
return this;
}
/**
* A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxUserResetLoginRequest sandboxUserResetLoginRequest = (SandboxUserResetLoginRequest) o;
return Objects.equals(this.clientId, sandboxUserResetLoginRequest.clientId) &&
Objects.equals(this.secret, sandboxUserResetLoginRequest.secret) &&
Objects.equals(this.userToken, sandboxUserResetLoginRequest.userToken) &&
Objects.equals(this.itemIds, sandboxUserResetLoginRequest.itemIds) &&
Objects.equals(this.userId, sandboxUserResetLoginRequest.userId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, userToken, itemIds, userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxUserResetLoginRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" userToken: ").append(toIndentedString(userToken)).append("\n");
sb.append(" itemIds: ").append(toIndentedString(itemIds)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/InvestmentFilter.java | src/main/java/com/plaid/client/model/InvestmentFilter.java | /*
* 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.680.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 com.plaid.client.model.InvestmentAccountSubtype;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A filter to apply to `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier).
*/
@ApiModel(description = "A filter to apply to `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier).")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InvestmentFilter {
public static final String SERIALIZED_NAME_ACCOUNT_SUBTYPES = "account_subtypes";
@SerializedName(SERIALIZED_NAME_ACCOUNT_SUBTYPES)
private List<InvestmentAccountSubtype> accountSubtypes = new ArrayList<>();
public InvestmentFilter accountSubtypes(List<InvestmentAccountSubtype> accountSubtypes) {
this.accountSubtypes = accountSubtypes;
return this;
}
public InvestmentFilter addAccountSubtypesItem(InvestmentAccountSubtype accountSubtypesItem) {
this.accountSubtypes.add(accountSubtypesItem);
return this;
}
/**
* An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema).
* @return accountSubtypes
**/
@ApiModelProperty(required = true, value = "An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). ")
public List<InvestmentAccountSubtype> getAccountSubtypes() {
return accountSubtypes;
}
public void setAccountSubtypes(List<InvestmentAccountSubtype> accountSubtypes) {
this.accountSubtypes = accountSubtypes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InvestmentFilter investmentFilter = (InvestmentFilter) o;
return Objects.equals(this.accountSubtypes, investmentFilter.accountSubtypes);
}
@Override
public int hashCode() {
return Objects.hash(accountSubtypes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InvestmentFilter {\n");
sb.append(" accountSubtypes: ").append(toIndentedString(accountSubtypes)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/DashboardUserGetRequest.java | src/main/java/com/plaid/client/model/DashboardUserGetRequest.java | /*
* 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.680.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;
/**
* Request input for fetching a dashboard user
*/
@ApiModel(description = "Request input for fetching a dashboard user")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class DashboardUserGetRequest {
public static final String SERIALIZED_NAME_DASHBOARD_USER_ID = "dashboard_user_id";
@SerializedName(SERIALIZED_NAME_DASHBOARD_USER_ID)
private String dashboardUserId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public DashboardUserGetRequest dashboardUserId(String dashboardUserId) {
this.dashboardUserId = dashboardUserId;
return this;
}
/**
* ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.
* @return dashboardUserId
**/
@ApiModelProperty(example = "54350110fedcbaf01234ffee", required = true, value = "ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.")
public String getDashboardUserId() {
return dashboardUserId;
}
public void setDashboardUserId(String dashboardUserId) {
this.dashboardUserId = dashboardUserId;
}
public DashboardUserGetRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public DashboardUserGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DashboardUserGetRequest dashboardUserGetRequest = (DashboardUserGetRequest) o;
return Objects.equals(this.dashboardUserId, dashboardUserGetRequest.dashboardUserId) &&
Objects.equals(this.secret, dashboardUserGetRequest.secret) &&
Objects.equals(this.clientId, dashboardUserGetRequest.clientId);
}
@Override
public int hashCode() {
return Objects.hash(dashboardUserId, secret, clientId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DashboardUserGetRequest {\n");
sb.append(" dashboardUserId: ").append(toIndentedString(dashboardUserId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ItemPublicTokenCreateResponse.java | src/main/java/com/plaid/client/model/ItemPublicTokenCreateResponse.java | /*
* 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.680.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.time.OffsetDateTime;
/**
* ItemPublicTokenCreateResponse defines the response schema for `/item/public_token/create`
*/
@ApiModel(description = "ItemPublicTokenCreateResponse defines the response schema for `/item/public_token/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemPublicTokenCreateResponse {
public static final String SERIALIZED_NAME_PUBLIC_TOKEN = "public_token";
@SerializedName(SERIALIZED_NAME_PUBLIC_TOKEN)
private String publicToken;
public static final String SERIALIZED_NAME_EXPIRATION = "expiration";
@SerializedName(SERIALIZED_NAME_EXPIRATION)
private OffsetDateTime expiration;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public ItemPublicTokenCreateResponse publicToken(String publicToken) {
this.publicToken = publicToken;
return this;
}
/**
* A `public_token` for the particular Item corresponding to the specified `access_token`
* @return publicToken
**/
@ApiModelProperty(required = true, value = "A `public_token` for the particular Item corresponding to the specified `access_token`")
public String getPublicToken() {
return publicToken;
}
public void setPublicToken(String publicToken) {
this.publicToken = publicToken;
}
public ItemPublicTokenCreateResponse expiration(OffsetDateTime expiration) {
this.expiration = expiration;
return this;
}
/**
* Get expiration
* @return expiration
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OffsetDateTime getExpiration() {
return expiration;
}
public void setExpiration(OffsetDateTime expiration) {
this.expiration = expiration;
}
public ItemPublicTokenCreateResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemPublicTokenCreateResponse itemPublicTokenCreateResponse = (ItemPublicTokenCreateResponse) o;
return Objects.equals(this.publicToken, itemPublicTokenCreateResponse.publicToken) &&
Objects.equals(this.expiration, itemPublicTokenCreateResponse.expiration) &&
Objects.equals(this.requestId, itemPublicTokenCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(publicToken, expiration, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemPublicTokenCreateResponse {\n");
sb.append(" publicToken: ").append(toIndentedString(publicToken)).append("\n");
sb.append(" expiration: ").append(toIndentedString(expiration)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferUserInRequest.java | src/main/java/com/plaid/client/model/TransferUserInRequest.java | /*
* 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.680.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 com.plaid.client.model.TransferUserAddressInRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The legal name and other information for the account holder.
*/
@ApiModel(description = "The legal name and other information for the account holder.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferUserInRequest {
public static final String SERIALIZED_NAME_LEGAL_NAME = "legal_name";
@SerializedName(SERIALIZED_NAME_LEGAL_NAME)
private String legalName;
public static final String SERIALIZED_NAME_PHONE_NUMBER = "phone_number";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBER)
private String phoneNumber;
public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "email_address";
@SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS)
private String emailAddress;
public static final String SERIALIZED_NAME_ADDRESS = "address";
@SerializedName(SERIALIZED_NAME_ADDRESS)
private TransferUserAddressInRequest address;
public TransferUserInRequest legalName(String legalName) {
this.legalName = legalName;
return this;
}
/**
* The user's legal name.
* @return legalName
**/
@ApiModelProperty(required = true, value = "The user's legal name.")
public String getLegalName() {
return legalName;
}
public void setLegalName(String legalName) {
this.legalName = legalName;
}
public TransferUserInRequest phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* The user's phone number. Phone number input may be validated against valid number ranges; number strings that do not match a real-world phone numbering scheme may cause the request to fail, even in the Sandbox test environment.
* @return phoneNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user's phone number. Phone number input may be validated against valid number ranges; number strings that do not match a real-world phone numbering scheme may cause the request to fail, even in the Sandbox test environment.")
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public TransferUserInRequest emailAddress(String emailAddress) {
this.emailAddress = emailAddress;
return this;
}
/**
* The user's email address.
* @return emailAddress
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user's email address.")
public String getEmailAddress() {
return emailAddress;
}
public void setEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
}
public TransferUserInRequest address(TransferUserAddressInRequest address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferUserAddressInRequest getAddress() {
return address;
}
public void setAddress(TransferUserAddressInRequest address) {
this.address = address;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferUserInRequest transferUserInRequest = (TransferUserInRequest) o;
return Objects.equals(this.legalName, transferUserInRequest.legalName) &&
Objects.equals(this.phoneNumber, transferUserInRequest.phoneNumber) &&
Objects.equals(this.emailAddress, transferUserInRequest.emailAddress) &&
Objects.equals(this.address, transferUserInRequest.address);
}
@Override
public int hashCode() {
return Objects.hash(legalName, phoneNumber, emailAddress, address);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferUserInRequest {\n");
sb.append(" legalName: ").append(toIndentedString(legalName)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/Scopes.java | src/main/java/com/plaid/client/model/Scopes.java | /*
* 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.680.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 com.plaid.client.model.AccountAccess;
import com.plaid.client.model.ProductAccess;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* The scopes object
*/
@ApiModel(description = "The scopes object")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Scopes {
public static final String SERIALIZED_NAME_PRODUCT_ACCESS = "product_access";
@SerializedName(SERIALIZED_NAME_PRODUCT_ACCESS)
private ProductAccess productAccess;
public static final String SERIALIZED_NAME_ACCOUNTS = "accounts";
@SerializedName(SERIALIZED_NAME_ACCOUNTS)
private List<AccountAccess> accounts = null;
public static final String SERIALIZED_NAME_NEW_ACCOUNTS = "new_accounts";
@SerializedName(SERIALIZED_NAME_NEW_ACCOUNTS)
private Boolean newAccounts = true;
public Scopes productAccess(ProductAccess productAccess) {
this.productAccess = productAccess;
return this;
}
/**
* Get productAccess
* @return productAccess
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ProductAccess getProductAccess() {
return productAccess;
}
public void setProductAccess(ProductAccess productAccess) {
this.productAccess = productAccess;
}
public Scopes accounts(List<AccountAccess> accounts) {
this.accounts = accounts;
return this;
}
public Scopes addAccountsItem(AccountAccess accountsItem) {
if (this.accounts == null) {
this.accounts = new ArrayList<>();
}
this.accounts.add(accountsItem);
return this;
}
/**
* Get accounts
* @return accounts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<AccountAccess> getAccounts() {
return accounts;
}
public void setAccounts(List<AccountAccess> accounts) {
this.accounts = accounts;
}
public Scopes newAccounts(Boolean newAccounts) {
this.newAccounts = newAccounts;
return this;
}
/**
* Allow access to newly opened accounts as they are opened. If unset, defaults to `true`.
* @return newAccounts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Allow access to newly opened accounts as they are opened. If unset, defaults to `true`.")
public Boolean getNewAccounts() {
return newAccounts;
}
public void setNewAccounts(Boolean newAccounts) {
this.newAccounts = newAccounts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Scopes scopes = (Scopes) o;
return Objects.equals(this.productAccess, scopes.productAccess) &&
Objects.equals(this.accounts, scopes.accounts) &&
Objects.equals(this.newAccounts, scopes.newAccounts);
}
@Override
public int hashCode() {
return Objects.hash(productAccess, accounts, newAccounts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Scopes {\n");
sb.append(" productAccess: ").append(toIndentedString(productAccess)).append("\n");
sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append(" newAccounts: ").append(toIndentedString(newAccounts)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetReportInvestments.java | src/main/java/com/plaid/client/model/AssetReportInvestments.java | /*
* 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.680.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 com.plaid.client.model.AssetReportInvestmentHolding;
import com.plaid.client.model.AssetReportInvestmentSecurity;
import com.plaid.client.model.AssetReportInvestmentTransaction;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A set of fields describing the investments data on an account.
*/
@ApiModel(description = "A set of fields describing the investments data on an account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportInvestments {
public static final String SERIALIZED_NAME_HOLDINGS = "holdings";
@SerializedName(SERIALIZED_NAME_HOLDINGS)
private List<AssetReportInvestmentHolding> holdings = null;
public static final String SERIALIZED_NAME_SECURITIES = "securities";
@SerializedName(SERIALIZED_NAME_SECURITIES)
private List<AssetReportInvestmentSecurity> securities = null;
public static final String SERIALIZED_NAME_TRANSACTIONS = "transactions";
@SerializedName(SERIALIZED_NAME_TRANSACTIONS)
private List<AssetReportInvestmentTransaction> transactions = null;
public AssetReportInvestments holdings(List<AssetReportInvestmentHolding> holdings) {
this.holdings = holdings;
return this;
}
public AssetReportInvestments addHoldingsItem(AssetReportInvestmentHolding holdingsItem) {
if (this.holdings == null) {
this.holdings = new ArrayList<>();
}
this.holdings.add(holdingsItem);
return this;
}
/**
* Quantities and values of securities held in the investment account. Map to the `securities` array for security details.
* @return holdings
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Quantities and values of securities held in the investment account. Map to the `securities` array for security details.")
public List<AssetReportInvestmentHolding> getHoldings() {
return holdings;
}
public void setHoldings(List<AssetReportInvestmentHolding> holdings) {
this.holdings = holdings;
}
public AssetReportInvestments securities(List<AssetReportInvestmentSecurity> securities) {
this.securities = securities;
return this;
}
public AssetReportInvestments addSecuritiesItem(AssetReportInvestmentSecurity securitiesItem) {
if (this.securities == null) {
this.securities = new ArrayList<>();
}
this.securities.add(securitiesItem);
return this;
}
/**
* Details of specific securities held in on the investment account.
* @return securities
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Details of specific securities held in on the investment account.")
public List<AssetReportInvestmentSecurity> getSecurities() {
return securities;
}
public void setSecurities(List<AssetReportInvestmentSecurity> securities) {
this.securities = securities;
}
public AssetReportInvestments transactions(List<AssetReportInvestmentTransaction> transactions) {
this.transactions = transactions;
return this;
}
public AssetReportInvestments addTransactionsItem(AssetReportInvestmentTransaction transactionsItem) {
if (this.transactions == null) {
this.transactions = new ArrayList<>();
}
this.transactions.add(transactionsItem);
return this;
}
/**
* Transaction history on the investment account.
* @return transactions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Transaction history on the investment account.")
public List<AssetReportInvestmentTransaction> getTransactions() {
return transactions;
}
public void setTransactions(List<AssetReportInvestmentTransaction> transactions) {
this.transactions = transactions;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReportInvestments assetReportInvestments = (AssetReportInvestments) o;
return Objects.equals(this.holdings, assetReportInvestments.holdings) &&
Objects.equals(this.securities, assetReportInvestments.securities) &&
Objects.equals(this.transactions, assetReportInvestments.transactions);
}
@Override
public int hashCode() {
return Objects.hash(holdings, securities, transactions);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportInvestments {\n");
sb.append(" holdings: ").append(toIndentedString(holdings)).append("\n");
sb.append(" securities: ").append(toIndentedString(securities)).append("\n");
sb.append(" transactions: ").append(toIndentedString(transactions)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditBankEmploymentWarning.java | src/main/java/com/plaid/client/model/CreditBankEmploymentWarning.java | /*
* 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.680.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 com.plaid.client.model.CreditBankEmploymentWarningType;
import com.plaid.client.model.CreditBankIncomeCause;
import com.plaid.client.model.CreditBankIncomeWarningCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The warning associated with the data that was unavailable for the Bank Employment Report.
*/
@ApiModel(description = "The warning associated with the data that was unavailable for the Bank Employment Report.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditBankEmploymentWarning {
public static final String SERIALIZED_NAME_WARNING_TYPE = "warning_type";
@SerializedName(SERIALIZED_NAME_WARNING_TYPE)
private CreditBankEmploymentWarningType warningType;
public static final String SERIALIZED_NAME_WARNING_CODE = "warning_code";
@SerializedName(SERIALIZED_NAME_WARNING_CODE)
private CreditBankIncomeWarningCode warningCode;
public static final String SERIALIZED_NAME_CAUSE = "cause";
@SerializedName(SERIALIZED_NAME_CAUSE)
private CreditBankIncomeCause cause;
public CreditBankEmploymentWarning warningType(CreditBankEmploymentWarningType warningType) {
this.warningType = warningType;
return this;
}
/**
* Get warningType
* @return warningType
**/
@ApiModelProperty(required = true, value = "")
public CreditBankEmploymentWarningType getWarningType() {
return warningType;
}
public void setWarningType(CreditBankEmploymentWarningType warningType) {
this.warningType = warningType;
}
public CreditBankEmploymentWarning warningCode(CreditBankIncomeWarningCode warningCode) {
this.warningCode = warningCode;
return this;
}
/**
* Get warningCode
* @return warningCode
**/
@ApiModelProperty(required = true, value = "")
public CreditBankIncomeWarningCode getWarningCode() {
return warningCode;
}
public void setWarningCode(CreditBankIncomeWarningCode warningCode) {
this.warningCode = warningCode;
}
public CreditBankEmploymentWarning cause(CreditBankIncomeCause cause) {
this.cause = cause;
return this;
}
/**
* Get cause
* @return cause
**/
@ApiModelProperty(required = true, value = "")
public CreditBankIncomeCause getCause() {
return cause;
}
public void setCause(CreditBankIncomeCause cause) {
this.cause = cause;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditBankEmploymentWarning creditBankEmploymentWarning = (CreditBankEmploymentWarning) o;
return Objects.equals(this.warningType, creditBankEmploymentWarning.warningType) &&
Objects.equals(this.warningCode, creditBankEmploymentWarning.warningCode) &&
Objects.equals(this.cause, creditBankEmploymentWarning.cause);
}
@Override
public int hashCode() {
return Objects.hash(warningType, warningCode, cause);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditBankEmploymentWarning {\n");
sb.append(" warningType: ").append(toIndentedString(warningType)).append("\n");
sb.append(" warningCode: ").append(toIndentedString(warningCode)).append("\n");
sb.append(" cause: ").append(toIndentedString(cause)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkTokenGetMetadataResponse.java | src/main/java/com/plaid/client/model/LinkTokenGetMetadataResponse.java | /*
* 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.680.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 com.plaid.client.model.AccountFiltersResponse;
import com.plaid.client.model.CountryCode;
import com.plaid.client.model.LinkTokenCreateInstitutionData;
import com.plaid.client.model.Products;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* An object specifying the arguments originally provided to the `/link/token/create` call.
*/
@ApiModel(description = "An object specifying the arguments originally provided to the `/link/token/create` call.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenGetMetadataResponse {
public static final String SERIALIZED_NAME_INITIAL_PRODUCTS = "initial_products";
@SerializedName(SERIALIZED_NAME_INITIAL_PRODUCTS)
private List<Products> initialProducts = new ArrayList<>();
public static final String SERIALIZED_NAME_WEBHOOK = "webhook";
@SerializedName(SERIALIZED_NAME_WEBHOOK)
private String webhook;
public static final String SERIALIZED_NAME_COUNTRY_CODES = "country_codes";
@SerializedName(SERIALIZED_NAME_COUNTRY_CODES)
private List<CountryCode> countryCodes = new ArrayList<>();
public static final String SERIALIZED_NAME_LANGUAGE = "language";
@SerializedName(SERIALIZED_NAME_LANGUAGE)
private String language;
public static final String SERIALIZED_NAME_INSTITUTION_DATA = "institution_data";
@SerializedName(SERIALIZED_NAME_INSTITUTION_DATA)
private LinkTokenCreateInstitutionData institutionData;
public static final String SERIALIZED_NAME_ACCOUNT_FILTERS = "account_filters";
@SerializedName(SERIALIZED_NAME_ACCOUNT_FILTERS)
private AccountFiltersResponse accountFilters;
public static final String SERIALIZED_NAME_REDIRECT_URI = "redirect_uri";
@SerializedName(SERIALIZED_NAME_REDIRECT_URI)
private String redirectUri;
public static final String SERIALIZED_NAME_CLIENT_NAME = "client_name";
@SerializedName(SERIALIZED_NAME_CLIENT_NAME)
private String clientName;
public LinkTokenGetMetadataResponse initialProducts(List<Products> initialProducts) {
this.initialProducts = initialProducts;
return this;
}
public LinkTokenGetMetadataResponse addInitialProductsItem(Products initialProductsItem) {
this.initialProducts.add(initialProductsItem);
return this;
}
/**
* The `products` specified in the `/link/token/create` call.
* @return initialProducts
**/
@ApiModelProperty(required = true, value = "The `products` specified in the `/link/token/create` call.")
public List<Products> getInitialProducts() {
return initialProducts;
}
public void setInitialProducts(List<Products> initialProducts) {
this.initialProducts = initialProducts;
}
public LinkTokenGetMetadataResponse webhook(String webhook) {
this.webhook = webhook;
return this;
}
/**
* The `webhook` specified in the `/link/token/create` call.
* @return webhook
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The `webhook` specified in the `/link/token/create` call.")
public String getWebhook() {
return webhook;
}
public void setWebhook(String webhook) {
this.webhook = webhook;
}
public LinkTokenGetMetadataResponse countryCodes(List<CountryCode> countryCodes) {
this.countryCodes = countryCodes;
return this;
}
public LinkTokenGetMetadataResponse addCountryCodesItem(CountryCode countryCodesItem) {
this.countryCodes.add(countryCodesItem);
return this;
}
/**
* The `country_codes` specified in the `/link/token/create` call.
* @return countryCodes
**/
@ApiModelProperty(required = true, value = "The `country_codes` specified in the `/link/token/create` call.")
public List<CountryCode> getCountryCodes() {
return countryCodes;
}
public void setCountryCodes(List<CountryCode> countryCodes) {
this.countryCodes = countryCodes;
}
public LinkTokenGetMetadataResponse language(String language) {
this.language = language;
return this;
}
/**
* The `language` specified in the `/link/token/create` call.
* @return language
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The `language` specified in the `/link/token/create` call.")
public String getLanguage() {
return language;
}
public void setLanguage(String language) {
this.language = language;
}
public LinkTokenGetMetadataResponse institutionData(LinkTokenCreateInstitutionData institutionData) {
this.institutionData = institutionData;
return this;
}
/**
* Get institutionData
* @return institutionData
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LinkTokenCreateInstitutionData getInstitutionData() {
return institutionData;
}
public void setInstitutionData(LinkTokenCreateInstitutionData institutionData) {
this.institutionData = institutionData;
}
public LinkTokenGetMetadataResponse accountFilters(AccountFiltersResponse accountFilters) {
this.accountFilters = accountFilters;
return this;
}
/**
* Get accountFilters
* @return accountFilters
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public AccountFiltersResponse getAccountFilters() {
return accountFilters;
}
public void setAccountFilters(AccountFiltersResponse accountFilters) {
this.accountFilters = accountFilters;
}
public LinkTokenGetMetadataResponse redirectUri(String redirectUri) {
this.redirectUri = redirectUri;
return this;
}
/**
* The `redirect_uri` specified in the `/link/token/create` call.
* @return redirectUri
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The `redirect_uri` specified in the `/link/token/create` call.")
public String getRedirectUri() {
return redirectUri;
}
public void setRedirectUri(String redirectUri) {
this.redirectUri = redirectUri;
}
public LinkTokenGetMetadataResponse clientName(String clientName) {
this.clientName = clientName;
return this;
}
/**
* The `client_name` specified in the `/link/token/create` call.
* @return clientName
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The `client_name` specified in the `/link/token/create` call.")
public String getClientName() {
return clientName;
}
public void setClientName(String clientName) {
this.clientName = clientName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenGetMetadataResponse linkTokenGetMetadataResponse = (LinkTokenGetMetadataResponse) o;
return Objects.equals(this.initialProducts, linkTokenGetMetadataResponse.initialProducts) &&
Objects.equals(this.webhook, linkTokenGetMetadataResponse.webhook) &&
Objects.equals(this.countryCodes, linkTokenGetMetadataResponse.countryCodes) &&
Objects.equals(this.language, linkTokenGetMetadataResponse.language) &&
Objects.equals(this.institutionData, linkTokenGetMetadataResponse.institutionData) &&
Objects.equals(this.accountFilters, linkTokenGetMetadataResponse.accountFilters) &&
Objects.equals(this.redirectUri, linkTokenGetMetadataResponse.redirectUri) &&
Objects.equals(this.clientName, linkTokenGetMetadataResponse.clientName);
}
@Override
public int hashCode() {
return Objects.hash(initialProducts, webhook, countryCodes, language, institutionData, accountFilters, redirectUri, clientName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenGetMetadataResponse {\n");
sb.append(" initialProducts: ").append(toIndentedString(initialProducts)).append("\n");
sb.append(" webhook: ").append(toIndentedString(webhook)).append("\n");
sb.append(" countryCodes: ").append(toIndentedString(countryCodes)).append("\n");
sb.append(" language: ").append(toIndentedString(language)).append("\n");
sb.append(" institutionData: ").append(toIndentedString(institutionData)).append("\n");
sb.append(" accountFilters: ").append(toIndentedString(accountFilters)).append("\n");
sb.append(" redirectUri: ").append(toIndentedString(redirectUri)).append("\n");
sb.append(" clientName: ").append(toIndentedString(clientName)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PrismInsights.java | src/main/java/com/plaid/client/model/PrismInsights.java | /*
* 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.680.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;
/**
* The data from the Insights product returned by Prism Data.
*/
@ApiModel(description = "The data from the Insights product returned by Prism Data.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PrismInsights {
public static final String SERIALIZED_NAME_VERSION = "version";
@SerializedName(SERIALIZED_NAME_VERSION)
private Integer version;
public static final String SERIALIZED_NAME_RESULT = "result";
@SerializedName(SERIALIZED_NAME_RESULT)
private Object result;
public static final String SERIALIZED_NAME_ERROR_REASON = "error_reason";
@SerializedName(SERIALIZED_NAME_ERROR_REASON)
private String errorReason;
public PrismInsights version(Integer version) {
this.version = version;
return this;
}
/**
* The version of Prism Data's insights model used.
* @return version
**/
@ApiModelProperty(required = true, value = "The version of Prism Data's insights model used.")
public Integer getVersion() {
return version;
}
public void setVersion(Integer version) {
this.version = version;
}
public PrismInsights result(Object result) {
this.result = result;
return this;
}
/**
* The Insights Result object is a map of cash flow attributes, where the key is a string, and the value is a float or string. For a full list of attributes, contact your account manager. The attributes may vary depending on the Prism version used.
* @return result
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Insights Result object is a map of cash flow attributes, where the key is a string, and the value is a float or string. For a full list of attributes, contact your account manager. The attributes may vary depending on the Prism version used.")
public Object getResult() {
return result;
}
public void setResult(Object result) {
this.result = result;
}
public PrismInsights errorReason(String errorReason) {
this.errorReason = errorReason;
return this;
}
/**
* The error returned by Prism for this product.
* @return errorReason
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The error returned by Prism for this product.")
public String getErrorReason() {
return errorReason;
}
public void setErrorReason(String errorReason) {
this.errorReason = errorReason;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PrismInsights prismInsights = (PrismInsights) o;
return Objects.equals(this.version, prismInsights.version) &&
Objects.equals(this.result, prismInsights.result) &&
Objects.equals(this.errorReason, prismInsights.errorReason);
}
@Override
public int hashCode() {
return Objects.hash(version, result, errorReason);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PrismInsights {\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" result: ").append(toIndentedString(result)).append("\n");
sb.append(" errorReason: ").append(toIndentedString(errorReason)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SignalDecisionReportResponse.java | src/main/java/com/plaid/client/model/SignalDecisionReportResponse.java | /*
* 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.680.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;
/**
* SignalDecisionReportResponse defines the response schema for `/signal/decision/report`
*/
@ApiModel(description = "SignalDecisionReportResponse defines the response schema for `/signal/decision/report`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SignalDecisionReportResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SignalDecisionReportResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SignalDecisionReportResponse signalDecisionReportResponse = (SignalDecisionReportResponse) o;
return Objects.equals(this.requestId, signalDecisionReportResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SignalDecisionReportResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ItemApplicationScopesUpdateRequest.java | src/main/java/com/plaid/client/model/ItemApplicationScopesUpdateRequest.java | /*
* 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.680.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 com.plaid.client.model.Scopes;
import com.plaid.client.model.ScopesContext;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ItemApplicationScopesUpdateRequest defines the request schema for `/item/application/scopes/update`
*/
@ApiModel(description = "ItemApplicationScopesUpdateRequest defines the request schema for `/item/application/scopes/update`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemApplicationScopesUpdateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
public static final String SERIALIZED_NAME_APPLICATION_ID = "application_id";
@SerializedName(SERIALIZED_NAME_APPLICATION_ID)
private String applicationId;
public static final String SERIALIZED_NAME_SCOPES = "scopes";
@SerializedName(SERIALIZED_NAME_SCOPES)
private Scopes scopes;
public static final String SERIALIZED_NAME_STATE = "state";
@SerializedName(SERIALIZED_NAME_STATE)
private String state;
public static final String SERIALIZED_NAME_CONTEXT = "context";
@SerializedName(SERIALIZED_NAME_CONTEXT)
private ScopesContext context;
public ItemApplicationScopesUpdateRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public ItemApplicationScopesUpdateRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public ItemApplicationScopesUpdateRequest accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* The access token associated with the Item data is being requested for.
* @return accessToken
**/
@ApiModelProperty(required = true, value = "The access token associated with the Item data is being requested for.")
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public ItemApplicationScopesUpdateRequest applicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
/**
* This field will map to the application ID that is returned from /item/application/list, or provided to the institution in an oauth redirect.
* @return applicationId
**/
@ApiModelProperty(required = true, value = "This field will map to the application ID that is returned from /item/application/list, or provided to the institution in an oauth redirect.")
public String getApplicationId() {
return applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public ItemApplicationScopesUpdateRequest scopes(Scopes scopes) {
this.scopes = scopes;
return this;
}
/**
* Get scopes
* @return scopes
**/
@ApiModelProperty(required = true, value = "")
public Scopes getScopes() {
return scopes;
}
public void setScopes(Scopes scopes) {
this.scopes = scopes;
}
public ItemApplicationScopesUpdateRequest state(String state) {
this.state = state;
return this;
}
/**
* When scopes are updated during enrollment, this field must be populated with the state sent to the partner in the OAuth Login URI. This field is required when the context is `ENROLLMENT`.
* @return state
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "When scopes are updated during enrollment, this field must be populated with the state sent to the partner in the OAuth Login URI. This field is required when the context is `ENROLLMENT`.")
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public ItemApplicationScopesUpdateRequest context(ScopesContext context) {
this.context = context;
return this;
}
/**
* Get context
* @return context
**/
@ApiModelProperty(required = true, value = "")
public ScopesContext getContext() {
return context;
}
public void setContext(ScopesContext context) {
this.context = context;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemApplicationScopesUpdateRequest itemApplicationScopesUpdateRequest = (ItemApplicationScopesUpdateRequest) o;
return Objects.equals(this.clientId, itemApplicationScopesUpdateRequest.clientId) &&
Objects.equals(this.secret, itemApplicationScopesUpdateRequest.secret) &&
Objects.equals(this.accessToken, itemApplicationScopesUpdateRequest.accessToken) &&
Objects.equals(this.applicationId, itemApplicationScopesUpdateRequest.applicationId) &&
Objects.equals(this.scopes, itemApplicationScopesUpdateRequest.scopes) &&
Objects.equals(this.state, itemApplicationScopesUpdateRequest.state) &&
Objects.equals(this.context, itemApplicationScopesUpdateRequest.context);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, accessToken, applicationId, scopes, state, context);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemApplicationScopesUpdateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n");
sb.append(" scopes: ").append(toIndentedString(scopes)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" context: ").append(toIndentedString(context)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxPublicTokenCreateRequestOptionsIncomeVerification.java | src/main/java/com/plaid/client/model/SandboxPublicTokenCreateRequestOptionsIncomeVerification.java | /*
* 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.680.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 com.plaid.client.model.IncomeVerificationSourceType;
import com.plaid.client.model.SandboxPublicTokenCreateRequestIncomeVerificationBankIncome;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A set of parameters for income verification options. This field is required if `income_verification` is included in the `initial_products` array.
*/
@ApiModel(description = "A set of parameters for income verification options. This field is required if `income_verification` is included in the `initial_products` array.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxPublicTokenCreateRequestOptionsIncomeVerification {
public static final String SERIALIZED_NAME_INCOME_SOURCE_TYPES = "income_source_types";
@SerializedName(SERIALIZED_NAME_INCOME_SOURCE_TYPES)
private List<IncomeVerificationSourceType> incomeSourceTypes = null;
public static final String SERIALIZED_NAME_BANK_INCOME = "bank_income";
@SerializedName(SERIALIZED_NAME_BANK_INCOME)
private SandboxPublicTokenCreateRequestIncomeVerificationBankIncome bankIncome;
public SandboxPublicTokenCreateRequestOptionsIncomeVerification incomeSourceTypes(List<IncomeVerificationSourceType> incomeSourceTypes) {
this.incomeSourceTypes = incomeSourceTypes;
return this;
}
public SandboxPublicTokenCreateRequestOptionsIncomeVerification addIncomeSourceTypesItem(IncomeVerificationSourceType incomeSourceTypesItem) {
if (this.incomeSourceTypes == null) {
this.incomeSourceTypes = new ArrayList<>();
}
this.incomeSourceTypes.add(incomeSourceTypesItem);
return this;
}
/**
* The types of source income data that users will be permitted to share. Options include `bank` and `payroll`. Currently you can only specify one of these options.
* @return incomeSourceTypes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The types of source income data that users will be permitted to share. Options include `bank` and `payroll`. Currently you can only specify one of these options.")
public List<IncomeVerificationSourceType> getIncomeSourceTypes() {
return incomeSourceTypes;
}
public void setIncomeSourceTypes(List<IncomeVerificationSourceType> incomeSourceTypes) {
this.incomeSourceTypes = incomeSourceTypes;
}
public SandboxPublicTokenCreateRequestOptionsIncomeVerification bankIncome(SandboxPublicTokenCreateRequestIncomeVerificationBankIncome bankIncome) {
this.bankIncome = bankIncome;
return this;
}
/**
* Get bankIncome
* @return bankIncome
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SandboxPublicTokenCreateRequestIncomeVerificationBankIncome getBankIncome() {
return bankIncome;
}
public void setBankIncome(SandboxPublicTokenCreateRequestIncomeVerificationBankIncome bankIncome) {
this.bankIncome = bankIncome;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxPublicTokenCreateRequestOptionsIncomeVerification sandboxPublicTokenCreateRequestOptionsIncomeVerification = (SandboxPublicTokenCreateRequestOptionsIncomeVerification) o;
return Objects.equals(this.incomeSourceTypes, sandboxPublicTokenCreateRequestOptionsIncomeVerification.incomeSourceTypes) &&
Objects.equals(this.bankIncome, sandboxPublicTokenCreateRequestOptionsIncomeVerification.bankIncome);
}
@Override
public int hashCode() {
return Objects.hash(incomeSourceTypes, bankIncome);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxPublicTokenCreateRequestOptionsIncomeVerification {\n");
sb.append(" incomeSourceTypes: ").append(toIndentedString(incomeSourceTypes)).append("\n");
sb.append(" bankIncome: ").append(toIndentedString(bankIncome)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/UpdateEntityScreeningRequestSearchTerms.java | src/main/java/com/plaid/client/model/UpdateEntityScreeningRequestSearchTerms.java | /*
* 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.680.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 = "2025-12-11T18:58:39.328614Z[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 and address must be RFC compliant. For more information, see [RFC 3696](https://datatracker.ietf.org/doc/html/rfc3696).
* @return emailAddress
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "user@example.com", value = "A valid email address. Must not have leading or trailing spaces and address must be RFC compliant. For more information, see [RFC 3696](https://datatracker.ietf.org/doc/html/rfc3696).")
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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/RiskCheckPhone.java | src/main/java/com/plaid/client/model/RiskCheckPhone.java | /*
* 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.680.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 com.plaid.client.model.RiskCheckLinkedService;
import com.plaid.client.model.RiskLevel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
/**
* Result summary object specifying values for `phone` attributes of risk check.
*/
@ApiModel(description = "Result summary object specifying values for `phone` attributes of risk check.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class RiskCheckPhone {
public static final String SERIALIZED_NAME_LINKED_SERVICES = "linked_services";
@SerializedName(SERIALIZED_NAME_LINKED_SERVICES)
private Set<RiskCheckLinkedService> linkedServices = new LinkedHashSet<>();
public static final String SERIALIZED_NAME_RISK_LEVEL = "risk_level";
@SerializedName(SERIALIZED_NAME_RISK_LEVEL)
private RiskLevel riskLevel;
public static final String SERIALIZED_NAME_FACTORS = "factors";
@SerializedName(SERIALIZED_NAME_FACTORS)
private List<String> factors = null;
public RiskCheckPhone linkedServices(Set<RiskCheckLinkedService> linkedServices) {
this.linkedServices = linkedServices;
return this;
}
public RiskCheckPhone addLinkedServicesItem(RiskCheckLinkedService linkedServicesItem) {
this.linkedServices.add(linkedServicesItem);
return this;
}
/**
* A list of online services where this phone number has been detected to have accounts or other activity.
* @return linkedServices
**/
@ApiModelProperty(example = "[\"facebook\"]", required = true, value = "A list of online services where this phone number has been detected to have accounts or other activity.")
public Set<RiskCheckLinkedService> getLinkedServices() {
return linkedServices;
}
public void setLinkedServices(Set<RiskCheckLinkedService> linkedServices) {
this.linkedServices = linkedServices;
}
public RiskCheckPhone riskLevel(RiskLevel riskLevel) {
this.riskLevel = riskLevel;
return this;
}
/**
* Get riskLevel
* @return riskLevel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public RiskLevel getRiskLevel() {
return riskLevel;
}
public void setRiskLevel(RiskLevel riskLevel) {
this.riskLevel = riskLevel;
}
public RiskCheckPhone factors(List<String> factors) {
this.factors = factors;
return this;
}
public RiskCheckPhone addFactorsItem(String factorsItem) {
if (this.factors == null) {
this.factors = new ArrayList<>();
}
this.factors.add(factorsItem);
return this;
}
/**
* List of factors, when available, that contribute towards the risk level of the given risk check type.
* @return factors
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "List of factors, when available, that contribute towards the risk level of the given risk check type.")
public List<String> getFactors() {
return factors;
}
public void setFactors(List<String> factors) {
this.factors = factors;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RiskCheckPhone riskCheckPhone = (RiskCheckPhone) o;
return Objects.equals(this.linkedServices, riskCheckPhone.linkedServices) &&
Objects.equals(this.riskLevel, riskCheckPhone.riskLevel) &&
Objects.equals(this.factors, riskCheckPhone.factors);
}
@Override
public int hashCode() {
return Objects.hash(linkedServices, riskLevel, factors);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RiskCheckPhone {\n");
sb.append(" linkedServices: ").append(toIndentedString(linkedServices)).append("\n");
sb.append(" riskLevel: ").append(toIndentedString(riskLevel)).append("\n");
sb.append(" factors: ").append(toIndentedString(factors)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorTransactionsRefreshRequest.java | src/main/java/com/plaid/client/model/ProcessorTransactionsRefreshRequest.java | /*
* 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.680.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;
/**
* ProcessorTransactionsRefreshRequest defines the request schema for `/processor/transactions/refresh`
*/
@ApiModel(description = "ProcessorTransactionsRefreshRequest defines the request schema for `/processor/transactions/refresh`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorTransactionsRefreshRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_PROCESSOR_TOKEN = "processor_token";
@SerializedName(SERIALIZED_NAME_PROCESSOR_TOKEN)
private String processorToken;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public ProcessorTransactionsRefreshRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public ProcessorTransactionsRefreshRequest processorToken(String processorToken) {
this.processorToken = processorToken;
return this;
}
/**
* The processor token obtained from the Plaid integration partner. Processor tokens are in the format: `processor-<environment>-<identifier>`
* @return processorToken
**/
@ApiModelProperty(required = true, value = "The processor token obtained from the Plaid integration partner. Processor tokens are in the format: `processor-<environment>-<identifier>`")
public String getProcessorToken() {
return processorToken;
}
public void setProcessorToken(String processorToken) {
this.processorToken = processorToken;
}
public ProcessorTransactionsRefreshRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorTransactionsRefreshRequest processorTransactionsRefreshRequest = (ProcessorTransactionsRefreshRequest) o;
return Objects.equals(this.clientId, processorTransactionsRefreshRequest.clientId) &&
Objects.equals(this.processorToken, processorTransactionsRefreshRequest.processorToken) &&
Objects.equals(this.secret, processorTransactionsRefreshRequest.secret);
}
@Override
public int hashCode() {
return Objects.hash(clientId, processorToken, secret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorTransactionsRefreshRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" processorToken: ").append(toIndentedString(processorToken)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/InvestmentAccountSubtype.java | src/main/java/com/plaid/client/model/InvestmentAccountSubtype.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Valid account subtypes for investment accounts. For a list containing descriptions of each subtype, see [Account schemas](https://plaid.com/docs/api/accounts/#StandaloneAccountType-investment).
*/
@JsonAdapter(InvestmentAccountSubtype.Adapter.class)
public enum InvestmentAccountSubtype {
_529("529"),
_401A("401a"),
_401K("401k"),
_403B("403B"),
_457B("457b"),
BROKERAGE("brokerage"),
CASH_ISA("cash isa"),
CRYPTO_EXCHANGE("crypto exchange"),
EDUCATION_SAVINGS_ACCOUNT("education savings account"),
FIXED_ANNUITY("fixed annuity"),
GIC("gic"),
HEALTH_REIMBURSEMENT_ARRANGEMENT("health reimbursement arrangement"),
HSA("hsa"),
IRA("ira"),
ISA("isa"),
KEOGH("keogh"),
LIF("lif"),
LIFE_INSURANCE("life insurance"),
LIRA("lira"),
LRIF("lrif"),
LRSP("lrsp"),
MUTUAL_FUND("mutual fund"),
NON_CUSTODIAL_WALLET("non-custodial wallet"),
NON_TAXABLE_BROKERAGE_ACCOUNT("non-taxable brokerage account"),
OTHER("other"),
OTHER_ANNUITY("other annuity"),
OTHER_INSURANCE("other insurance"),
PENSION("pension"),
PRIF("prif"),
PROFIT_SHARING_PLAN("profit sharing plan"),
QSHR("qshr"),
RDSP("rdsp"),
RESP("resp"),
RETIREMENT("retirement"),
RLIF("rlif"),
ROTH("roth"),
ROTH_401K("roth 401k"),
RRIF("rrif"),
RRSP("rrsp"),
SARSEP("sarsep"),
SEP_IRA("sep ira"),
SIMPLE_IRA("simple ira"),
SIPP("sipp"),
STOCK_PLAN("stock plan"),
TFSA("tfsa"),
TRUST("trust"),
UGMA("ugma"),
UTMA("utma"),
VARIABLE_ANNUITY("variable annuity"),
ALL("all"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
InvestmentAccountSubtype(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static InvestmentAccountSubtype fromValue(String value) {
for (InvestmentAccountSubtype b : InvestmentAccountSubtype.values()) {
if (b.value.equals(value)) {
return b;
}
}
return InvestmentAccountSubtype.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<InvestmentAccountSubtype> {
@Override
public void write(final JsonWriter jsonWriter, final InvestmentAccountSubtype enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public InvestmentAccountSubtype read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return InvestmentAccountSubtype.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkEventsWebhook.java | src/main/java/com/plaid/client/model/LinkEventsWebhook.java | /*
* 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.680.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 com.plaid.client.model.LinkEvent;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* This webhook contains a summary of the events from a Link session and will be fired after the user finishes going through Link. If the user abandons the Link flow (i.e., closes the hosted link webpage or leaves Link open for too long without taking any action), the webhook will be fired 5-15 minutes after the last user interaction. A single Link session may occasionally generate multiple `EVENTS` webhooks. If this occurs, the new webhook will contain all previous events for the session, as well as new events that occurred since the previous `EVENTS` webhook was sent. If this occurs, events can be grouped using the `link_session_id` field and, if necessary, de-duplicated using the `event_id` field. By default, the `EVENTS` webhook is sent only for sessions where the end user goes through a Hosted Link flow (including Link Recovery flows). If you would like to receive this webhook for sessions not using Hosted Link, contact your Account Manager or Support. This enablement will also cause you to receive the `SESSION_FINISHED` webhook for non-Hosted-Link sessions and to be able to use `/link/token/get` to receive events data for non-Hosted Link sessions.
*/
@ApiModel(description = "This webhook contains a summary of the events from a Link session and will be fired after the user finishes going through Link. If the user abandons the Link flow (i.e., closes the hosted link webpage or leaves Link open for too long without taking any action), the webhook will be fired 5-15 minutes after the last user interaction. A single Link session may occasionally generate multiple `EVENTS` webhooks. If this occurs, the new webhook will contain all previous events for the session, as well as new events that occurred since the previous `EVENTS` webhook was sent. If this occurs, events can be grouped using the `link_session_id` field and, if necessary, de-duplicated using the `event_id` field. By default, the `EVENTS` webhook is sent only for sessions where the end user goes through a Hosted Link flow (including Link Recovery flows). If you would like to receive this webhook for sessions not using Hosted Link, contact your Account Manager or Support. This enablement will also cause you to receive the `SESSION_FINISHED` webhook for non-Hosted-Link sessions and to be able to use `/link/token/get` to receive events data for non-Hosted Link sessions.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkEventsWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_EVENTS = "events";
@SerializedName(SERIALIZED_NAME_EVENTS)
private List<LinkEvent> events = new ArrayList<>();
public static final String SERIALIZED_NAME_LINK_SESSION_ID = "link_session_id";
@SerializedName(SERIALIZED_NAME_LINK_SESSION_ID)
private String linkSessionId;
public static final String SERIALIZED_NAME_LINK_TOKEN = "link_token";
@SerializedName(SERIALIZED_NAME_LINK_TOKEN)
private String linkToken;
public LinkEventsWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `LINK`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`LINK`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public LinkEventsWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `EVENTS`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`EVENTS`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public LinkEventsWebhook events(List<LinkEvent> events) {
this.events = events;
return this;
}
public LinkEventsWebhook addEventsItem(LinkEvent eventsItem) {
this.events.add(eventsItem);
return this;
}
/**
* The Link events emitted during the Link session
* @return events
**/
@ApiModelProperty(required = true, value = "The Link events emitted during the Link session")
public List<LinkEvent> getEvents() {
return events;
}
public void setEvents(List<LinkEvent> events) {
this.events = events;
}
public LinkEventsWebhook linkSessionId(String linkSessionId) {
this.linkSessionId = linkSessionId;
return this;
}
/**
* An identifier for the Link session these events occurred in
* @return linkSessionId
**/
@ApiModelProperty(required = true, value = "An identifier for the Link session these events occurred in")
public String getLinkSessionId() {
return linkSessionId;
}
public void setLinkSessionId(String linkSessionId) {
this.linkSessionId = linkSessionId;
}
public LinkEventsWebhook linkToken(String linkToken) {
this.linkToken = linkToken;
return this;
}
/**
* The Link token used to create the Link session these events are from
* @return linkToken
**/
@ApiModelProperty(required = true, value = "The Link token used to create the Link session these events are from")
public String getLinkToken() {
return linkToken;
}
public void setLinkToken(String linkToken) {
this.linkToken = linkToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkEventsWebhook linkEventsWebhook = (LinkEventsWebhook) o;
return Objects.equals(this.webhookType, linkEventsWebhook.webhookType) &&
Objects.equals(this.webhookCode, linkEventsWebhook.webhookCode) &&
Objects.equals(this.events, linkEventsWebhook.events) &&
Objects.equals(this.linkSessionId, linkEventsWebhook.linkSessionId) &&
Objects.equals(this.linkToken, linkEventsWebhook.linkToken);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, events, linkSessionId, linkToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkEventsWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" events: ").append(toIndentedString(events)).append("\n");
sb.append(" linkSessionId: ").append(toIndentedString(linkSessionId)).append("\n");
sb.append(" linkToken: ").append(toIndentedString(linkToken)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/LinkTokenCreateInvestmentFilter.java | src/main/java/com/plaid/client/model/LinkTokenCreateInvestmentFilter.java | /*
* 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.680.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 com.plaid.client.model.InvestmentAccountSubtype;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A filter to apply to `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier).
*/
@ApiModel(description = "A filter to apply to `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier).")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateInvestmentFilter {
public static final String SERIALIZED_NAME_ACCOUNT_SUBTYPES = "account_subtypes";
@SerializedName(SERIALIZED_NAME_ACCOUNT_SUBTYPES)
private List<InvestmentAccountSubtype> accountSubtypes = null;
public LinkTokenCreateInvestmentFilter accountSubtypes(List<InvestmentAccountSubtype> accountSubtypes) {
this.accountSubtypes = accountSubtypes;
return this;
}
public LinkTokenCreateInvestmentFilter addAccountSubtypesItem(InvestmentAccountSubtype accountSubtypesItem) {
if (this.accountSubtypes == null) {
this.accountSubtypes = new ArrayList<>();
}
this.accountSubtypes.add(accountSubtypesItem);
return this;
}
/**
* An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema).
* @return accountSubtypes
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). ")
public List<InvestmentAccountSubtype> getAccountSubtypes() {
return accountSubtypes;
}
public void setAccountSubtypes(List<InvestmentAccountSubtype> accountSubtypes) {
this.accountSubtypes = accountSubtypes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LinkTokenCreateInvestmentFilter linkTokenCreateInvestmentFilter = (LinkTokenCreateInvestmentFilter) o;
return Objects.equals(this.accountSubtypes, linkTokenCreateInvestmentFilter.accountSubtypes);
}
@Override
public int hashCode() {
return Objects.hash(accountSubtypes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LinkTokenCreateInvestmentFilter {\n");
sb.append(" accountSubtypes: ").append(toIndentedString(accountSubtypes)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AssetReportGetResponse.java | src/main/java/com/plaid/client/model/AssetReportGetResponse.java | /*
* 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.680.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 com.plaid.client.model.AssetReport;
import com.plaid.client.model.Warning;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* AssetReportGetResponse defines the response schema for `/asset_report/get`
*/
@ApiModel(description = "AssetReportGetResponse defines the response schema for `/asset_report/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AssetReportGetResponse {
public static final String SERIALIZED_NAME_REPORT = "report";
@SerializedName(SERIALIZED_NAME_REPORT)
private AssetReport report;
public static final String SERIALIZED_NAME_WARNINGS = "warnings";
@SerializedName(SERIALIZED_NAME_WARNINGS)
private List<Warning> warnings = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public AssetReportGetResponse report(AssetReport report) {
this.report = report;
return this;
}
/**
* Get report
* @return report
**/
@ApiModelProperty(required = true, value = "")
public AssetReport getReport() {
return report;
}
public void setReport(AssetReport report) {
this.report = report;
}
public AssetReportGetResponse warnings(List<Warning> warnings) {
this.warnings = warnings;
return this;
}
public AssetReportGetResponse addWarningsItem(Warning warningsItem) {
this.warnings.add(warningsItem);
return this;
}
/**
* If the Asset Report generation was successful but identity information cannot be returned, this array will contain information about the errors causing identity information to be missing
* @return warnings
**/
@ApiModelProperty(required = true, value = "If the Asset Report generation was successful but identity information cannot be returned, this array will contain information about the errors causing identity information to be missing")
public List<Warning> getWarnings() {
return warnings;
}
public void setWarnings(List<Warning> warnings) {
this.warnings = warnings;
}
public AssetReportGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetReportGetResponse assetReportGetResponse = (AssetReportGetResponse) o;
return Objects.equals(this.report, assetReportGetResponse.report) &&
Objects.equals(this.warnings, assetReportGetResponse.warnings) &&
Objects.equals(this.requestId, assetReportGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(report, warnings, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetReportGetResponse {\n");
sb.append(" report: ").append(toIndentedString(report)).append("\n");
sb.append(" warnings: ").append(toIndentedString(warnings)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/KYCCheckAddressSummary.java | src/main/java/com/plaid/client/model/KYCCheckAddressSummary.java | /*
* 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.680.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 com.plaid.client.model.AddressPurposeLabel;
import com.plaid.client.model.HiddenMatchSummaryCode;
import com.plaid.client.model.KYCCheckDetailsInternationalAddress;
import com.plaid.client.model.MatchSummaryCode;
import com.plaid.client.model.POBoxStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Result summary object specifying how the `address` field matched.
*/
@ApiModel(description = "Result summary object specifying how the `address` field matched.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class KYCCheckAddressSummary {
public static final String SERIALIZED_NAME_SUMMARY = "summary";
@SerializedName(SERIALIZED_NAME_SUMMARY)
private MatchSummaryCode summary;
public static final String SERIALIZED_NAME_PO_BOX = "po_box";
@SerializedName(SERIALIZED_NAME_PO_BOX)
private POBoxStatus poBox;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private AddressPurposeLabel type;
public static final String SERIALIZED_NAME_STREET = "street";
@SerializedName(SERIALIZED_NAME_STREET)
private HiddenMatchSummaryCode street;
public static final String SERIALIZED_NAME_CITY = "city";
@SerializedName(SERIALIZED_NAME_CITY)
private HiddenMatchSummaryCode city;
public static final String SERIALIZED_NAME_REGION = "region";
@SerializedName(SERIALIZED_NAME_REGION)
private HiddenMatchSummaryCode region;
public static final String SERIALIZED_NAME_POSTAL_CODE = "postal_code";
@SerializedName(SERIALIZED_NAME_POSTAL_CODE)
private HiddenMatchSummaryCode postalCode;
public static final String SERIALIZED_NAME_INTERNATIONAL_DETAILS = "international_details";
@SerializedName(SERIALIZED_NAME_INTERNATIONAL_DETAILS)
private KYCCheckDetailsInternationalAddress internationalDetails;
public KYCCheckAddressSummary summary(MatchSummaryCode summary) {
this.summary = summary;
return this;
}
/**
* Get summary
* @return summary
**/
@ApiModelProperty(required = true, value = "")
public MatchSummaryCode getSummary() {
return summary;
}
public void setSummary(MatchSummaryCode summary) {
this.summary = summary;
}
public KYCCheckAddressSummary poBox(POBoxStatus poBox) {
this.poBox = poBox;
return this;
}
/**
* Get poBox
* @return poBox
**/
@ApiModelProperty(required = true, value = "")
public POBoxStatus getPoBox() {
return poBox;
}
public void setPoBox(POBoxStatus poBox) {
this.poBox = poBox;
}
public KYCCheckAddressSummary type(AddressPurposeLabel type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public AddressPurposeLabel getType() {
return type;
}
public void setType(AddressPurposeLabel type) {
this.type = type;
}
public KYCCheckAddressSummary street(HiddenMatchSummaryCode street) {
this.street = street;
return this;
}
/**
* Get street
* @return street
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public HiddenMatchSummaryCode getStreet() {
return street;
}
public void setStreet(HiddenMatchSummaryCode street) {
this.street = street;
}
public KYCCheckAddressSummary city(HiddenMatchSummaryCode city) {
this.city = city;
return this;
}
/**
* Get city
* @return city
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public HiddenMatchSummaryCode getCity() {
return city;
}
public void setCity(HiddenMatchSummaryCode city) {
this.city = city;
}
public KYCCheckAddressSummary region(HiddenMatchSummaryCode region) {
this.region = region;
return this;
}
/**
* Get region
* @return region
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public HiddenMatchSummaryCode getRegion() {
return region;
}
public void setRegion(HiddenMatchSummaryCode region) {
this.region = region;
}
public KYCCheckAddressSummary postalCode(HiddenMatchSummaryCode postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* Get postalCode
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public HiddenMatchSummaryCode getPostalCode() {
return postalCode;
}
public void setPostalCode(HiddenMatchSummaryCode postalCode) {
this.postalCode = postalCode;
}
public KYCCheckAddressSummary internationalDetails(KYCCheckDetailsInternationalAddress internationalDetails) {
this.internationalDetails = internationalDetails;
return this;
}
/**
* Get internationalDetails
* @return internationalDetails
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public KYCCheckDetailsInternationalAddress getInternationalDetails() {
return internationalDetails;
}
public void setInternationalDetails(KYCCheckDetailsInternationalAddress internationalDetails) {
this.internationalDetails = internationalDetails;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
KYCCheckAddressSummary kyCCheckAddressSummary = (KYCCheckAddressSummary) o;
return Objects.equals(this.summary, kyCCheckAddressSummary.summary) &&
Objects.equals(this.poBox, kyCCheckAddressSummary.poBox) &&
Objects.equals(this.type, kyCCheckAddressSummary.type) &&
Objects.equals(this.street, kyCCheckAddressSummary.street) &&
Objects.equals(this.city, kyCCheckAddressSummary.city) &&
Objects.equals(this.region, kyCCheckAddressSummary.region) &&
Objects.equals(this.postalCode, kyCCheckAddressSummary.postalCode) &&
Objects.equals(this.internationalDetails, kyCCheckAddressSummary.internationalDetails);
}
@Override
public int hashCode() {
return Objects.hash(summary, poBox, type, street, city, region, postalCode, internationalDetails);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class KYCCheckAddressSummary {\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" poBox: ").append(toIndentedString(poBox)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" street: ").append(toIndentedString(street)).append("\n");
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n");
sb.append(" internationalDetails: ").append(toIndentedString(internationalDetails)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BankTransferBalanceGetResponse.java | src/main/java/com/plaid/client/model/BankTransferBalanceGetResponse.java | /*
* 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.680.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 com.plaid.client.model.BankTransferBalance;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/bank_transfer/balance/get`
*/
@ApiModel(description = "Defines the response schema for `/bank_transfer/balance/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BankTransferBalanceGetResponse {
public static final String SERIALIZED_NAME_BALANCE = "balance";
@SerializedName(SERIALIZED_NAME_BALANCE)
private BankTransferBalance balance;
public static final String SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID = "origination_account_id";
@SerializedName(SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID)
private String originationAccountId;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public BankTransferBalanceGetResponse balance(BankTransferBalance balance) {
this.balance = balance;
return this;
}
/**
* Get balance
* @return balance
**/
@ApiModelProperty(required = true, value = "")
public BankTransferBalance getBalance() {
return balance;
}
public void setBalance(BankTransferBalance balance) {
this.balance = balance;
}
public BankTransferBalanceGetResponse originationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
return this;
}
/**
* The ID of the origination account that this balance belongs to.
* @return originationAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ID of the origination account that this balance belongs to.")
public String getOriginationAccountId() {
return originationAccountId;
}
public void setOriginationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
}
public BankTransferBalanceGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BankTransferBalanceGetResponse bankTransferBalanceGetResponse = (BankTransferBalanceGetResponse) o;
return Objects.equals(this.balance, bankTransferBalanceGetResponse.balance) &&
Objects.equals(this.originationAccountId, bankTransferBalanceGetResponse.originationAccountId) &&
Objects.equals(this.requestId, bankTransferBalanceGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(balance, originationAccountId, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BankTransferBalanceGetResponse {\n");
sb.append(" balance: ").append(toIndentedString(balance)).append("\n");
sb.append(" originationAccountId: ").append(toIndentedString(originationAccountId)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferIntentCreate.java | src/main/java/com/plaid/client/model/TransferIntentCreate.java | /*
* 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.680.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 com.plaid.client.model.ACHClass;
import com.plaid.client.model.TransferIntentCreateMode;
import com.plaid.client.model.TransferIntentCreateNetwork;
import com.plaid.client.model.TransferIntentStatus;
import com.plaid.client.model.TransferUserInResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Represents a transfer intent within Transfer UI.
*/
@ApiModel(description = "Represents a transfer intent within Transfer UI.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferIntentCreate {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
private OffsetDateTime created;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private TransferIntentStatus status;
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
private String accountId;
public static final String SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID = "origination_account_id";
@SerializedName(SERIALIZED_NAME_ORIGINATION_ACCOUNT_ID)
private String originationAccountId;
public static final String SERIALIZED_NAME_FUNDING_ACCOUNT_ID = "funding_account_id";
@SerializedName(SERIALIZED_NAME_FUNDING_ACCOUNT_ID)
private String fundingAccountId;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private String amount;
public static final String SERIALIZED_NAME_MODE = "mode";
@SerializedName(SERIALIZED_NAME_MODE)
private TransferIntentCreateMode mode;
public static final String SERIALIZED_NAME_NETWORK = "network";
@SerializedName(SERIALIZED_NAME_NETWORK)
private TransferIntentCreateNetwork network = TransferIntentCreateNetwork.SAME_DAY_ACH;
public static final String SERIALIZED_NAME_ACH_CLASS = "ach_class";
@SerializedName(SERIALIZED_NAME_ACH_CLASS)
private ACHClass achClass;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private TransferUserInResponse user;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public static final String SERIALIZED_NAME_METADATA = "metadata";
@SerializedName(SERIALIZED_NAME_METADATA)
private Map<String, String> metadata = null;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_REQUIRE_GUARANTEE = "require_guarantee";
@SerializedName(SERIALIZED_NAME_REQUIRE_GUARANTEE)
private Boolean requireGuarantee;
public TransferIntentCreate id(String id) {
this.id = id;
return this;
}
/**
* Plaid's unique identifier for the transfer intent object.
* @return id
**/
@ApiModelProperty(required = true, value = "Plaid's unique identifier for the transfer intent object.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public TransferIntentCreate created(OffsetDateTime created) {
this.created = created;
return this;
}
/**
* The datetime the transfer was created. This will be of the form `2006-01-02T15:04:05Z`.
* @return created
**/
@ApiModelProperty(required = true, value = "The datetime the transfer was created. This will be of the form `2006-01-02T15:04:05Z`.")
public OffsetDateTime getCreated() {
return created;
}
public void setCreated(OffsetDateTime created) {
this.created = created;
}
public TransferIntentCreate status(TransferIntentStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public TransferIntentStatus getStatus() {
return status;
}
public void setStatus(TransferIntentStatus status) {
this.status = status;
}
public TransferIntentCreate accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* The Plaid `account_id` corresponding to the end-user account that will be debited or credited. Returned only if `account_id` was set on intent creation.
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Plaid `account_id` corresponding to the end-user account that will be debited or credited. Returned only if `account_id` was set on intent creation.")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public TransferIntentCreate originationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
return this;
}
/**
* Plaid’s unique identifier for the origination account for the intent. If not provided, the default account will be used.
* @return originationAccountId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for the origination account for the intent. If not provided, the default account will be used.")
public String getOriginationAccountId() {
return originationAccountId;
}
public void setOriginationAccountId(String originationAccountId) {
this.originationAccountId = originationAccountId;
}
public TransferIntentCreate fundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
return this;
}
/**
* The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited.
* @return fundingAccountId
**/
@ApiModelProperty(required = true, value = "The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited.")
public String getFundingAccountId() {
return fundingAccountId;
}
public void setFundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
}
public TransferIntentCreate amount(String amount) {
this.amount = amount;
return this;
}
/**
* The amount of the transfer (decimal string with two digits of precision e.g. \"10.00\"). When calling `/transfer/authorization/create`, specify the maximum amount to authorize. When calling `/transfer/create`, specify the exact amount of the transfer, up to a maximum of the amount authorized. If this field is left blank when calling `/transfer/create`, the maximum amount authorized in the `authorization_id` will be sent.
* @return amount
**/
@ApiModelProperty(required = true, value = "The amount of the transfer (decimal string with two digits of precision e.g. \"10.00\"). When calling `/transfer/authorization/create`, specify the maximum amount to authorize. When calling `/transfer/create`, specify the exact amount of the transfer, up to a maximum of the amount authorized. If this field is left blank when calling `/transfer/create`, the maximum amount authorized in the `authorization_id` will be sent.")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public TransferIntentCreate mode(TransferIntentCreateMode mode) {
this.mode = mode;
return this;
}
/**
* Get mode
* @return mode
**/
@ApiModelProperty(required = true, value = "")
public TransferIntentCreateMode getMode() {
return mode;
}
public void setMode(TransferIntentCreateMode mode) {
this.mode = mode;
}
public TransferIntentCreate network(TransferIntentCreateNetwork network) {
this.network = network;
return this;
}
/**
* Get network
* @return network
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public TransferIntentCreateNetwork getNetwork() {
return network;
}
public void setNetwork(TransferIntentCreateNetwork network) {
this.network = network;
}
public TransferIntentCreate achClass(ACHClass achClass) {
this.achClass = achClass;
return this;
}
/**
* Get achClass
* @return achClass
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ACHClass getAchClass() {
return achClass;
}
public void setAchClass(ACHClass achClass) {
this.achClass = achClass;
}
public TransferIntentCreate user(TransferUserInResponse user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public TransferUserInResponse getUser() {
return user;
}
public void setUser(TransferUserInResponse user) {
this.user = user;
}
public TransferIntentCreate description(String description) {
this.description = description;
return this;
}
/**
* A description for the underlying transfer. Maximum of 8 characters.
* @return description
**/
@ApiModelProperty(required = true, value = "A description for the underlying transfer. Maximum of 8 characters.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public TransferIntentCreate metadata(Map<String, String> metadata) {
this.metadata = metadata;
return this;
}
public TransferIntentCreate putMetadataItem(String key, String metadataItem) {
if (this.metadata == null) {
this.metadata = new HashMap<>();
}
this.metadata.put(key, metadataItem);
return this;
}
/**
* The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: The JSON values must be Strings (no nested JSON objects allowed) Only ASCII characters may be used Maximum of 50 key/value pairs Maximum key length of 40 characters Maximum value length of 500 characters
* @return metadata
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: The JSON values must be Strings (no nested JSON objects allowed) Only ASCII characters may be used Maximum of 50 key/value pairs Maximum key length of 40 characters Maximum value length of 500 characters ")
public Map<String, String> getMetadata() {
return metadata;
}
public void setMetadata(Map<String, String> metadata) {
this.metadata = metadata;
}
public TransferIntentCreate isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The currency of the transfer amount, e.g. \"USD\"
* @return isoCurrencyCode
**/
@ApiModelProperty(required = true, value = "The currency of the transfer amount, e.g. \"USD\"")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TransferIntentCreate requireGuarantee(Boolean requireGuarantee) {
this.requireGuarantee = requireGuarantee;
return this;
}
/**
* When `true`, the transfer requires a `GUARANTEED` decision by Plaid to proceed (Guarantee customers only).
* @return requireGuarantee
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "When `true`, the transfer requires a `GUARANTEED` decision by Plaid to proceed (Guarantee customers only).")
public Boolean getRequireGuarantee() {
return requireGuarantee;
}
public void setRequireGuarantee(Boolean requireGuarantee) {
this.requireGuarantee = requireGuarantee;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferIntentCreate transferIntentCreate = (TransferIntentCreate) o;
return Objects.equals(this.id, transferIntentCreate.id) &&
Objects.equals(this.created, transferIntentCreate.created) &&
Objects.equals(this.status, transferIntentCreate.status) &&
Objects.equals(this.accountId, transferIntentCreate.accountId) &&
Objects.equals(this.originationAccountId, transferIntentCreate.originationAccountId) &&
Objects.equals(this.fundingAccountId, transferIntentCreate.fundingAccountId) &&
Objects.equals(this.amount, transferIntentCreate.amount) &&
Objects.equals(this.mode, transferIntentCreate.mode) &&
Objects.equals(this.network, transferIntentCreate.network) &&
Objects.equals(this.achClass, transferIntentCreate.achClass) &&
Objects.equals(this.user, transferIntentCreate.user) &&
Objects.equals(this.description, transferIntentCreate.description) &&
Objects.equals(this.metadata, transferIntentCreate.metadata) &&
Objects.equals(this.isoCurrencyCode, transferIntentCreate.isoCurrencyCode) &&
Objects.equals(this.requireGuarantee, transferIntentCreate.requireGuarantee);
}
@Override
public int hashCode() {
return Objects.hash(id, created, status, accountId, originationAccountId, fundingAccountId, amount, mode, network, achClass, user, description, metadata, isoCurrencyCode, requireGuarantee);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferIntentCreate {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" created: ").append(toIndentedString(created)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" originationAccountId: ").append(toIndentedString(originationAccountId)).append("\n");
sb.append(" fundingAccountId: ").append(toIndentedString(fundingAccountId)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" mode: ").append(toIndentedString(mode)).append("\n");
sb.append(" network: ").append(toIndentedString(network)).append("\n");
sb.append(" achClass: ").append(toIndentedString(achClass)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" requireGuarantee: ").append(toIndentedString(requireGuarantee)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/RiskSignalDocumentType.java | src/main/java/com/plaid/client/model/RiskSignalDocumentType.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Type of a document for risk signal analysis
*/
@JsonAdapter(RiskSignalDocumentType.Adapter.class)
public enum RiskSignalDocumentType {
UNKNOWN("UNKNOWN"),
BANK_STATEMENT("BANK_STATEMENT"),
BENEFITS_STATEMENT("BENEFITS_STATEMENT"),
BUSINESS_FILING("BUSINESS_FILING"),
CHECK("CHECK"),
DRIVING_LICENSE("DRIVING_LICENSE"),
FINANCIAL_STATEMENT("FINANCIAL_STATEMENT"),
INVOICE("INVOICE"),
PAYSLIP("PAYSLIP"),
SOCIAL_SECURITY_CARD("SOCIAL_SECURITY_CARD"),
TAX_FORM("TAX_FORM"),
UTILITY_BILL("UTILITY_BILL"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
RiskSignalDocumentType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RiskSignalDocumentType fromValue(String value) {
for (RiskSignalDocumentType b : RiskSignalDocumentType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<RiskSignalDocumentType> {
@Override
public void write(final JsonWriter jsonWriter, final RiskSignalDocumentType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RiskSignalDocumentType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RiskSignalDocumentType.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransactionsRuleField.java | src/main/java/com/plaid/client/model/TransactionsRuleField.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Transaction field for which the rule is defined.
*/
@JsonAdapter(TransactionsRuleField.Adapter.class)
public enum TransactionsRuleField {
TRANSACTION_ID("TRANSACTION_ID"),
NAME("NAME"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
TransactionsRuleField(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TransactionsRuleField fromValue(String value) {
for (TransactionsRuleField b : TransactionsRuleField.values()) {
if (b.value.equals(value)) {
return b;
}
}
return TransactionsRuleField.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<TransactionsRuleField> {
@Override
public void write(final JsonWriter jsonWriter, final TransactionsRuleField enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TransactionsRuleField read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TransactionsRuleField.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/IdentityVerificationListResponse.java | src/main/java/com/plaid/client/model/IdentityVerificationListResponse.java | /*
* 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.680.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 com.plaid.client.model.IdentityVerification;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Paginated list of Plaid sessions.
*/
@ApiModel(description = "Paginated list of Plaid sessions.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IdentityVerificationListResponse {
public static final String SERIALIZED_NAME_IDENTITY_VERIFICATIONS = "identity_verifications";
@SerializedName(SERIALIZED_NAME_IDENTITY_VERIFICATIONS)
private List<IdentityVerification> identityVerifications = new ArrayList<>();
public static final String SERIALIZED_NAME_NEXT_CURSOR = "next_cursor";
@SerializedName(SERIALIZED_NAME_NEXT_CURSOR)
private String nextCursor;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public IdentityVerificationListResponse identityVerifications(List<IdentityVerification> identityVerifications) {
this.identityVerifications = identityVerifications;
return this;
}
public IdentityVerificationListResponse addIdentityVerificationsItem(IdentityVerification identityVerificationsItem) {
this.identityVerifications.add(identityVerificationsItem);
return this;
}
/**
* List of Plaid sessions
* @return identityVerifications
**/
@ApiModelProperty(required = true, value = "List of Plaid sessions")
public List<IdentityVerification> getIdentityVerifications() {
return identityVerifications;
}
public void setIdentityVerifications(List<IdentityVerification> identityVerifications) {
this.identityVerifications = identityVerifications;
}
public IdentityVerificationListResponse nextCursor(String nextCursor) {
this.nextCursor = nextCursor;
return this;
}
/**
* An identifier that determines which page of results you receive.
* @return nextCursor
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "eyJkaXJlY3Rpb24iOiJuZXh0Iiwib2Zmc2V0IjoiMTU5NDM", required = true, value = "An identifier that determines which page of results you receive.")
public String getNextCursor() {
return nextCursor;
}
public void setNextCursor(String nextCursor) {
this.nextCursor = nextCursor;
}
public IdentityVerificationListResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityVerificationListResponse identityVerificationListResponse = (IdentityVerificationListResponse) o;
return Objects.equals(this.identityVerifications, identityVerificationListResponse.identityVerifications) &&
Objects.equals(this.nextCursor, identityVerificationListResponse.nextCursor) &&
Objects.equals(this.requestId, identityVerificationListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(identityVerifications, nextCursor, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityVerificationListResponse {\n");
sb.append(" identityVerifications: ").append(toIndentedString(identityVerifications)).append("\n");
sb.append(" nextCursor: ").append(toIndentedString(nextCursor)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TotalReportOutflowAmount30d.java | src/main/java/com/plaid/client/model/TotalReportOutflowAmount30d.java | /*
* 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.680.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.math.BigDecimal;
/**
* Total amount of credit transactions into the report's accounts in the last 30 days. This field only takes into account USD transactions from the accounts.
*/
@ApiModel(description = "Total amount of credit transactions into the report's accounts in the last 30 days. This field only takes into account USD transactions from the accounts.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TotalReportOutflowAmount30d {
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private Double amount;
public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
@SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
private String isoCurrencyCode;
public static final String SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE = "unofficial_currency_code";
@SerializedName(SERIALIZED_NAME_UNOFFICIAL_CURRENCY_CODE)
private String unofficialCurrencyCode;
public TotalReportOutflowAmount30d amount(Double amount) {
this.amount = amount;
return this;
}
/**
* Value of amount with up to 2 decimal places.
* @return amount
**/
@ApiModelProperty(required = true, value = "Value of amount with up to 2 decimal places.")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public TotalReportOutflowAmount30d isoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
return this;
}
/**
* The ISO 4217 currency code of the amount or balance.
* @return isoCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The ISO 4217 currency code of the amount or balance.")
public String getIsoCurrencyCode() {
return isoCurrencyCode;
}
public void setIsoCurrencyCode(String isoCurrencyCode) {
this.isoCurrencyCode = isoCurrencyCode;
}
public TotalReportOutflowAmount30d unofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
return this;
}
/**
* The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.
* @return unofficialCurrencyCode
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.")
public String getUnofficialCurrencyCode() {
return unofficialCurrencyCode;
}
public void setUnofficialCurrencyCode(String unofficialCurrencyCode) {
this.unofficialCurrencyCode = unofficialCurrencyCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TotalReportOutflowAmount30d totalReportOutflowAmount30d = (TotalReportOutflowAmount30d) o;
return Objects.equals(this.amount, totalReportOutflowAmount30d.amount) &&
Objects.equals(this.isoCurrencyCode, totalReportOutflowAmount30d.isoCurrencyCode) &&
Objects.equals(this.unofficialCurrencyCode, totalReportOutflowAmount30d.unofficialCurrencyCode);
}
@Override
public int hashCode() {
return Objects.hash(amount, isoCurrencyCode, unofficialCurrencyCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TotalReportOutflowAmount30d {\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).append("\n");
sb.append(" unofficialCurrencyCode: ").append(toIndentedString(unofficialCurrencyCode)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditSession.java | src/main/java/com/plaid/client/model/CreditSession.java | /*
* 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.680.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 com.plaid.client.model.CreditSessionError;
import com.plaid.client.model.CreditSessionResults;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
/**
* Metadata and results for a Link session
*/
@ApiModel(description = "Metadata and results for a Link session")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditSession {
public static final String SERIALIZED_NAME_LINK_SESSION_ID = "link_session_id";
@SerializedName(SERIALIZED_NAME_LINK_SESSION_ID)
private String linkSessionId;
public static final String SERIALIZED_NAME_SESSION_START_TIME = "session_start_time";
@SerializedName(SERIALIZED_NAME_SESSION_START_TIME)
private OffsetDateTime sessionStartTime;
public static final String SERIALIZED_NAME_RESULTS = "results";
@SerializedName(SERIALIZED_NAME_RESULTS)
private CreditSessionResults results;
public static final String SERIALIZED_NAME_ERRORS = "errors";
@SerializedName(SERIALIZED_NAME_ERRORS)
private List<CreditSessionError> errors = null;
public CreditSession linkSessionId(String linkSessionId) {
this.linkSessionId = linkSessionId;
return this;
}
/**
* The unique identifier associated with the Link session. This identifier matches the `link_session_id` returned in the onSuccess/onExit callbacks.
* @return linkSessionId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The unique identifier associated with the Link session. This identifier matches the `link_session_id` returned in the onSuccess/onExit callbacks.")
public String getLinkSessionId() {
return linkSessionId;
}
public void setLinkSessionId(String linkSessionId) {
this.linkSessionId = linkSessionId;
}
public CreditSession sessionStartTime(OffsetDateTime sessionStartTime) {
this.sessionStartTime = sessionStartTime;
return this;
}
/**
* The time when the Link session started
* @return sessionStartTime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The time when the Link session started")
public OffsetDateTime getSessionStartTime() {
return sessionStartTime;
}
public void setSessionStartTime(OffsetDateTime sessionStartTime) {
this.sessionStartTime = sessionStartTime;
}
public CreditSession results(CreditSessionResults results) {
this.results = results;
return this;
}
/**
* Get results
* @return results
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CreditSessionResults getResults() {
return results;
}
public void setResults(CreditSessionResults results) {
this.results = results;
}
public CreditSession errors(List<CreditSessionError> errors) {
this.errors = errors;
return this;
}
public CreditSession addErrorsItem(CreditSessionError errorsItem) {
if (this.errors == null) {
this.errors = new ArrayList<>();
}
this.errors.add(errorsItem);
return this;
}
/**
* The set of errors that occurred during the Link session.
* @return errors
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The set of errors that occurred during the Link session.")
public List<CreditSessionError> getErrors() {
return errors;
}
public void setErrors(List<CreditSessionError> errors) {
this.errors = errors;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditSession creditSession = (CreditSession) o;
return Objects.equals(this.linkSessionId, creditSession.linkSessionId) &&
Objects.equals(this.sessionStartTime, creditSession.sessionStartTime) &&
Objects.equals(this.results, creditSession.results) &&
Objects.equals(this.errors, creditSession.errors);
}
@Override
public int hashCode() {
return Objects.hash(linkSessionId, sessionStartTime, results, errors);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditSession {\n");
sb.append(" linkSessionId: ").append(toIndentedString(linkSessionId)).append("\n");
sb.append(" sessionStartTime: ").append(toIndentedString(sessionStartTime)).append("\n");
sb.append(" results: ").append(toIndentedString(results)).append("\n");
sb.append(" errors: ").append(toIndentedString(errors)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/UserCreateResponse.java | src/main/java/com/plaid/client/model/UserCreateResponse.java | /*
* 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.680.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;
/**
* UserCreateResponse defines the response schema for `/user/create`
*/
@ApiModel(description = "UserCreateResponse defines the response schema for `/user/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class UserCreateResponse {
public static final String SERIALIZED_NAME_USER_TOKEN = "user_token";
@SerializedName(SERIALIZED_NAME_USER_TOKEN)
private String userToken;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public UserCreateResponse userToken(String userToken) {
this.userToken = userToken;
return this;
}
/**
* The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).
* @return userToken
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserToken() {
return userToken;
}
public void setUserToken(String userToken) {
this.userToken = userToken;
}
public UserCreateResponse userId(String userId) {
this.userId = userId;
return this;
}
/**
* A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).
* @return userId
**/
@ApiModelProperty(required = true, value = "A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public UserCreateResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserCreateResponse userCreateResponse = (UserCreateResponse) o;
return Objects.equals(this.userToken, userCreateResponse.userToken) &&
Objects.equals(this.userId, userCreateResponse.userId) &&
Objects.equals(this.requestId, userCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(userToken, userId, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserCreateResponse {\n");
sb.append(" userToken: ").append(toIndentedString(userToken)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraMonitoringInsightsGetRequest.java | src/main/java/com/plaid/client/model/CraMonitoringInsightsGetRequest.java | /*
* 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.680.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 com.plaid.client.model.MonitoringConsumerReportPermissiblePurpose;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* CraMonitoringInsightsGetRequest defines the request schema for `/cra/monitoring_insights/get`
*/
@ApiModel(description = "CraMonitoringInsightsGetRequest defines the request schema for `/cra/monitoring_insights/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraMonitoringInsightsGetRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_CONSUMER_REPORT_PERMISSIBLE_PURPOSE = "consumer_report_permissible_purpose";
@SerializedName(SERIALIZED_NAME_CONSUMER_REPORT_PERMISSIBLE_PURPOSE)
private MonitoringConsumerReportPermissiblePurpose consumerReportPermissiblePurpose;
public static final String SERIALIZED_NAME_USER_TOKEN = "user_token";
@SerializedName(SERIALIZED_NAME_USER_TOKEN)
private String userToken;
public CraMonitoringInsightsGetRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public CraMonitoringInsightsGetRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public CraMonitoringInsightsGetRequest userId(String userId) {
this.userId = userId;
return this;
}
/**
* A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).
* @return userId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [new user APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public CraMonitoringInsightsGetRequest consumerReportPermissiblePurpose(MonitoringConsumerReportPermissiblePurpose consumerReportPermissiblePurpose) {
this.consumerReportPermissiblePurpose = consumerReportPermissiblePurpose;
return this;
}
/**
* Get consumerReportPermissiblePurpose
* @return consumerReportPermissiblePurpose
**/
@ApiModelProperty(required = true, value = "")
public MonitoringConsumerReportPermissiblePurpose getConsumerReportPermissiblePurpose() {
return consumerReportPermissiblePurpose;
}
public void setConsumerReportPermissiblePurpose(MonitoringConsumerReportPermissiblePurpose consumerReportPermissiblePurpose) {
this.consumerReportPermissiblePurpose = consumerReportPermissiblePurpose;
}
public CraMonitoringInsightsGetRequest userToken(String userToken) {
this.userToken = userToken;
return this;
}
/**
* The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).
* @return userToken
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The user token associated with the User data is being requested for. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis).")
public String getUserToken() {
return userToken;
}
public void setUserToken(String userToken) {
this.userToken = userToken;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraMonitoringInsightsGetRequest craMonitoringInsightsGetRequest = (CraMonitoringInsightsGetRequest) o;
return Objects.equals(this.clientId, craMonitoringInsightsGetRequest.clientId) &&
Objects.equals(this.secret, craMonitoringInsightsGetRequest.secret) &&
Objects.equals(this.userId, craMonitoringInsightsGetRequest.userId) &&
Objects.equals(this.consumerReportPermissiblePurpose, craMonitoringInsightsGetRequest.consumerReportPermissiblePurpose) &&
Objects.equals(this.userToken, craMonitoringInsightsGetRequest.userToken);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, userId, consumerReportPermissiblePurpose, userToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraMonitoringInsightsGetRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" consumerReportPermissiblePurpose: ").append(toIndentedString(consumerReportPermissiblePurpose)).append("\n");
sb.append(" userToken: ").append(toIndentedString(userToken)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/RiskCheckEmailIsDeliverableStatus.java | src/main/java/com/plaid/client/model/RiskCheckEmailIsDeliverableStatus.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* SMTP-MX check to confirm the email address exists if known.
*/
@JsonAdapter(RiskCheckEmailIsDeliverableStatus.Adapter.class)
public enum RiskCheckEmailIsDeliverableStatus {
YES("yes"),
NO("no"),
NO_DATA("no_data"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
RiskCheckEmailIsDeliverableStatus(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RiskCheckEmailIsDeliverableStatus fromValue(String value) {
for (RiskCheckEmailIsDeliverableStatus b : RiskCheckEmailIsDeliverableStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return RiskCheckEmailIsDeliverableStatus.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<RiskCheckEmailIsDeliverableStatus> {
@Override
public void write(final JsonWriter jsonWriter, final RiskCheckEmailIsDeliverableStatus enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RiskCheckEmailIsDeliverableStatus read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RiskCheckEmailIsDeliverableStatus.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransactionCounterparty.java | src/main/java/com/plaid/client/model/TransactionCounterparty.java | /*
* 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.680.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 com.plaid.client.model.CounterpartyNumbers;
import com.plaid.client.model.CounterpartyType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The counterparty, such as the merchant or financial institution, is extracted by Plaid from the raw description.
*/
@ApiModel(description = "The counterparty, such as the merchant or financial institution, is extracted by Plaid from the raw description.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionCounterparty {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_ENTITY_ID = "entity_id";
@SerializedName(SERIALIZED_NAME_ENTITY_ID)
private String entityId;
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private CounterpartyType type;
public static final String SERIALIZED_NAME_WEBSITE = "website";
@SerializedName(SERIALIZED_NAME_WEBSITE)
private String website;
public static final String SERIALIZED_NAME_LOGO_URL = "logo_url";
@SerializedName(SERIALIZED_NAME_LOGO_URL)
private String logoUrl;
public static final String SERIALIZED_NAME_CONFIDENCE_LEVEL = "confidence_level";
@SerializedName(SERIALIZED_NAME_CONFIDENCE_LEVEL)
private String confidenceLevel;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBERS = "account_numbers";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBERS)
private CounterpartyNumbers accountNumbers;
public TransactionCounterparty name(String name) {
this.name = name;
return this;
}
/**
* The name of the counterparty, such as the merchant or the financial institution, as extracted by Plaid from the raw description.
* @return name
**/
@ApiModelProperty(required = true, value = "The name of the counterparty, such as the merchant or the financial institution, as extracted by Plaid from the raw description.")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public TransactionCounterparty entityId(String entityId) {
this.entityId = entityId;
return this;
}
/**
* A unique, stable, Plaid-generated ID that maps to the counterparty.
* @return entityId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique, stable, Plaid-generated ID that maps to the counterparty.")
public String getEntityId() {
return entityId;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
}
public TransactionCounterparty type(CounterpartyType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public CounterpartyType getType() {
return type;
}
public void setType(CounterpartyType type) {
this.type = type;
}
public TransactionCounterparty website(String website) {
this.website = website;
return this;
}
/**
* The website associated with the counterparty.
* @return website
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The website associated with the counterparty.")
public String getWebsite() {
return website;
}
public void setWebsite(String website) {
this.website = website;
}
public TransactionCounterparty logoUrl(String logoUrl) {
this.logoUrl = logoUrl;
return this;
}
/**
* The URL of a logo associated with the counterparty, if available. The logo will always be 100×100 pixel PNG file.
* @return logoUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The URL of a logo associated with the counterparty, if available. The logo will always be 100×100 pixel PNG file.")
public String getLogoUrl() {
return logoUrl;
}
public void setLogoUrl(String logoUrl) {
this.logoUrl = logoUrl;
}
public TransactionCounterparty confidenceLevel(String confidenceLevel) {
this.confidenceLevel = confidenceLevel;
return this;
}
/**
* A description of how confident we are that the provided counterparty is involved in the transaction. `VERY_HIGH`: We recognize this counterparty and we are more than 98% confident that it is involved in this transaction. `HIGH`: We recognize this counterparty and we are more than 90% confident that it is involved in this transaction. `MEDIUM`: We are moderately confident that this counterparty was involved in this transaction, but some details may differ from our records. `LOW`: We didn’t find a matching counterparty in our records, so we are returning a cleansed name parsed out of the request description. `UNKNOWN`: We don’t know the confidence level for this counterparty.
* @return confidenceLevel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A description of how confident we are that the provided counterparty is involved in the transaction. `VERY_HIGH`: We recognize this counterparty and we are more than 98% confident that it is involved in this transaction. `HIGH`: We recognize this counterparty and we are more than 90% confident that it is involved in this transaction. `MEDIUM`: We are moderately confident that this counterparty was involved in this transaction, but some details may differ from our records. `LOW`: We didn’t find a matching counterparty in our records, so we are returning a cleansed name parsed out of the request description. `UNKNOWN`: We don’t know the confidence level for this counterparty.")
public String getConfidenceLevel() {
return confidenceLevel;
}
public void setConfidenceLevel(String confidenceLevel) {
this.confidenceLevel = confidenceLevel;
}
public TransactionCounterparty accountNumbers(CounterpartyNumbers accountNumbers) {
this.accountNumbers = accountNumbers;
return this;
}
/**
* Get accountNumbers
* @return accountNumbers
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CounterpartyNumbers getAccountNumbers() {
return accountNumbers;
}
public void setAccountNumbers(CounterpartyNumbers accountNumbers) {
this.accountNumbers = accountNumbers;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionCounterparty transactionCounterparty = (TransactionCounterparty) o;
return Objects.equals(this.name, transactionCounterparty.name) &&
Objects.equals(this.entityId, transactionCounterparty.entityId) &&
Objects.equals(this.type, transactionCounterparty.type) &&
Objects.equals(this.website, transactionCounterparty.website) &&
Objects.equals(this.logoUrl, transactionCounterparty.logoUrl) &&
Objects.equals(this.confidenceLevel, transactionCounterparty.confidenceLevel) &&
Objects.equals(this.accountNumbers, transactionCounterparty.accountNumbers);
}
@Override
public int hashCode() {
return Objects.hash(name, entityId, type, website, logoUrl, confidenceLevel, accountNumbers);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionCounterparty {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" entityId: ").append(toIndentedString(entityId)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" website: ").append(toIndentedString(website)).append("\n");
sb.append(" logoUrl: ").append(toIndentedString(logoUrl)).append("\n");
sb.append(" confidenceLevel: ").append(toIndentedString(confidenceLevel)).append("\n");
sb.append(" accountNumbers: ").append(toIndentedString(accountNumbers)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditRelayRefreshRequest.java | src/main/java/com/plaid/client/model/CreditRelayRefreshRequest.java | /*
* 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.680.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 com.plaid.client.model.ReportType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* CreditRelayRefreshRequest defines the request schema for `/credit/relay/refresh`
*/
@ApiModel(description = "CreditRelayRefreshRequest defines the request schema for `/credit/relay/refresh`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditRelayRefreshRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_RELAY_TOKEN = "relay_token";
@SerializedName(SERIALIZED_NAME_RELAY_TOKEN)
private String relayToken;
public static final String SERIALIZED_NAME_REPORT_TYPE = "report_type";
@SerializedName(SERIALIZED_NAME_REPORT_TYPE)
private ReportType reportType;
public static final String SERIALIZED_NAME_WEBHOOK = "webhook";
@SerializedName(SERIALIZED_NAME_WEBHOOK)
private String webhook;
public CreditRelayRefreshRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public CreditRelayRefreshRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public CreditRelayRefreshRequest relayToken(String relayToken) {
this.relayToken = relayToken;
return this;
}
/**
* The `relay_token` granting access to the report you would like to refresh.
* @return relayToken
**/
@ApiModelProperty(required = true, value = "The `relay_token` granting access to the report you would like to refresh.")
public String getRelayToken() {
return relayToken;
}
public void setRelayToken(String relayToken) {
this.relayToken = relayToken;
}
public CreditRelayRefreshRequest reportType(ReportType reportType) {
this.reportType = reportType;
return this;
}
/**
* Get reportType
* @return reportType
**/
@ApiModelProperty(required = true, value = "")
public ReportType getReportType() {
return reportType;
}
public void setReportType(ReportType reportType) {
this.reportType = reportType;
}
public CreditRelayRefreshRequest webhook(String webhook) {
this.webhook = webhook;
return this;
}
/**
* The URL registered to receive webhooks when the report of a relay token has been refreshed.
* @return webhook
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The URL registered to receive webhooks when the report of a relay token has been refreshed.")
public String getWebhook() {
return webhook;
}
public void setWebhook(String webhook) {
this.webhook = webhook;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditRelayRefreshRequest creditRelayRefreshRequest = (CreditRelayRefreshRequest) o;
return Objects.equals(this.clientId, creditRelayRefreshRequest.clientId) &&
Objects.equals(this.secret, creditRelayRefreshRequest.secret) &&
Objects.equals(this.relayToken, creditRelayRefreshRequest.relayToken) &&
Objects.equals(this.reportType, creditRelayRefreshRequest.reportType) &&
Objects.equals(this.webhook, creditRelayRefreshRequest.webhook);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, relayToken, reportType, webhook);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditRelayRefreshRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" relayToken: ").append(toIndentedString(relayToken)).append("\n");
sb.append(" reportType: ").append(toIndentedString(reportType)).append("\n");
sb.append(" webhook: ").append(toIndentedString(webhook)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferLedgerEventListResponse.java | src/main/java/com/plaid/client/model/TransferLedgerEventListResponse.java | /*
* 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.680.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 com.plaid.client.model.TransferLedgerEvent;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Defines the response schema for `/transfer/ledger/event/list`
*/
@ApiModel(description = "Defines the response schema for `/transfer/ledger/event/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferLedgerEventListResponse {
public static final String SERIALIZED_NAME_LEDGER_EVENTS = "ledger_events";
@SerializedName(SERIALIZED_NAME_LEDGER_EVENTS)
private List<TransferLedgerEvent> ledgerEvents = new ArrayList<>();
public static final String SERIALIZED_NAME_HAS_MORE = "has_more";
@SerializedName(SERIALIZED_NAME_HAS_MORE)
private Boolean hasMore;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferLedgerEventListResponse ledgerEvents(List<TransferLedgerEvent> ledgerEvents) {
this.ledgerEvents = ledgerEvents;
return this;
}
public TransferLedgerEventListResponse addLedgerEventsItem(TransferLedgerEvent ledgerEventsItem) {
this.ledgerEvents.add(ledgerEventsItem);
return this;
}
/**
* Get ledgerEvents
* @return ledgerEvents
**/
@ApiModelProperty(required = true, value = "")
public List<TransferLedgerEvent> getLedgerEvents() {
return ledgerEvents;
}
public void setLedgerEvents(List<TransferLedgerEvent> ledgerEvents) {
this.ledgerEvents = ledgerEvents;
}
public TransferLedgerEventListResponse hasMore(Boolean hasMore) {
this.hasMore = hasMore;
return this;
}
/**
* Whether there are more events to be pulled from the endpoint that have not already been returned
* @return hasMore
**/
@ApiModelProperty(required = true, value = "Whether there are more events to be pulled from the endpoint that have not already been returned")
public Boolean getHasMore() {
return hasMore;
}
public void setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
}
public TransferLedgerEventListResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferLedgerEventListResponse transferLedgerEventListResponse = (TransferLedgerEventListResponse) o;
return Objects.equals(this.ledgerEvents, transferLedgerEventListResponse.ledgerEvents) &&
Objects.equals(this.hasMore, transferLedgerEventListResponse.hasMore) &&
Objects.equals(this.requestId, transferLedgerEventListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(ledgerEvents, hasMore, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferLedgerEventListResponse {\n");
sb.append(" ledgerEvents: ").append(toIndentedString(ledgerEvents)).append("\n");
sb.append(" hasMore: ").append(toIndentedString(hasMore)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/RecurringNewTransferWebhook.java | src/main/java/com/plaid/client/model/RecurringNewTransferWebhook.java | /*
* 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.680.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 com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when a new transfer of a recurring transfer is originated.
*/
@ApiModel(description = "Fired when a new transfer of a recurring transfer is originated.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class RecurringNewTransferWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_RECURRING_TRANSFER_ID = "recurring_transfer_id";
@SerializedName(SERIALIZED_NAME_RECURRING_TRANSFER_ID)
private String recurringTransferId;
public static final String SERIALIZED_NAME_TRANSFER_ID = "transfer_id";
@SerializedName(SERIALIZED_NAME_TRANSFER_ID)
private String transferId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public RecurringNewTransferWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `TRANSFER`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`TRANSFER`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public RecurringNewTransferWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `RECURRING_NEW_TRANSFER`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`RECURRING_NEW_TRANSFER`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public RecurringNewTransferWebhook recurringTransferId(String recurringTransferId) {
this.recurringTransferId = recurringTransferId;
return this;
}
/**
* Plaid’s unique identifier for a recurring transfer.
* @return recurringTransferId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a recurring transfer.")
public String getRecurringTransferId() {
return recurringTransferId;
}
public void setRecurringTransferId(String recurringTransferId) {
this.recurringTransferId = recurringTransferId;
}
public RecurringNewTransferWebhook transferId(String transferId) {
this.transferId = transferId;
return this;
}
/**
* Plaid’s unique identifier for a transfer.
* @return transferId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a transfer.")
public String getTransferId() {
return transferId;
}
public void setTransferId(String transferId) {
this.transferId = transferId;
}
public RecurringNewTransferWebhook environment(WebhookEnvironmentValues environment) {
this.environment = environment;
return this;
}
/**
* Get environment
* @return environment
**/
@ApiModelProperty(required = true, value = "")
public WebhookEnvironmentValues getEnvironment() {
return environment;
}
public void setEnvironment(WebhookEnvironmentValues environment) {
this.environment = environment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RecurringNewTransferWebhook recurringNewTransferWebhook = (RecurringNewTransferWebhook) o;
return Objects.equals(this.webhookType, recurringNewTransferWebhook.webhookType) &&
Objects.equals(this.webhookCode, recurringNewTransferWebhook.webhookCode) &&
Objects.equals(this.recurringTransferId, recurringNewTransferWebhook.recurringTransferId) &&
Objects.equals(this.transferId, recurringNewTransferWebhook.transferId) &&
Objects.equals(this.environment, recurringNewTransferWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, recurringTransferId, transferId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RecurringNewTransferWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" recurringTransferId: ").append(toIndentedString(recurringTransferId)).append("\n");
sb.append(" transferId: ").append(toIndentedString(transferId)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ScopesNullable.java | src/main/java/com/plaid/client/model/ScopesNullable.java | /*
* 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.680.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 com.plaid.client.model.AccountAccess;
import com.plaid.client.model.ProductAccess;
import com.plaid.client.model.Scopes;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* The scopes object
*/
@ApiModel(description = "The scopes object")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ScopesNullable {
public static final String SERIALIZED_NAME_PRODUCT_ACCESS = "product_access";
@SerializedName(SERIALIZED_NAME_PRODUCT_ACCESS)
private ProductAccess productAccess;
public static final String SERIALIZED_NAME_ACCOUNTS = "accounts";
@SerializedName(SERIALIZED_NAME_ACCOUNTS)
private List<AccountAccess> accounts = null;
public static final String SERIALIZED_NAME_NEW_ACCOUNTS = "new_accounts";
@SerializedName(SERIALIZED_NAME_NEW_ACCOUNTS)
private Boolean newAccounts = true;
public ScopesNullable productAccess(ProductAccess productAccess) {
this.productAccess = productAccess;
return this;
}
/**
* Get productAccess
* @return productAccess
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public ProductAccess getProductAccess() {
return productAccess;
}
public void setProductAccess(ProductAccess productAccess) {
this.productAccess = productAccess;
}
public ScopesNullable accounts(List<AccountAccess> accounts) {
this.accounts = accounts;
return this;
}
public ScopesNullable addAccountsItem(AccountAccess accountsItem) {
if (this.accounts == null) {
this.accounts = new ArrayList<>();
}
this.accounts.add(accountsItem);
return this;
}
/**
* Get accounts
* @return accounts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<AccountAccess> getAccounts() {
return accounts;
}
public void setAccounts(List<AccountAccess> accounts) {
this.accounts = accounts;
}
public ScopesNullable newAccounts(Boolean newAccounts) {
this.newAccounts = newAccounts;
return this;
}
/**
* Allow access to newly opened accounts as they are opened. If unset, defaults to `true`.
* @return newAccounts
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Allow access to newly opened accounts as they are opened. If unset, defaults to `true`.")
public Boolean getNewAccounts() {
return newAccounts;
}
public void setNewAccounts(Boolean newAccounts) {
this.newAccounts = newAccounts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ScopesNullable scopesNullable = (ScopesNullable) o;
return Objects.equals(this.productAccess, scopesNullable.productAccess) &&
Objects.equals(this.accounts, scopesNullable.accounts) &&
Objects.equals(this.newAccounts, scopesNullable.newAccounts);
}
@Override
public int hashCode() {
return Objects.hash(productAccess, accounts, newAccounts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ScopesNullable {\n");
sb.append(" productAccess: ").append(toIndentedString(productAccess)).append("\n");
sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append(" newAccounts: ").append(toIndentedString(newAccounts)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BaseReportLongestGapInsights.java | src/main/java/com/plaid/client/model/BaseReportLongestGapInsights.java | /*
* 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.680.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.time.LocalDate;
/**
* Largest number of days between sequential transactions per calendar month
*/
@ApiModel(description = "Largest number of days between sequential transactions per calendar month")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BaseReportLongestGapInsights {
public static final String SERIALIZED_NAME_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private LocalDate startDate;
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private LocalDate endDate;
public static final String SERIALIZED_NAME_DAYS = "days";
@SerializedName(SERIALIZED_NAME_DAYS)
private Integer days;
public BaseReportLongestGapInsights startDate(LocalDate startDate) {
this.startDate = startDate;
return this;
}
/**
* The start date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The start date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).")
public LocalDate getStartDate() {
return startDate;
}
public void setStartDate(LocalDate startDate) {
this.startDate = startDate;
}
public BaseReportLongestGapInsights endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* The end date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The end date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD).")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
public BaseReportLongestGapInsights days(Integer days) {
this.days = days;
return this;
}
/**
* Largest number of days between sequential transactions for this time period.
* @return days
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Largest number of days between sequential transactions for this time period.")
public Integer getDays() {
return days;
}
public void setDays(Integer days) {
this.days = days;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BaseReportLongestGapInsights baseReportLongestGapInsights = (BaseReportLongestGapInsights) o;
return Objects.equals(this.startDate, baseReportLongestGapInsights.startDate) &&
Objects.equals(this.endDate, baseReportLongestGapInsights.endDate) &&
Objects.equals(this.days, baseReportLongestGapInsights.days);
}
@Override
public int hashCode() {
return Objects.hash(startDate, endDate, days);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BaseReportLongestGapInsights {\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" days: ").append(toIndentedString(days)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransactionsRefreshRequest.java | src/main/java/com/plaid/client/model/TransactionsRefreshRequest.java | /*
* 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.680.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;
/**
* TransactionsRefreshRequest defines the request schema for `/transactions/refresh`
*/
@ApiModel(description = "TransactionsRefreshRequest defines the request schema for `/transactions/refresh`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsRefreshRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public TransactionsRefreshRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public TransactionsRefreshRequest accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* The access token associated with the Item data is being requested for.
* @return accessToken
**/
@ApiModelProperty(required = true, value = "The access token associated with the Item data is being requested for.")
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public TransactionsRefreshRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionsRefreshRequest transactionsRefreshRequest = (TransactionsRefreshRequest) o;
return Objects.equals(this.clientId, transactionsRefreshRequest.clientId) &&
Objects.equals(this.accessToken, transactionsRefreshRequest.accessToken) &&
Objects.equals(this.secret, transactionsRefreshRequest.secret);
}
@Override
public int hashCode() {
return Objects.hash(clientId, accessToken, secret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsRefreshRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AccountSubtype.java | src/main/java/com/plaid/client/model/AccountSubtype.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* See the [Account type schema](https://plaid.com/docs/api/accounts/#account-type-schema) for a full listing of account types and corresponding subtypes.
*/
@JsonAdapter(AccountSubtype.Adapter.class)
public enum AccountSubtype {
_401A("401a"),
_401K("401k"),
_403B("403B"),
_457B("457b"),
_529("529"),
AUTO("auto"),
BROKERAGE("brokerage"),
BUSINESS("business"),
CASH_ISA("cash isa"),
CASH_MANAGEMENT("cash management"),
CD("cd"),
CHECKING("checking"),
COMMERCIAL("commercial"),
CONSTRUCTION("construction"),
CONSUMER("consumer"),
CREDIT_CARD("credit card"),
CRYPTO_EXCHANGE("crypto exchange"),
EBT("ebt"),
EDUCATION_SAVINGS_ACCOUNT("education savings account"),
FIXED_ANNUITY("fixed annuity"),
GIC("gic"),
HEALTH_REIMBURSEMENT_ARRANGEMENT("health reimbursement arrangement"),
HOME_EQUITY("home equity"),
HSA("hsa"),
ISA("isa"),
IRA("ira"),
KEOGH("keogh"),
LIF("lif"),
LIFE_INSURANCE("life insurance"),
LINE_OF_CREDIT("line of credit"),
LIRA("lira"),
LOAN("loan"),
LRIF("lrif"),
LRSP("lrsp"),
MONEY_MARKET("money market"),
MORTGAGE("mortgage"),
MUTUAL_FUND("mutual fund"),
NON_CUSTODIAL_WALLET("non-custodial wallet"),
NON_TAXABLE_BROKERAGE_ACCOUNT("non-taxable brokerage account"),
OTHER("other"),
OTHER_INSURANCE("other insurance"),
OTHER_ANNUITY("other annuity"),
OVERDRAFT("overdraft"),
PAYPAL("paypal"),
PAYROLL("payroll"),
PENSION("pension"),
PREPAID("prepaid"),
PRIF("prif"),
PROFIT_SHARING_PLAN("profit sharing plan"),
RDSP("rdsp"),
RESP("resp"),
RETIREMENT("retirement"),
RLIF("rlif"),
ROTH("roth"),
ROTH_401K("roth 401k"),
RRIF("rrif"),
RRSP("rrsp"),
SARSEP("sarsep"),
SAVINGS("savings"),
SEP_IRA("sep ira"),
SIMPLE_IRA("simple ira"),
SIPP("sipp"),
STOCK_PLAN("stock plan"),
STUDENT("student"),
THRIFT_SAVINGS_PLAN("thrift savings plan"),
TFSA("tfsa"),
TRUST("trust"),
UGMA("ugma"),
UTMA("utma"),
VARIABLE_ANNUITY("variable annuity"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
AccountSubtype(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static AccountSubtype fromValue(String value) {
for (AccountSubtype b : AccountSubtype.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null; }
public static class Adapter extends TypeAdapter<AccountSubtype> {
@Override
public void write(final JsonWriter jsonWriter, final AccountSubtype enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public AccountSubtype read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return AccountSubtype.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransactionsRecurringCreateInput.java | src/main/java/com/plaid/client/model/TransactionsRecurringCreateInput.java | /*
* 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.680.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.util.ArrayList;
import java.util.List;
/**
* TransactionsRecurringCreateInput defines a single input to the `/transactions/recurring/streams/create` endpoint.
*/
@ApiModel(description = "TransactionsRecurringCreateInput defines a single input to the `/transactions/recurring/streams/create` endpoint.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransactionsRecurringCreateInput {
public static final String SERIALIZED_NAME_TRANSACTION_IDS = "transaction_ids";
@SerializedName(SERIALIZED_NAME_TRANSACTION_IDS)
private List<String> transactionIds = null;
public TransactionsRecurringCreateInput transactionIds(List<String> transactionIds) {
this.transactionIds = transactionIds;
return this;
}
public TransactionsRecurringCreateInput addTransactionIdsItem(String transactionIdsItem) {
if (this.transactionIds == null) {
this.transactionIds = new ArrayList<>();
}
this.transactionIds.add(transactionIdsItem);
return this;
}
/**
* IDs of all the transactions that will be merged into one stream. If any transaction currently exists in another stream, it will be removed from the other stream.
* @return transactionIds
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "IDs of all the transactions that will be merged into one stream. If any transaction currently exists in another stream, it will be removed from the other stream.")
public List<String> getTransactionIds() {
return transactionIds;
}
public void setTransactionIds(List<String> transactionIds) {
this.transactionIds = transactionIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionsRecurringCreateInput transactionsRecurringCreateInput = (TransactionsRecurringCreateInput) o;
return Objects.equals(this.transactionIds, transactionsRecurringCreateInput.transactionIds);
}
@Override
public int hashCode() {
return Objects.hash(transactionIds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionsRecurringCreateInput {\n");
sb.append(" transactionIds: ").append(toIndentedString(transactionIds)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/DetectedAccount.java | src/main/java/com/plaid/client/model/DetectedAccount.java | /*
* 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.680.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.time.LocalDate;
/**
* A possible account detected to be associated with a transaction user.
*/
@ApiModel(description = "A possible account detected to be associated with a transaction user.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class DetectedAccount {
public static final String SERIALIZED_NAME_ACCOUNT_TYPE = "account_type";
@SerializedName(SERIALIZED_NAME_ACCOUNT_TYPE)
private String accountType;
public static final String SERIALIZED_NAME_ACCOUNT_SUBTYPE = "account_subtype";
@SerializedName(SERIALIZED_NAME_ACCOUNT_SUBTYPE)
private String accountSubtype;
public static final String SERIALIZED_NAME_TRANSACTION_COUNT = "transaction_count";
@SerializedName(SERIALIZED_NAME_TRANSACTION_COUNT)
private Integer transactionCount;
public static final String SERIALIZED_NAME_OLDEST_TRANSACTION_DATE = "oldest_transaction_date";
@SerializedName(SERIALIZED_NAME_OLDEST_TRANSACTION_DATE)
private LocalDate oldestTransactionDate;
public static final String SERIALIZED_NAME_NEWEST_TRANSACTION_DATE = "newest_transaction_date";
@SerializedName(SERIALIZED_NAME_NEWEST_TRANSACTION_DATE)
private LocalDate newestTransactionDate;
public static final String SERIALIZED_NAME_NEWEST_TRANSACTION_AMOUNT = "newest_transaction_amount";
@SerializedName(SERIALIZED_NAME_NEWEST_TRANSACTION_AMOUNT)
private Double newestTransactionAmount;
public static final String SERIALIZED_NAME_TOTAL_OUTFLOWS = "total_outflows";
@SerializedName(SERIALIZED_NAME_TOTAL_OUTFLOWS)
private Double totalOutflows;
public static final String SERIALIZED_NAME_TOTAL_INFLOWS = "total_inflows";
@SerializedName(SERIALIZED_NAME_TOTAL_INFLOWS)
private Double totalInflows;
public DetectedAccount accountType(String accountType) {
this.accountType = accountType;
return this;
}
/**
* The detected account type (depository, credit, loan, investment etc.).
* @return accountType
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The detected account type (depository, credit, loan, investment etc.).")
public String getAccountType() {
return accountType;
}
public void setAccountType(String accountType) {
this.accountType = accountType;
}
public DetectedAccount accountSubtype(String accountSubtype) {
this.accountSubtype = accountSubtype;
return this;
}
/**
* The detected subtype of the account, based on the transactions to/from the institution.
* @return accountSubtype
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The detected subtype of the account, based on the transactions to/from the institution.")
public String getAccountSubtype() {
return accountSubtype;
}
public void setAccountSubtype(String accountSubtype) {
this.accountSubtype = accountSubtype;
}
public DetectedAccount transactionCount(Integer transactionCount) {
this.transactionCount = transactionCount;
return this;
}
/**
* The number of transactions associated with this detected account type at this financial institution.
* @return transactionCount
**/
@ApiModelProperty(required = true, value = "The number of transactions associated with this detected account type at this financial institution.")
public Integer getTransactionCount() {
return transactionCount;
}
public void setTransactionCount(Integer transactionCount) {
this.transactionCount = transactionCount;
}
public DetectedAccount oldestTransactionDate(LocalDate oldestTransactionDate) {
this.oldestTransactionDate = oldestTransactionDate;
return this;
}
/**
* The date of the oldest transaction associated with this detected account type at this financial institution.
* @return oldestTransactionDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date of the oldest transaction associated with this detected account type at this financial institution.")
public LocalDate getOldestTransactionDate() {
return oldestTransactionDate;
}
public void setOldestTransactionDate(LocalDate oldestTransactionDate) {
this.oldestTransactionDate = oldestTransactionDate;
}
public DetectedAccount newestTransactionDate(LocalDate newestTransactionDate) {
this.newestTransactionDate = newestTransactionDate;
return this;
}
/**
* The date of the newest transaction associated with this detected account type at this financial institution.
* @return newestTransactionDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date of the newest transaction associated with this detected account type at this financial institution.")
public LocalDate getNewestTransactionDate() {
return newestTransactionDate;
}
public void setNewestTransactionDate(LocalDate newestTransactionDate) {
this.newestTransactionDate = newestTransactionDate;
}
public DetectedAccount newestTransactionAmount(Double newestTransactionAmount) {
this.newestTransactionAmount = newestTransactionAmount;
return this;
}
/**
* Amount of the most recent transaction associated with this detected account type at this financial institution.
* @return newestTransactionAmount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Amount of the most recent transaction associated with this detected account type at this financial institution.")
public Double getNewestTransactionAmount() {
return newestTransactionAmount;
}
public void setNewestTransactionAmount(Double newestTransactionAmount) {
this.newestTransactionAmount = newestTransactionAmount;
}
public DetectedAccount totalOutflows(Double totalOutflows) {
this.totalOutflows = totalOutflows;
return this;
}
/**
* Sum of outflow amounts associated with this detected account type at this financial institution.
* @return totalOutflows
**/
@ApiModelProperty(required = true, value = "Sum of outflow amounts associated with this detected account type at this financial institution.")
public Double getTotalOutflows() {
return totalOutflows;
}
public void setTotalOutflows(Double totalOutflows) {
this.totalOutflows = totalOutflows;
}
public DetectedAccount totalInflows(Double totalInflows) {
this.totalInflows = totalInflows;
return this;
}
/**
* Sum of inflow amounts associated with this detected account type at this financial institution.
* @return totalInflows
**/
@ApiModelProperty(required = true, value = "Sum of inflow amounts associated with this detected account type at this financial institution.")
public Double getTotalInflows() {
return totalInflows;
}
public void setTotalInflows(Double totalInflows) {
this.totalInflows = totalInflows;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DetectedAccount detectedAccount = (DetectedAccount) o;
return Objects.equals(this.accountType, detectedAccount.accountType) &&
Objects.equals(this.accountSubtype, detectedAccount.accountSubtype) &&
Objects.equals(this.transactionCount, detectedAccount.transactionCount) &&
Objects.equals(this.oldestTransactionDate, detectedAccount.oldestTransactionDate) &&
Objects.equals(this.newestTransactionDate, detectedAccount.newestTransactionDate) &&
Objects.equals(this.newestTransactionAmount, detectedAccount.newestTransactionAmount) &&
Objects.equals(this.totalOutflows, detectedAccount.totalOutflows) &&
Objects.equals(this.totalInflows, detectedAccount.totalInflows);
}
@Override
public int hashCode() {
return Objects.hash(accountType, accountSubtype, transactionCount, oldestTransactionDate, newestTransactionDate, newestTransactionAmount, totalOutflows, totalInflows);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DetectedAccount {\n");
sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n");
sb.append(" accountSubtype: ").append(toIndentedString(accountSubtype)).append("\n");
sb.append(" transactionCount: ").append(toIndentedString(transactionCount)).append("\n");
sb.append(" oldestTransactionDate: ").append(toIndentedString(oldestTransactionDate)).append("\n");
sb.append(" newestTransactionDate: ").append(toIndentedString(newestTransactionDate)).append("\n");
sb.append(" newestTransactionAmount: ").append(toIndentedString(newestTransactionAmount)).append("\n");
sb.append(" totalOutflows: ").append(toIndentedString(totalOutflows)).append("\n");
sb.append(" totalInflows: ").append(toIndentedString(totalInflows)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferAuthorizationCreateResponse.java | src/main/java/com/plaid/client/model/TransferAuthorizationCreateResponse.java | /*
* 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.680.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 com.plaid.client.model.TransferAuthorization;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Defines the response schema for `/transfer/authorization/create`
*/
@ApiModel(description = "Defines the response schema for `/transfer/authorization/create`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferAuthorizationCreateResponse {
public static final String SERIALIZED_NAME_AUTHORIZATION = "authorization";
@SerializedName(SERIALIZED_NAME_AUTHORIZATION)
private TransferAuthorization authorization;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public TransferAuthorizationCreateResponse authorization(TransferAuthorization authorization) {
this.authorization = authorization;
return this;
}
/**
* Get authorization
* @return authorization
**/
@ApiModelProperty(required = true, value = "")
public TransferAuthorization getAuthorization() {
return authorization;
}
public void setAuthorization(TransferAuthorization authorization) {
this.authorization = authorization;
}
public TransferAuthorizationCreateResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferAuthorizationCreateResponse transferAuthorizationCreateResponse = (TransferAuthorizationCreateResponse) o;
return Objects.equals(this.authorization, transferAuthorizationCreateResponse.authorization) &&
Objects.equals(this.requestId, transferAuthorizationCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(authorization, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferAuthorizationCreateResponse {\n");
sb.append(" authorization: ").append(toIndentedString(authorization)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/OAuthGrantType.java | src/main/java/com/plaid/client/model/OAuthGrantType.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The type of OAuth grant being requested: `client_credentials` allows exchanging a client id and client secret for a refresh and access token. `refresh_token` allows refreshing an access token using a refresh token. When using this grant type, only the `refresh_token` field is required (along with the `client_id` and `client_secret`). `urn:ietf:params:oauth:grant-type:token-exchange` allows exchanging a subject token for an OAuth token. When using this grant type, the `audience`, `subject_token` and `subject_token_type` fields are required. These grants are defined in their respective RFCs. `refresh_token` and `client_credentials` are defined in RFC 6749 and `urn:ietf:params:oauth:grant-type:token-exchange` is defined in RFC 8693.
*/
@JsonAdapter(OAuthGrantType.Adapter.class)
public enum OAuthGrantType {
REFRESH_TOKEN("refresh_token"),
URN_IETF_PARAMS_OAUTH_GRANT_TYPE_TOKEN_EXCHANGE("urn:ietf:params:oauth:grant-type:token-exchange"),
CLIENT_CREDENTIALS("client_credentials"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
OAuthGrantType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static OAuthGrantType fromValue(String value) {
for (OAuthGrantType b : OAuthGrantType.values()) {
if (b.value.equals(value)) {
return b;
}
}
return OAuthGrantType.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<OAuthGrantType> {
@Override
public void write(final JsonWriter jsonWriter, final OAuthGrantType enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public OAuthGrantType read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return OAuthGrantType.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/RuleResult.java | src/main/java/com/plaid/client/model/RuleResult.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* The result of the rule that was triggered for this transaction. `ACCEPT`: Accept the transaction for processing. `REROUTE`: Reroute the transaction to a different payment method, as this transaction is too risky. `REVIEW`: Review the transaction before proceeding.
*/
@JsonAdapter(RuleResult.Adapter.class)
public enum RuleResult {
ACCEPT("ACCEPT"),
REROUTE("REROUTE"),
REVIEW("REVIEW"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
RuleResult(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RuleResult fromValue(String value) {
for (RuleResult b : RuleResult.values()) {
if (b.value.equals(value)) {
return b;
}
}
return RuleResult.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<RuleResult> {
@Override
public void write(final JsonWriter jsonWriter, final RuleResult enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RuleResult read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RuleResult.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PrismCashScoreMetadata.java | src/main/java/com/plaid/client/model/PrismCashScoreMetadata.java | /*
* 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.680.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;
/**
* An object containing metadata about the provided transactions.
*/
@ApiModel(description = "An object containing metadata about the provided transactions.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PrismCashScoreMetadata {
public static final String SERIALIZED_NAME_MAX_AGE = "max_age";
@SerializedName(SERIALIZED_NAME_MAX_AGE)
private Integer maxAge;
public static final String SERIALIZED_NAME_MIN_AGE = "min_age";
@SerializedName(SERIALIZED_NAME_MIN_AGE)
private Integer minAge;
public static final String SERIALIZED_NAME_MIN_AGE_CREDIT = "min_age_credit";
@SerializedName(SERIALIZED_NAME_MIN_AGE_CREDIT)
private Integer minAgeCredit;
public static final String SERIALIZED_NAME_MIN_AGE_DEBIT = "min_age_debit";
@SerializedName(SERIALIZED_NAME_MIN_AGE_DEBIT)
private Integer minAgeDebit;
public static final String SERIALIZED_NAME_MAX_AGE_DEBIT = "max_age_debit";
@SerializedName(SERIALIZED_NAME_MAX_AGE_DEBIT)
private Integer maxAgeDebit;
public static final String SERIALIZED_NAME_MAX_AGE_CREDIT = "max_age_credit";
@SerializedName(SERIALIZED_NAME_MAX_AGE_CREDIT)
private Integer maxAgeCredit;
public static final String SERIALIZED_NAME_NUM_TRXN_CREDIT = "num_trxn_credit";
@SerializedName(SERIALIZED_NAME_NUM_TRXN_CREDIT)
private Integer numTrxnCredit;
public static final String SERIALIZED_NAME_NUM_TRXN_DEBIT = "num_trxn_debit";
@SerializedName(SERIALIZED_NAME_NUM_TRXN_DEBIT)
private Integer numTrxnDebit;
public static final String SERIALIZED_NAME_L1M_CREDIT_VALUE_CNT = "l1m_credit_value_cnt";
@SerializedName(SERIALIZED_NAME_L1M_CREDIT_VALUE_CNT)
private Integer l1mCreditValueCnt;
public static final String SERIALIZED_NAME_L1M_DEBIT_VALUE_CNT = "l1m_debit_value_cnt";
@SerializedName(SERIALIZED_NAME_L1M_DEBIT_VALUE_CNT)
private Integer l1mDebitValueCnt;
public PrismCashScoreMetadata maxAge(Integer maxAge) {
this.maxAge = maxAge;
return this;
}
/**
* Number of days since the oldest transaction.
* @return maxAge
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Number of days since the oldest transaction.")
public Integer getMaxAge() {
return maxAge;
}
public void setMaxAge(Integer maxAge) {
this.maxAge = maxAge;
}
public PrismCashScoreMetadata minAge(Integer minAge) {
this.minAge = minAge;
return this;
}
/**
* Number of days since the latest transaction.
* @return minAge
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Number of days since the latest transaction.")
public Integer getMinAge() {
return minAge;
}
public void setMinAge(Integer minAge) {
this.minAge = minAge;
}
public PrismCashScoreMetadata minAgeCredit(Integer minAgeCredit) {
this.minAgeCredit = minAgeCredit;
return this;
}
/**
* Number of days since the latest credit transaction.
* @return minAgeCredit
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Number of days since the latest credit transaction.")
public Integer getMinAgeCredit() {
return minAgeCredit;
}
public void setMinAgeCredit(Integer minAgeCredit) {
this.minAgeCredit = minAgeCredit;
}
public PrismCashScoreMetadata minAgeDebit(Integer minAgeDebit) {
this.minAgeDebit = minAgeDebit;
return this;
}
/**
* Number of days since the latest debit transaction.
* @return minAgeDebit
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Number of days since the latest debit transaction.")
public Integer getMinAgeDebit() {
return minAgeDebit;
}
public void setMinAgeDebit(Integer minAgeDebit) {
this.minAgeDebit = minAgeDebit;
}
public PrismCashScoreMetadata maxAgeDebit(Integer maxAgeDebit) {
this.maxAgeDebit = maxAgeDebit;
return this;
}
/**
* Number of days since the oldest debit transaction.
* @return maxAgeDebit
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Number of days since the oldest debit transaction.")
public Integer getMaxAgeDebit() {
return maxAgeDebit;
}
public void setMaxAgeDebit(Integer maxAgeDebit) {
this.maxAgeDebit = maxAgeDebit;
}
public PrismCashScoreMetadata maxAgeCredit(Integer maxAgeCredit) {
this.maxAgeCredit = maxAgeCredit;
return this;
}
/**
* Number of days since the oldest credit transaction.
* @return maxAgeCredit
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Number of days since the oldest credit transaction.")
public Integer getMaxAgeCredit() {
return maxAgeCredit;
}
public void setMaxAgeCredit(Integer maxAgeCredit) {
this.maxAgeCredit = maxAgeCredit;
}
public PrismCashScoreMetadata numTrxnCredit(Integer numTrxnCredit) {
this.numTrxnCredit = numTrxnCredit;
return this;
}
/**
* Number of credit transactions.
* @return numTrxnCredit
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Number of credit transactions.")
public Integer getNumTrxnCredit() {
return numTrxnCredit;
}
public void setNumTrxnCredit(Integer numTrxnCredit) {
this.numTrxnCredit = numTrxnCredit;
}
public PrismCashScoreMetadata numTrxnDebit(Integer numTrxnDebit) {
this.numTrxnDebit = numTrxnDebit;
return this;
}
/**
* Number of debit transactions.
* @return numTrxnDebit
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Number of debit transactions.")
public Integer getNumTrxnDebit() {
return numTrxnDebit;
}
public void setNumTrxnDebit(Integer numTrxnDebit) {
this.numTrxnDebit = numTrxnDebit;
}
public PrismCashScoreMetadata l1mCreditValueCnt(Integer l1mCreditValueCnt) {
this.l1mCreditValueCnt = l1mCreditValueCnt;
return this;
}
/**
* Number of credit transactions in the last 30 days.
* @return l1mCreditValueCnt
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Number of credit transactions in the last 30 days.")
public Integer getL1mCreditValueCnt() {
return l1mCreditValueCnt;
}
public void setL1mCreditValueCnt(Integer l1mCreditValueCnt) {
this.l1mCreditValueCnt = l1mCreditValueCnt;
}
public PrismCashScoreMetadata l1mDebitValueCnt(Integer l1mDebitValueCnt) {
this.l1mDebitValueCnt = l1mDebitValueCnt;
return this;
}
/**
* Number of debit transactions in the last 30 days.
* @return l1mDebitValueCnt
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "Number of debit transactions in the last 30 days.")
public Integer getL1mDebitValueCnt() {
return l1mDebitValueCnt;
}
public void setL1mDebitValueCnt(Integer l1mDebitValueCnt) {
this.l1mDebitValueCnt = l1mDebitValueCnt;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PrismCashScoreMetadata prismCashScoreMetadata = (PrismCashScoreMetadata) o;
return Objects.equals(this.maxAge, prismCashScoreMetadata.maxAge) &&
Objects.equals(this.minAge, prismCashScoreMetadata.minAge) &&
Objects.equals(this.minAgeCredit, prismCashScoreMetadata.minAgeCredit) &&
Objects.equals(this.minAgeDebit, prismCashScoreMetadata.minAgeDebit) &&
Objects.equals(this.maxAgeDebit, prismCashScoreMetadata.maxAgeDebit) &&
Objects.equals(this.maxAgeCredit, prismCashScoreMetadata.maxAgeCredit) &&
Objects.equals(this.numTrxnCredit, prismCashScoreMetadata.numTrxnCredit) &&
Objects.equals(this.numTrxnDebit, prismCashScoreMetadata.numTrxnDebit) &&
Objects.equals(this.l1mCreditValueCnt, prismCashScoreMetadata.l1mCreditValueCnt) &&
Objects.equals(this.l1mDebitValueCnt, prismCashScoreMetadata.l1mDebitValueCnt);
}
@Override
public int hashCode() {
return Objects.hash(maxAge, minAge, minAgeCredit, minAgeDebit, maxAgeDebit, maxAgeCredit, numTrxnCredit, numTrxnDebit, l1mCreditValueCnt, l1mDebitValueCnt);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PrismCashScoreMetadata {\n");
sb.append(" maxAge: ").append(toIndentedString(maxAge)).append("\n");
sb.append(" minAge: ").append(toIndentedString(minAge)).append("\n");
sb.append(" minAgeCredit: ").append(toIndentedString(minAgeCredit)).append("\n");
sb.append(" minAgeDebit: ").append(toIndentedString(minAgeDebit)).append("\n");
sb.append(" maxAgeDebit: ").append(toIndentedString(maxAgeDebit)).append("\n");
sb.append(" maxAgeCredit: ").append(toIndentedString(maxAgeCredit)).append("\n");
sb.append(" numTrxnCredit: ").append(toIndentedString(numTrxnCredit)).append("\n");
sb.append(" numTrxnDebit: ").append(toIndentedString(numTrxnDebit)).append("\n");
sb.append(" l1mCreditValueCnt: ").append(toIndentedString(l1mCreditValueCnt)).append("\n");
sb.append(" l1mDebitValueCnt: ").append(toIndentedString(l1mDebitValueCnt)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorSignalEvaluateRequest.java | src/main/java/com/plaid/client/model/ProcessorSignalEvaluateRequest.java | /*
* 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.680.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 com.plaid.client.model.SignalDevice;
import com.plaid.client.model.SignalUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ProcessorSignalEvaluateRequest defines the request schema for `/processor/signal/evaluate`
*/
@ApiModel(description = "ProcessorSignalEvaluateRequest defines the request schema for `/processor/signal/evaluate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorSignalEvaluateRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_PROCESSOR_TOKEN = "processor_token";
@SerializedName(SERIALIZED_NAME_PROCESSOR_TOKEN)
private String processorToken;
public static final String SERIALIZED_NAME_CLIENT_TRANSACTION_ID = "client_transaction_id";
@SerializedName(SERIALIZED_NAME_CLIENT_TRANSACTION_ID)
private String clientTransactionId;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private Double amount;
public static final String SERIALIZED_NAME_USER_PRESENT = "user_present";
@SerializedName(SERIALIZED_NAME_USER_PRESENT)
private Boolean userPresent;
public static final String SERIALIZED_NAME_CLIENT_USER_ID = "client_user_id";
@SerializedName(SERIALIZED_NAME_CLIENT_USER_ID)
private String clientUserId;
public static final String SERIALIZED_NAME_IS_RECURRING = "is_recurring";
@SerializedName(SERIALIZED_NAME_IS_RECURRING)
private Boolean isRecurring;
public static final String SERIALIZED_NAME_DEFAULT_PAYMENT_METHOD = "default_payment_method";
@SerializedName(SERIALIZED_NAME_DEFAULT_PAYMENT_METHOD)
private String defaultPaymentMethod;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private SignalUser user;
public static final String SERIALIZED_NAME_DEVICE = "device";
@SerializedName(SERIALIZED_NAME_DEVICE)
private SignalDevice device;
public static final String SERIALIZED_NAME_RULESET_KEY = "ruleset_key";
@SerializedName(SERIALIZED_NAME_RULESET_KEY)
private String rulesetKey;
public ProcessorSignalEvaluateRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public ProcessorSignalEvaluateRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public ProcessorSignalEvaluateRequest processorToken(String processorToken) {
this.processorToken = processorToken;
return this;
}
/**
* The processor token obtained from the Plaid integration partner. Processor tokens are in the format: `processor-<environment>-<identifier>`
* @return processorToken
**/
@ApiModelProperty(required = true, value = "The processor token obtained from the Plaid integration partner. Processor tokens are in the format: `processor-<environment>-<identifier>`")
public String getProcessorToken() {
return processorToken;
}
public void setProcessorToken(String processorToken) {
this.processorToken = processorToken;
}
public ProcessorSignalEvaluateRequest clientTransactionId(String clientTransactionId) {
this.clientTransactionId = clientTransactionId;
return this;
}
/**
* The unique ID that you would like to use to refer to this transaction. For your convenience mapping your internal data, you could use your internal ID/identifier for this transaction. The max length for this field is 36 characters.
* @return clientTransactionId
**/
@ApiModelProperty(required = true, value = "The unique ID that you would like to use to refer to this transaction. For your convenience mapping your internal data, you could use your internal ID/identifier for this transaction. The max length for this field is 36 characters.")
public String getClientTransactionId() {
return clientTransactionId;
}
public void setClientTransactionId(String clientTransactionId) {
this.clientTransactionId = clientTransactionId;
}
public ProcessorSignalEvaluateRequest amount(Double amount) {
this.amount = amount;
return this;
}
/**
* The transaction amount, in USD (e.g. `102.05`)
* @return amount
**/
@ApiModelProperty(required = true, value = "The transaction amount, in USD (e.g. `102.05`)")
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public ProcessorSignalEvaluateRequest userPresent(Boolean userPresent) {
this.userPresent = userPresent;
return this;
}
/**
* `true` if the end user is present while initiating the ACH transfer and the endpoint is being called; `false` otherwise (for example, when the ACH transfer is scheduled and the end user is not present, or you call this endpoint after the ACH transfer but before submitting the Nacha file for ACH processing).
* @return userPresent
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "`true` if the end user is present while initiating the ACH transfer and the endpoint is being called; `false` otherwise (for example, when the ACH transfer is scheduled and the end user is not present, or you call this endpoint after the ACH transfer but before submitting the Nacha file for ACH processing).")
public Boolean getUserPresent() {
return userPresent;
}
public void setUserPresent(Boolean userPresent) {
this.userPresent = userPresent;
}
public ProcessorSignalEvaluateRequest clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique ID that identifies the end user in your system. This ID is used to correlate requests by a user with multiple Items. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.
* @return clientUserId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique ID that identifies the end user in your system. This ID is used to correlate requests by a user with multiple Items. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.")
public String getClientUserId() {
return clientUserId;
}
public void setClientUserId(String clientUserId) {
this.clientUserId = clientUserId;
}
public ProcessorSignalEvaluateRequest isRecurring(Boolean isRecurring) {
this.isRecurring = isRecurring;
return this;
}
/**
* **true** if the ACH transaction is a recurring transaction; **false** otherwise
* @return isRecurring
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "**true** if the ACH transaction is a recurring transaction; **false** otherwise ")
public Boolean getIsRecurring() {
return isRecurring;
}
public void setIsRecurring(Boolean isRecurring) {
this.isRecurring = isRecurring;
}
public ProcessorSignalEvaluateRequest defaultPaymentMethod(String defaultPaymentMethod) {
this.defaultPaymentMethod = defaultPaymentMethod;
return this;
}
/**
* The default ACH or non-ACH payment method to complete the transaction. `SAME_DAY_ACH`: Same Day ACH by Nacha. The debit transaction is processed and settled on the same day. `STANDARD_ACH`: standard ACH by Nacha. `MULTIPLE_PAYMENT_METHODS`: if there is no default debit rail or there are multiple payment methods. Possible values: `SAME_DAY_ACH`, `STANDARD_ACH`, `MULTIPLE_PAYMENT_METHODS`
* @return defaultPaymentMethod
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The default ACH or non-ACH payment method to complete the transaction. `SAME_DAY_ACH`: Same Day ACH by Nacha. The debit transaction is processed and settled on the same day. `STANDARD_ACH`: standard ACH by Nacha. `MULTIPLE_PAYMENT_METHODS`: if there is no default debit rail or there are multiple payment methods. Possible values: `SAME_DAY_ACH`, `STANDARD_ACH`, `MULTIPLE_PAYMENT_METHODS`")
public String getDefaultPaymentMethod() {
return defaultPaymentMethod;
}
public void setDefaultPaymentMethod(String defaultPaymentMethod) {
this.defaultPaymentMethod = defaultPaymentMethod;
}
public ProcessorSignalEvaluateRequest user(SignalUser user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SignalUser getUser() {
return user;
}
public void setUser(SignalUser user) {
this.user = user;
}
public ProcessorSignalEvaluateRequest device(SignalDevice device) {
this.device = device;
return this;
}
/**
* Get device
* @return device
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SignalDevice getDevice() {
return device;
}
public void setDevice(SignalDevice device) {
this.device = device;
}
public ProcessorSignalEvaluateRequest rulesetKey(String rulesetKey) {
this.rulesetKey = rulesetKey;
return this;
}
/**
* The key of the ruleset to use for this transaction. You can configure a ruleset using the Plaid Dashboard, under [Signal->Rules](https://dashboard.plaid.com/signal/risk-profiles). If not provided, for customers who began using Signal Transaction Scores before October 15, 2025, by default, no ruleset will be used; for customers who began using Signal Transaction Scores after that date, or for Balance customers, the `default` ruleset will be used. For more details, or to opt out of using a ruleset, see [Signal Rules](https://plaid.com/docs/signal/signal-rules/).
* @return rulesetKey
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The key of the ruleset to use for this transaction. You can configure a ruleset using the Plaid Dashboard, under [Signal->Rules](https://dashboard.plaid.com/signal/risk-profiles). If not provided, for customers who began using Signal Transaction Scores before October 15, 2025, by default, no ruleset will be used; for customers who began using Signal Transaction Scores after that date, or for Balance customers, the `default` ruleset will be used. For more details, or to opt out of using a ruleset, see [Signal Rules](https://plaid.com/docs/signal/signal-rules/).")
public String getRulesetKey() {
return rulesetKey;
}
public void setRulesetKey(String rulesetKey) {
this.rulesetKey = rulesetKey;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorSignalEvaluateRequest processorSignalEvaluateRequest = (ProcessorSignalEvaluateRequest) o;
return Objects.equals(this.clientId, processorSignalEvaluateRequest.clientId) &&
Objects.equals(this.secret, processorSignalEvaluateRequest.secret) &&
Objects.equals(this.processorToken, processorSignalEvaluateRequest.processorToken) &&
Objects.equals(this.clientTransactionId, processorSignalEvaluateRequest.clientTransactionId) &&
Objects.equals(this.amount, processorSignalEvaluateRequest.amount) &&
Objects.equals(this.userPresent, processorSignalEvaluateRequest.userPresent) &&
Objects.equals(this.clientUserId, processorSignalEvaluateRequest.clientUserId) &&
Objects.equals(this.isRecurring, processorSignalEvaluateRequest.isRecurring) &&
Objects.equals(this.defaultPaymentMethod, processorSignalEvaluateRequest.defaultPaymentMethod) &&
Objects.equals(this.user, processorSignalEvaluateRequest.user) &&
Objects.equals(this.device, processorSignalEvaluateRequest.device) &&
Objects.equals(this.rulesetKey, processorSignalEvaluateRequest.rulesetKey);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, processorToken, clientTransactionId, amount, userPresent, clientUserId, isRecurring, defaultPaymentMethod, user, device, rulesetKey);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorSignalEvaluateRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" processorToken: ").append(toIndentedString(processorToken)).append("\n");
sb.append(" clientTransactionId: ").append(toIndentedString(clientTransactionId)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" userPresent: ").append(toIndentedString(userPresent)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" isRecurring: ").append(toIndentedString(isRecurring)).append("\n");
sb.append(" defaultPaymentMethod: ").append(toIndentedString(defaultPaymentMethod)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" device: ").append(toIndentedString(device)).append("\n");
sb.append(" rulesetKey: ").append(toIndentedString(rulesetKey)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferTestClock.java | src/main/java/com/plaid/client/model/TransferTestClock.java | /*
* 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.680.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.time.OffsetDateTime;
/**
* Defines the test clock for a transfer.
*/
@ApiModel(description = "Defines the test clock for a transfer.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferTestClock {
public static final String SERIALIZED_NAME_TEST_CLOCK_ID = "test_clock_id";
@SerializedName(SERIALIZED_NAME_TEST_CLOCK_ID)
private String testClockId;
public static final String SERIALIZED_NAME_VIRTUAL_TIME = "virtual_time";
@SerializedName(SERIALIZED_NAME_VIRTUAL_TIME)
private OffsetDateTime virtualTime;
public TransferTestClock testClockId(String testClockId) {
this.testClockId = testClockId;
return this;
}
/**
* Plaid’s unique identifier for a test clock. This field is only populated in the Sandbox environment, and only if a `test_clock_id` was included in the `/transfer/recurring/create` request. For more details, see [Simulating recurring transfers](https://plaid.com/docs/transfer/sandbox/#simulating-recurring-transfers).
* @return testClockId
**/
@ApiModelProperty(required = true, value = "Plaid’s unique identifier for a test clock. This field is only populated in the Sandbox environment, and only if a `test_clock_id` was included in the `/transfer/recurring/create` request. For more details, see [Simulating recurring transfers](https://plaid.com/docs/transfer/sandbox/#simulating-recurring-transfers).")
public String getTestClockId() {
return testClockId;
}
public void setTestClockId(String testClockId) {
this.testClockId = testClockId;
}
public TransferTestClock virtualTime(OffsetDateTime virtualTime) {
this.virtualTime = virtualTime;
return this;
}
/**
* The virtual timestamp on the test clock. This will be of the form `2006-01-02T15:04:05Z`.
* @return virtualTime
**/
@ApiModelProperty(required = true, value = "The virtual timestamp on the test clock. This will be of the form `2006-01-02T15:04:05Z`.")
public OffsetDateTime getVirtualTime() {
return virtualTime;
}
public void setVirtualTime(OffsetDateTime virtualTime) {
this.virtualTime = virtualTime;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferTestClock transferTestClock = (TransferTestClock) o;
return Objects.equals(this.testClockId, transferTestClock.testClockId) &&
Objects.equals(this.virtualTime, transferTestClock.virtualTime);
}
@Override
public int hashCode() {
return Objects.hash(testClockId, virtualTime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferTestClock {\n");
sb.append(" testClockId: ").append(toIndentedString(testClockId)).append("\n");
sb.append(" virtualTime: ").append(toIndentedString(virtualTime)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/Role.java | src/main/java/com/plaid/client/model/Role.java | /*
* 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.680.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 com.plaid.client.model.RoleDetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ADocumentation not found in the MISMO model viewer and not provided by Freddie Mac.
*/
@ApiModel(description = "ADocumentation not found in the MISMO model viewer and not provided by Freddie Mac.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Role {
public static final String SERIALIZED_NAME_R_O_L_E_D_E_T_A_I_L = "ROLE_DETAIL";
@SerializedName(SERIALIZED_NAME_R_O_L_E_D_E_T_A_I_L)
private RoleDetail ROLE_DETAIL;
public Role ROLE_DETAIL(RoleDetail ROLE_DETAIL) {
this.ROLE_DETAIL = ROLE_DETAIL;
return this;
}
/**
* Get ROLE_DETAIL
* @return ROLE_DETAIL
**/
@ApiModelProperty(required = true, value = "")
public RoleDetail getROLEDETAIL() {
return ROLE_DETAIL;
}
public void setROLEDETAIL(RoleDetail ROLE_DETAIL) {
this.ROLE_DETAIL = ROLE_DETAIL;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Role role = (Role) o;
return Objects.equals(this.ROLE_DETAIL, role.ROLE_DETAIL);
}
@Override
public int hashCode() {
return Objects.hash(ROLE_DETAIL);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Role {\n");
sb.append(" ROLE_DETAIL: ").append(toIndentedString(ROLE_DETAIL)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/NameMatchScore.java | src/main/java/com/plaid/client/model/NameMatchScore.java | /*
* 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.680.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;
/**
* Score found by matching name provided by the API with the name on the account at the financial institution. If the account contains multiple owners, the maximum match score is filled.
*/
@ApiModel(description = "Score found by matching name provided by the API with the name on the account at the financial institution. If the account contains multiple owners, the maximum match score is filled.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class NameMatchScore {
public static final String SERIALIZED_NAME_SCORE = "score";
@SerializedName(SERIALIZED_NAME_SCORE)
private Integer score;
public static final String SERIALIZED_NAME_IS_FIRST_NAME_OR_LAST_NAME_MATCH = "is_first_name_or_last_name_match";
@SerializedName(SERIALIZED_NAME_IS_FIRST_NAME_OR_LAST_NAME_MATCH)
private Boolean isFirstNameOrLastNameMatch;
public static final String SERIALIZED_NAME_IS_NICKNAME_MATCH = "is_nickname_match";
@SerializedName(SERIALIZED_NAME_IS_NICKNAME_MATCH)
private Boolean isNicknameMatch;
public static final String SERIALIZED_NAME_IS_BUSINESS_NAME_DETECTED = "is_business_name_detected";
@SerializedName(SERIALIZED_NAME_IS_BUSINESS_NAME_DETECTED)
private Boolean isBusinessNameDetected;
public NameMatchScore score(Integer score) {
this.score = score;
return this;
}
/**
* Match score for name. 100 is a perfect score, 99-85 means a strong match, 84-70 is a partial match, any score less than 70 is a mismatch. Typically, the match threshold should be set to a score of 70 or higher. If the name is missing from either the API or financial institution, this is null.
* @return score
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Match score for name. 100 is a perfect score, 99-85 means a strong match, 84-70 is a partial match, any score less than 70 is a mismatch. Typically, the match threshold should be set to a score of 70 or higher. If the name is missing from either the API or financial institution, this is null.")
public Integer getScore() {
return score;
}
public void setScore(Integer score) {
this.score = score;
}
public NameMatchScore isFirstNameOrLastNameMatch(Boolean isFirstNameOrLastNameMatch) {
this.isFirstNameOrLastNameMatch = isFirstNameOrLastNameMatch;
return this;
}
/**
* first or last name completely matched, likely a family member
* @return isFirstNameOrLastNameMatch
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "first or last name completely matched, likely a family member")
public Boolean getIsFirstNameOrLastNameMatch() {
return isFirstNameOrLastNameMatch;
}
public void setIsFirstNameOrLastNameMatch(Boolean isFirstNameOrLastNameMatch) {
this.isFirstNameOrLastNameMatch = isFirstNameOrLastNameMatch;
}
public NameMatchScore isNicknameMatch(Boolean isNicknameMatch) {
this.isNicknameMatch = isNicknameMatch;
return this;
}
/**
* nickname matched, example Jennifer and Jenn.
* @return isNicknameMatch
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "nickname matched, example Jennifer and Jenn.")
public Boolean getIsNicknameMatch() {
return isNicknameMatch;
}
public void setIsNicknameMatch(Boolean isNicknameMatch) {
this.isNicknameMatch = isNicknameMatch;
}
public NameMatchScore isBusinessNameDetected(Boolean isBusinessNameDetected) {
this.isBusinessNameDetected = isBusinessNameDetected;
return this;
}
/**
* Is `true` if the name on either of the names that was matched for the score contained strings indicative of a business name, such as \"CORP\", \"LLC\", \"INC\", or \"LTD\". A `true` result generally indicates that an account's name is a business name. However, a `false` result does not mean the account name is not a business name, as some businesses do not use these strings in the names used for their financial institution accounts.
* @return isBusinessNameDetected
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Is `true` if the name on either of the names that was matched for the score contained strings indicative of a business name, such as \"CORP\", \"LLC\", \"INC\", or \"LTD\". A `true` result generally indicates that an account's name is a business name. However, a `false` result does not mean the account name is not a business name, as some businesses do not use these strings in the names used for their financial institution accounts.")
public Boolean getIsBusinessNameDetected() {
return isBusinessNameDetected;
}
public void setIsBusinessNameDetected(Boolean isBusinessNameDetected) {
this.isBusinessNameDetected = isBusinessNameDetected;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NameMatchScore nameMatchScore = (NameMatchScore) o;
return Objects.equals(this.score, nameMatchScore.score) &&
Objects.equals(this.isFirstNameOrLastNameMatch, nameMatchScore.isFirstNameOrLastNameMatch) &&
Objects.equals(this.isNicknameMatch, nameMatchScore.isNicknameMatch) &&
Objects.equals(this.isBusinessNameDetected, nameMatchScore.isBusinessNameDetected);
}
@Override
public int hashCode() {
return Objects.hash(score, isFirstNameOrLastNameMatch, isNicknameMatch, isBusinessNameDetected);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NameMatchScore {\n");
sb.append(" score: ").append(toIndentedString(score)).append("\n");
sb.append(" isFirstNameOrLastNameMatch: ").append(toIndentedString(isFirstNameOrLastNameMatch)).append("\n");
sb.append(" isNicknameMatch: ").append(toIndentedString(isNicknameMatch)).append("\n");
sb.append(" isBusinessNameDetected: ").append(toIndentedString(isBusinessNameDetected)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferSweepListRequest.java | src/main/java/com/plaid/client/model/TransferSweepListRequest.java | /*
* 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.680.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 com.plaid.client.model.SweepStatus;
import com.plaid.client.model.SweepTrigger;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
/**
* Defines the request schema for `/transfer/sweep/list`
*/
@ApiModel(description = "Defines the request schema for `/transfer/sweep/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferSweepListRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_START_DATE = "start_date";
@SerializedName(SERIALIZED_NAME_START_DATE)
private OffsetDateTime startDate;
public static final String SERIALIZED_NAME_END_DATE = "end_date";
@SerializedName(SERIALIZED_NAME_END_DATE)
private OffsetDateTime endDate;
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
private Integer count = 25;
public static final String SERIALIZED_NAME_OFFSET = "offset";
@SerializedName(SERIALIZED_NAME_OFFSET)
private Integer offset = 0;
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
private String amount;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private SweepStatus status;
public static final String SERIALIZED_NAME_ORIGINATOR_CLIENT_ID = "originator_client_id";
@SerializedName(SERIALIZED_NAME_ORIGINATOR_CLIENT_ID)
private String originatorClientId;
public static final String SERIALIZED_NAME_FUNDING_ACCOUNT_ID = "funding_account_id";
@SerializedName(SERIALIZED_NAME_FUNDING_ACCOUNT_ID)
private String fundingAccountId;
public static final String SERIALIZED_NAME_TRANSFER_ID = "transfer_id";
@SerializedName(SERIALIZED_NAME_TRANSFER_ID)
private String transferId;
public static final String SERIALIZED_NAME_TRIGGER = "trigger";
@SerializedName(SERIALIZED_NAME_TRIGGER)
private SweepTrigger trigger;
public TransferSweepListRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public TransferSweepListRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public TransferSweepListRequest startDate(OffsetDateTime startDate) {
this.startDate = startDate;
return this;
}
/**
* The start `created` datetime of sweeps to return (RFC 3339 format).
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The start `created` datetime of sweeps to return (RFC 3339 format).")
public OffsetDateTime getStartDate() {
return startDate;
}
public void setStartDate(OffsetDateTime startDate) {
this.startDate = startDate;
}
public TransferSweepListRequest endDate(OffsetDateTime endDate) {
this.endDate = endDate;
return this;
}
/**
* The end `created` datetime of sweeps to return (RFC 3339 format).
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The end `created` datetime of sweeps to return (RFC 3339 format).")
public OffsetDateTime getEndDate() {
return endDate;
}
public void setEndDate(OffsetDateTime endDate) {
this.endDate = endDate;
}
public TransferSweepListRequest count(Integer count) {
this.count = count;
return this;
}
/**
* The maximum number of sweeps to return.
* minimum: 1
* maximum: 25
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The maximum number of sweeps to return.")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public TransferSweepListRequest offset(Integer offset) {
this.offset = offset;
return this;
}
/**
* The number of sweeps to skip before returning results.
* minimum: 0
* @return offset
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The number of sweeps to skip before returning results.")
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public TransferSweepListRequest amount(String amount) {
this.amount = amount;
return this;
}
/**
* Filter sweeps to only those with the specified amount.
* @return amount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Filter sweeps to only those with the specified amount.")
public String getAmount() {
return amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public TransferSweepListRequest status(SweepStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SweepStatus getStatus() {
return status;
}
public void setStatus(SweepStatus status) {
this.status = status;
}
public TransferSweepListRequest originatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
return this;
}
/**
* Filter sweeps to only those with the specified originator client.
* @return originatorClientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Filter sweeps to only those with the specified originator client.")
public String getOriginatorClientId() {
return originatorClientId;
}
public void setOriginatorClientId(String originatorClientId) {
this.originatorClientId = originatorClientId;
}
public TransferSweepListRequest fundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
return this;
}
/**
* Filter sweeps to only those with the specified `funding_account_id`.
* @return fundingAccountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Filter sweeps to only those with the specified `funding_account_id`.")
public String getFundingAccountId() {
return fundingAccountId;
}
public void setFundingAccountId(String fundingAccountId) {
this.fundingAccountId = fundingAccountId;
}
public TransferSweepListRequest transferId(String transferId) {
this.transferId = transferId;
return this;
}
/**
* Filter sweeps to only those with the included `transfer_id`.
* @return transferId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Filter sweeps to only those with the included `transfer_id`.")
public String getTransferId() {
return transferId;
}
public void setTransferId(String transferId) {
this.transferId = transferId;
}
public TransferSweepListRequest trigger(SweepTrigger trigger) {
this.trigger = trigger;
return this;
}
/**
* Get trigger
* @return trigger
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public SweepTrigger getTrigger() {
return trigger;
}
public void setTrigger(SweepTrigger trigger) {
this.trigger = trigger;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransferSweepListRequest transferSweepListRequest = (TransferSweepListRequest) o;
return Objects.equals(this.clientId, transferSweepListRequest.clientId) &&
Objects.equals(this.secret, transferSweepListRequest.secret) &&
Objects.equals(this.startDate, transferSweepListRequest.startDate) &&
Objects.equals(this.endDate, transferSweepListRequest.endDate) &&
Objects.equals(this.count, transferSweepListRequest.count) &&
Objects.equals(this.offset, transferSweepListRequest.offset) &&
Objects.equals(this.amount, transferSweepListRequest.amount) &&
Objects.equals(this.status, transferSweepListRequest.status) &&
Objects.equals(this.originatorClientId, transferSweepListRequest.originatorClientId) &&
Objects.equals(this.fundingAccountId, transferSweepListRequest.fundingAccountId) &&
Objects.equals(this.transferId, transferSweepListRequest.transferId) &&
Objects.equals(this.trigger, transferSweepListRequest.trigger);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, startDate, endDate, count, offset, amount, status, originatorClientId, fundingAccountId, transferId, trigger);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransferSweepListRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" offset: ").append(toIndentedString(offset)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" originatorClientId: ").append(toIndentedString(originatorClientId)).append("\n");
sb.append(" fundingAccountId: ").append(toIndentedString(fundingAccountId)).append("\n");
sb.append(" transferId: ").append(toIndentedString(transferId)).append("\n");
sb.append(" trigger: ").append(toIndentedString(trigger)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CraPartnerInsightsErrorWebhook.java | src/main/java/com/plaid/client/model/CraPartnerInsightsErrorWebhook.java | /*
* 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.680.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 com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when a partner insights report has failed to generate
*/
@ApiModel(description = "Fired when a partner insights report has failed to generate")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraPartnerInsightsErrorWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_USER_ID = "user_id";
@SerializedName(SERIALIZED_NAME_USER_ID)
private String userId;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public CraPartnerInsightsErrorWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `CRA_INSIGHTS`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`CRA_INSIGHTS`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public CraPartnerInsightsErrorWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `PARTNER_INSIGHTS_ERROR`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`PARTNER_INSIGHTS_ERROR`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public CraPartnerInsightsErrorWebhook userId(String userId) {
this.userId = userId;
return this;
}
/**
* The `user_id` corresponding to the user the webhook has fired for.
* @return userId
**/
@ApiModelProperty(required = true, value = "The `user_id` corresponding to the user the webhook has fired for.")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public CraPartnerInsightsErrorWebhook environment(WebhookEnvironmentValues environment) {
this.environment = environment;
return this;
}
/**
* Get environment
* @return environment
**/
@ApiModelProperty(required = true, value = "")
public WebhookEnvironmentValues getEnvironment() {
return environment;
}
public void setEnvironment(WebhookEnvironmentValues environment) {
this.environment = environment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CraPartnerInsightsErrorWebhook craPartnerInsightsErrorWebhook = (CraPartnerInsightsErrorWebhook) o;
return Objects.equals(this.webhookType, craPartnerInsightsErrorWebhook.webhookType) &&
Objects.equals(this.webhookCode, craPartnerInsightsErrorWebhook.webhookCode) &&
Objects.equals(this.userId, craPartnerInsightsErrorWebhook.userId) &&
Objects.equals(this.environment, craPartnerInsightsErrorWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, userId, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CraPartnerInsightsErrorWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxTransferTestClockListResponse.java | src/main/java/com/plaid/client/model/SandboxTransferTestClockListResponse.java | /*
* 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.680.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 com.plaid.client.model.TransferTestClock;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Defines the response schema for `/sandbox/transfer/test_clock/list`
*/
@ApiModel(description = "Defines the response schema for `/sandbox/transfer/test_clock/list`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxTransferTestClockListResponse {
public static final String SERIALIZED_NAME_TEST_CLOCKS = "test_clocks";
@SerializedName(SERIALIZED_NAME_TEST_CLOCKS)
private List<TransferTestClock> testClocks = new ArrayList<>();
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxTransferTestClockListResponse testClocks(List<TransferTestClock> testClocks) {
this.testClocks = testClocks;
return this;
}
public SandboxTransferTestClockListResponse addTestClocksItem(TransferTestClock testClocksItem) {
this.testClocks.add(testClocksItem);
return this;
}
/**
* Get testClocks
* @return testClocks
**/
@ApiModelProperty(required = true, value = "")
public List<TransferTestClock> getTestClocks() {
return testClocks;
}
public void setTestClocks(List<TransferTestClock> testClocks) {
this.testClocks = testClocks;
}
public SandboxTransferTestClockListResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxTransferTestClockListResponse sandboxTransferTestClockListResponse = (SandboxTransferTestClockListResponse) o;
return Objects.equals(this.testClocks, sandboxTransferTestClockListResponse.testClocks) &&
Objects.equals(this.requestId, sandboxTransferTestClockListResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(testClocks, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransferTestClockListResponse {\n");
sb.append(" testClocks: ").append(toIndentedString(testClocks)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/IncomeVerificationDocumentsDownloadRequest.java | src/main/java/com/plaid/client/model/IncomeVerificationDocumentsDownloadRequest.java | /*
* 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.680.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;
/**
* IncomeVerificationDocumentsDownloadRequest defines the request schema for `/income/verification/documents/download`.
*/
@ApiModel(description = "IncomeVerificationDocumentsDownloadRequest defines the request schema for `/income/verification/documents/download`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class IncomeVerificationDocumentsDownloadRequest {
public static final String SERIALIZED_NAME_CLIENT_ID = "client_id";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_SECRET = "secret";
@SerializedName(SERIALIZED_NAME_SECRET)
private String secret;
public static final String SERIALIZED_NAME_INCOME_VERIFICATION_ID = "income_verification_id";
@SerializedName(SERIALIZED_NAME_INCOME_VERIFICATION_ID)
private String incomeVerificationId;
public static final String SERIALIZED_NAME_ACCESS_TOKEN = "access_token";
@SerializedName(SERIALIZED_NAME_ACCESS_TOKEN)
private String accessToken;
public static final String SERIALIZED_NAME_DOCUMENT_ID = "document_id";
@SerializedName(SERIALIZED_NAME_DOCUMENT_ID)
private String documentId;
public IncomeVerificationDocumentsDownloadRequest clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
* @return clientId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public IncomeVerificationDocumentsDownloadRequest secret(String secret) {
this.secret = secret;
return this;
}
/**
* Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
* @return secret
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.")
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public IncomeVerificationDocumentsDownloadRequest incomeVerificationId(String incomeVerificationId) {
this.incomeVerificationId = incomeVerificationId;
return this;
}
/**
* The ID of the verification.
* @return incomeVerificationId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of the verification.")
public String getIncomeVerificationId() {
return incomeVerificationId;
}
public void setIncomeVerificationId(String incomeVerificationId) {
this.incomeVerificationId = incomeVerificationId;
}
public IncomeVerificationDocumentsDownloadRequest accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* The access token associated with the Item data is being requested for.
* @return accessToken
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The access token associated with the Item data is being requested for.")
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public IncomeVerificationDocumentsDownloadRequest documentId(String documentId) {
this.documentId = documentId;
return this;
}
/**
* The document ID to download. If passed, a single document will be returned in the resulting zip file, rather than all document
* @return documentId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The document ID to download. If passed, a single document will be returned in the resulting zip file, rather than all document")
public String getDocumentId() {
return documentId;
}
public void setDocumentId(String documentId) {
this.documentId = documentId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IncomeVerificationDocumentsDownloadRequest incomeVerificationDocumentsDownloadRequest = (IncomeVerificationDocumentsDownloadRequest) o;
return Objects.equals(this.clientId, incomeVerificationDocumentsDownloadRequest.clientId) &&
Objects.equals(this.secret, incomeVerificationDocumentsDownloadRequest.secret) &&
Objects.equals(this.incomeVerificationId, incomeVerificationDocumentsDownloadRequest.incomeVerificationId) &&
Objects.equals(this.accessToken, incomeVerificationDocumentsDownloadRequest.accessToken) &&
Objects.equals(this.documentId, incomeVerificationDocumentsDownloadRequest.documentId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, secret, incomeVerificationId, accessToken, documentId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IncomeVerificationDocumentsDownloadRequest {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" secret: ").append(toIndentedString(secret)).append("\n");
sb.append(" incomeVerificationId: ").append(toIndentedString(incomeVerificationId)).append("\n");
sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n");
sb.append(" documentId: ").append(toIndentedString(documentId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/TransferAuthorizationDecision.java | src/main/java/com/plaid/client/model/TransferAuthorizationDecision.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* A decision regarding the proposed transfer. `approved` – The proposed transfer has received the end user's consent and has been approved for processing by Plaid. The `decision_rationale` field is set if Plaid was unable to fetch the account information. You may proceed with the transfer, but further review is recommended. Refer to the `code` field in the `decision_rationale` object for details. `declined` – Plaid reviewed the proposed transfer and declined processing. Refer to the `code` field in the `decision_rationale` object for details. `user_action_required` – An action is required before Plaid can assess the transfer risk and make a decision. The most common scenario is to update authentication for an Item. To complete the required action, initialize Link by setting `transfer.authorization_id` in the request of `/link/token/create`. After Link flow is completed, you may re-attempt the authorization request. For `guarantee` requests, `approved` indicates the transfer is eligible for Plaid's guarantee, and `declined` indicates Plaid will not provide guarantee coverage for the transfer.
*/
@JsonAdapter(TransferAuthorizationDecision.Adapter.class)
public enum TransferAuthorizationDecision {
APPROVED("approved"),
DECLINED("declined"),
USER_ACTION_REQUIRED("user_action_required"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
TransferAuthorizationDecision(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static TransferAuthorizationDecision fromValue(String value) {
for (TransferAuthorizationDecision b : TransferAuthorizationDecision.values()) {
if (b.value.equals(value)) {
return b;
}
}
return TransferAuthorizationDecision.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<TransferAuthorizationDecision> {
@Override
public void write(final JsonWriter jsonWriter, final TransferAuthorizationDecision enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public TransferAuthorizationDecision read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return TransferAuthorizationDecision.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PendingDisconnectWebhook.java | src/main/java/com/plaid/client/model/PendingDisconnectWebhook.java | /*
* 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.680.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 com.plaid.client.model.PendingDisconnectWebhookReason;
import com.plaid.client.model.WebhookEnvironmentValues;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Fired when an Item is expected to be disconnected. The webhook will currently be fired 7 days before the existing Item is scheduled for disconnection. This can be resolved by having the user go through Link’s [update mode](http://plaid.com/docs/link/update-mode). Currently, this webhook is fired only for US or Canadian institutions; in the UK or EU, you should continue to listed for the [`PENDING_EXPIRATION`](https://plaid.com/docs/api/items/#pending_expiration) webhook instead.
*/
@ApiModel(description = "Fired when an Item is expected to be disconnected. The webhook will currently be fired 7 days before the existing Item is scheduled for disconnection. This can be resolved by having the user go through Link’s [update mode](http://plaid.com/docs/link/update-mode). Currently, this webhook is fired only for US or Canadian institutions; in the UK or EU, you should continue to listed for the [`PENDING_EXPIRATION`](https://plaid.com/docs/api/items/#pending_expiration) webhook instead.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PendingDisconnectWebhook {
public static final String SERIALIZED_NAME_WEBHOOK_TYPE = "webhook_type";
@SerializedName(SERIALIZED_NAME_WEBHOOK_TYPE)
private String webhookType;
public static final String SERIALIZED_NAME_WEBHOOK_CODE = "webhook_code";
@SerializedName(SERIALIZED_NAME_WEBHOOK_CODE)
private String webhookCode;
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public static final String SERIALIZED_NAME_REASON = "reason";
@SerializedName(SERIALIZED_NAME_REASON)
private PendingDisconnectWebhookReason reason;
public static final String SERIALIZED_NAME_ENVIRONMENT = "environment";
@SerializedName(SERIALIZED_NAME_ENVIRONMENT)
private WebhookEnvironmentValues environment;
public PendingDisconnectWebhook webhookType(String webhookType) {
this.webhookType = webhookType;
return this;
}
/**
* `ITEM`
* @return webhookType
**/
@ApiModelProperty(required = true, value = "`ITEM`")
public String getWebhookType() {
return webhookType;
}
public void setWebhookType(String webhookType) {
this.webhookType = webhookType;
}
public PendingDisconnectWebhook webhookCode(String webhookCode) {
this.webhookCode = webhookCode;
return this;
}
/**
* `PENDING_DISCONNECT`
* @return webhookCode
**/
@ApiModelProperty(required = true, value = "`PENDING_DISCONNECT`")
public String getWebhookCode() {
return webhookCode;
}
public void setWebhookCode(String webhookCode) {
this.webhookCode = webhookCode;
}
public PendingDisconnectWebhook itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The `item_id` of the Item associated with this webhook, warning, or error
* @return itemId
**/
@ApiModelProperty(required = true, value = "The `item_id` of the Item associated with this webhook, warning, or error")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public PendingDisconnectWebhook reason(PendingDisconnectWebhookReason reason) {
this.reason = reason;
return this;
}
/**
* Get reason
* @return reason
**/
@ApiModelProperty(required = true, value = "")
public PendingDisconnectWebhookReason getReason() {
return reason;
}
public void setReason(PendingDisconnectWebhookReason reason) {
this.reason = reason;
}
public PendingDisconnectWebhook environment(WebhookEnvironmentValues environment) {
this.environment = environment;
return this;
}
/**
* Get environment
* @return environment
**/
@ApiModelProperty(required = true, value = "")
public WebhookEnvironmentValues getEnvironment() {
return environment;
}
public void setEnvironment(WebhookEnvironmentValues environment) {
this.environment = environment;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PendingDisconnectWebhook pendingDisconnectWebhook = (PendingDisconnectWebhook) o;
return Objects.equals(this.webhookType, pendingDisconnectWebhook.webhookType) &&
Objects.equals(this.webhookCode, pendingDisconnectWebhook.webhookCode) &&
Objects.equals(this.itemId, pendingDisconnectWebhook.itemId) &&
Objects.equals(this.reason, pendingDisconnectWebhook.reason) &&
Objects.equals(this.environment, pendingDisconnectWebhook.environment);
}
@Override
public int hashCode() {
return Objects.hash(webhookType, webhookCode, itemId, reason, environment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PendingDisconnectWebhook {\n");
sb.append(" webhookType: ").append(toIndentedString(webhookType)).append("\n");
sb.append(" webhookCode: ").append(toIndentedString(webhookCode)).append("\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n");
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ItemStatusInvestments.java | src/main/java/com/plaid/client/model/ItemStatusInvestments.java | /*
* 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.680.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.time.OffsetDateTime;
/**
* Information about the last successful and failed investments update for the Item.
*/
@ApiModel(description = "Information about the last successful and failed investments update for the Item.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ItemStatusInvestments {
public static final String SERIALIZED_NAME_LAST_SUCCESSFUL_UPDATE = "last_successful_update";
@SerializedName(SERIALIZED_NAME_LAST_SUCCESSFUL_UPDATE)
private OffsetDateTime lastSuccessfulUpdate;
public static final String SERIALIZED_NAME_LAST_FAILED_UPDATE = "last_failed_update";
@SerializedName(SERIALIZED_NAME_LAST_FAILED_UPDATE)
private OffsetDateTime lastFailedUpdate;
public ItemStatusInvestments lastSuccessfulUpdate(OffsetDateTime lastSuccessfulUpdate) {
this.lastSuccessfulUpdate = lastSuccessfulUpdate;
return this;
}
/**
* [ISO 8601](https://wikipedia.org/wiki/ISO_8601) timestamp of the last successful investments update for the Item. The status will update each time Plaid successfully connects with the institution, regardless of whether any new data is available in the update.
* @return lastSuccessfulUpdate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "[ISO 8601](https://wikipedia.org/wiki/ISO_8601) timestamp of the last successful investments update for the Item. The status will update each time Plaid successfully connects with the institution, regardless of whether any new data is available in the update.")
public OffsetDateTime getLastSuccessfulUpdate() {
return lastSuccessfulUpdate;
}
public void setLastSuccessfulUpdate(OffsetDateTime lastSuccessfulUpdate) {
this.lastSuccessfulUpdate = lastSuccessfulUpdate;
}
public ItemStatusInvestments lastFailedUpdate(OffsetDateTime lastFailedUpdate) {
this.lastFailedUpdate = lastFailedUpdate;
return this;
}
/**
* [ISO 8601](https://wikipedia.org/wiki/ISO_8601) timestamp of the last failed investments update for the Item. The status will update each time Plaid fails an attempt to connect with the institution, regardless of whether any new data is available in the update.
* @return lastFailedUpdate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "[ISO 8601](https://wikipedia.org/wiki/ISO_8601) timestamp of the last failed investments update for the Item. The status will update each time Plaid fails an attempt to connect with the institution, regardless of whether any new data is available in the update.")
public OffsetDateTime getLastFailedUpdate() {
return lastFailedUpdate;
}
public void setLastFailedUpdate(OffsetDateTime lastFailedUpdate) {
this.lastFailedUpdate = lastFailedUpdate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ItemStatusInvestments itemStatusInvestments = (ItemStatusInvestments) o;
return Objects.equals(this.lastSuccessfulUpdate, itemStatusInvestments.lastSuccessfulUpdate) &&
Objects.equals(this.lastFailedUpdate, itemStatusInvestments.lastFailedUpdate);
}
@Override
public int hashCode() {
return Objects.hash(lastSuccessfulUpdate, lastFailedUpdate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ItemStatusInvestments {\n");
sb.append(" lastSuccessfulUpdate: ").append(toIndentedString(lastSuccessfulUpdate)).append("\n");
sb.append(" lastFailedUpdate: ").append(toIndentedString(lastFailedUpdate)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SelfieCheckSelfie.java | src/main/java/com/plaid/client/model/SelfieCheckSelfie.java | /*
* 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.680.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 com.plaid.client.model.SelfieAnalysis;
import com.plaid.client.model.SelfieCapture;
import com.plaid.client.model.SelfieStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Captures and analysis from a user's selfie.
*/
@ApiModel(description = "Captures and analysis from a user's selfie.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SelfieCheckSelfie {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private SelfieStatus status;
public static final String SERIALIZED_NAME_ATTEMPT = "attempt";
@SerializedName(SERIALIZED_NAME_ATTEMPT)
private Integer attempt;
public static final String SERIALIZED_NAME_CAPTURE = "capture";
@SerializedName(SERIALIZED_NAME_CAPTURE)
private SelfieCapture capture;
public static final String SERIALIZED_NAME_ANALYSIS = "analysis";
@SerializedName(SERIALIZED_NAME_ANALYSIS)
private SelfieAnalysis analysis;
public SelfieCheckSelfie status(SelfieStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public SelfieStatus getStatus() {
return status;
}
public void setStatus(SelfieStatus status) {
this.status = status;
}
public SelfieCheckSelfie attempt(Integer attempt) {
this.attempt = attempt;
return this;
}
/**
* The `attempt` field begins with 1 and increments with each subsequent selfie upload.
* @return attempt
**/
@ApiModelProperty(example = "1", required = true, value = "The `attempt` field begins with 1 and increments with each subsequent selfie upload.")
public Integer getAttempt() {
return attempt;
}
public void setAttempt(Integer attempt) {
this.attempt = attempt;
}
public SelfieCheckSelfie capture(SelfieCapture capture) {
this.capture = capture;
return this;
}
/**
* Get capture
* @return capture
**/
@ApiModelProperty(required = true, value = "")
public SelfieCapture getCapture() {
return capture;
}
public void setCapture(SelfieCapture capture) {
this.capture = capture;
}
public SelfieCheckSelfie analysis(SelfieAnalysis analysis) {
this.analysis = analysis;
return this;
}
/**
* Get analysis
* @return analysis
**/
@ApiModelProperty(required = true, value = "")
public SelfieAnalysis getAnalysis() {
return analysis;
}
public void setAnalysis(SelfieAnalysis analysis) {
this.analysis = analysis;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SelfieCheckSelfie selfieCheckSelfie = (SelfieCheckSelfie) o;
return Objects.equals(this.status, selfieCheckSelfie.status) &&
Objects.equals(this.attempt, selfieCheckSelfie.attempt) &&
Objects.equals(this.capture, selfieCheckSelfie.capture) &&
Objects.equals(this.analysis, selfieCheckSelfie.analysis);
}
@Override
public int hashCode() {
return Objects.hash(status, attempt, capture, analysis);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SelfieCheckSelfie {\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" attempt: ").append(toIndentedString(attempt)).append("\n");
sb.append(" capture: ").append(toIndentedString(capture)).append("\n");
sb.append(" analysis: ").append(toIndentedString(analysis)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/DashboardUser.java | src/main/java/com/plaid/client/model/DashboardUser.java | /*
* 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.680.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 com.plaid.client.model.DashboardUserStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Account information associated with a team member with access to the Plaid dashboard.
*/
@ApiModel(description = "Account information associated with a team member with access to the Plaid dashboard.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class DashboardUser {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private java.sql.Timestamp createdAt;
public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "email_address";
@SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS)
private String emailAddress;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private DashboardUserStatus status;
public DashboardUser id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.
* @return id
**/
@ApiModelProperty(example = "54350110fedcbaf01234ffee", required = true, value = "ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public DashboardUser createdAt(java.sql.Timestamp createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Get createdAt
* @return createdAt
**/
@ApiModelProperty(required = true, value = "")
public java.sql.Timestamp getCreatedAt() {
return createdAt;
}
public void setCreatedAt(java.sql.Timestamp createdAt) {
this.createdAt = createdAt;
}
public DashboardUser emailAddress(String emailAddress) {
this.emailAddress = emailAddress;
return this;
}
/**
* A valid email address. Must not have leading or trailing spaces and address must be RFC compliant. For more information, see [RFC 3696](https://datatracker.ietf.org/doc/html/rfc3696).
* @return emailAddress
**/
@ApiModelProperty(example = "user@example.com", required = true, value = "A valid email address. Must not have leading or trailing spaces and address must be RFC compliant. For more information, see [RFC 3696](https://datatracker.ietf.org/doc/html/rfc3696).")
public String getEmailAddress() {
return emailAddress;
}
public void setEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
}
public DashboardUser status(DashboardUserStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public DashboardUserStatus getStatus() {
return status;
}
public void setStatus(DashboardUserStatus status) {
this.status = status;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DashboardUser dashboardUser = (DashboardUser) o;
return Objects.equals(this.id, dashboardUser.id) &&
Objects.equals(this.createdAt, dashboardUser.createdAt) &&
Objects.equals(this.emailAddress, dashboardUser.emailAddress) &&
Objects.equals(this.status, dashboardUser.status);
}
@Override
public int hashCode() {
return Objects.hash(id, createdAt, emailAddress, status);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DashboardUser {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/ProcessorInvestmentsTransactionsGetResponse.java | src/main/java/com/plaid/client/model/ProcessorInvestmentsTransactionsGetResponse.java | /*
* 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.680.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 com.plaid.client.model.AccountBase;
import com.plaid.client.model.InvestmentTransaction;
import com.plaid.client.model.Security;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* ProcessorInvestmentsTransactionsGetRequest defines the response schema for `/processor/investments/transactions/get`
*/
@ApiModel(description = "ProcessorInvestmentsTransactionsGetRequest defines the response schema for `/processor/investments/transactions/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ProcessorInvestmentsTransactionsGetResponse {
public static final String SERIALIZED_NAME_ACCOUNT = "account";
@SerializedName(SERIALIZED_NAME_ACCOUNT)
private AccountBase account;
public static final String SERIALIZED_NAME_INVESTMENT_TRANSACTIONS = "investment_transactions";
@SerializedName(SERIALIZED_NAME_INVESTMENT_TRANSACTIONS)
private List<InvestmentTransaction> investmentTransactions = new ArrayList<>();
public static final String SERIALIZED_NAME_SECURITIES = "securities";
@SerializedName(SERIALIZED_NAME_SECURITIES)
private List<Security> securities = new ArrayList<>();
public static final String SERIALIZED_NAME_TOTAL_INVESTMENT_TRANSACTIONS = "total_investment_transactions";
@SerializedName(SERIALIZED_NAME_TOTAL_INVESTMENT_TRANSACTIONS)
private Integer totalInvestmentTransactions;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public static final String SERIALIZED_NAME_IS_INVESTMENTS_FALLBACK_ITEM = "is_investments_fallback_item";
@SerializedName(SERIALIZED_NAME_IS_INVESTMENTS_FALLBACK_ITEM)
private Boolean isInvestmentsFallbackItem;
public ProcessorInvestmentsTransactionsGetResponse account(AccountBase account) {
this.account = account;
return this;
}
/**
* Get account
* @return account
**/
@ApiModelProperty(required = true, value = "")
public AccountBase getAccount() {
return account;
}
public void setAccount(AccountBase account) {
this.account = account;
}
public ProcessorInvestmentsTransactionsGetResponse investmentTransactions(List<InvestmentTransaction> investmentTransactions) {
this.investmentTransactions = investmentTransactions;
return this;
}
public ProcessorInvestmentsTransactionsGetResponse addInvestmentTransactionsItem(InvestmentTransaction investmentTransactionsItem) {
this.investmentTransactions.add(investmentTransactionsItem);
return this;
}
/**
* An array containing investment transactions from the account. Investments transactions are returned in reverse chronological order, with the most recent at the beginning of the array. The maximum number of transactions returned is determined by the `count` parameter.
* @return investmentTransactions
**/
@ApiModelProperty(required = true, value = "An array containing investment transactions from the account. Investments transactions are returned in reverse chronological order, with the most recent at the beginning of the array. The maximum number of transactions returned is determined by the `count` parameter.")
public List<InvestmentTransaction> getInvestmentTransactions() {
return investmentTransactions;
}
public void setInvestmentTransactions(List<InvestmentTransaction> investmentTransactions) {
this.investmentTransactions = investmentTransactions;
}
public ProcessorInvestmentsTransactionsGetResponse securities(List<Security> securities) {
this.securities = securities;
return this;
}
public ProcessorInvestmentsTransactionsGetResponse addSecuritiesItem(Security securitiesItem) {
this.securities.add(securitiesItem);
return this;
}
/**
* All securities for which there is a corresponding transaction being fetched.
* @return securities
**/
@ApiModelProperty(required = true, value = "All securities for which there is a corresponding transaction being fetched.")
public List<Security> getSecurities() {
return securities;
}
public void setSecurities(List<Security> securities) {
this.securities = securities;
}
public ProcessorInvestmentsTransactionsGetResponse totalInvestmentTransactions(Integer totalInvestmentTransactions) {
this.totalInvestmentTransactions = totalInvestmentTransactions;
return this;
}
/**
* The total number of transactions available within the date range specified. If `total_investment_transactions` is larger than the size of the `transactions` array, more transactions are available and can be fetched via manipulating the `offset` parameter.
* @return totalInvestmentTransactions
**/
@ApiModelProperty(required = true, value = "The total number of transactions available within the date range specified. If `total_investment_transactions` is larger than the size of the `transactions` array, more transactions are available and can be fetched via manipulating the `offset` parameter.")
public Integer getTotalInvestmentTransactions() {
return totalInvestmentTransactions;
}
public void setTotalInvestmentTransactions(Integer totalInvestmentTransactions) {
this.totalInvestmentTransactions = totalInvestmentTransactions;
}
public ProcessorInvestmentsTransactionsGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public ProcessorInvestmentsTransactionsGetResponse isInvestmentsFallbackItem(Boolean isInvestmentsFallbackItem) {
this.isInvestmentsFallbackItem = isInvestmentsFallbackItem;
return this;
}
/**
* When true, this field indicates that the Item's portfolio was manually created with the Investments Fallback flow.
* @return isInvestmentsFallbackItem
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "When true, this field indicates that the Item's portfolio was manually created with the Investments Fallback flow.")
public Boolean getIsInvestmentsFallbackItem() {
return isInvestmentsFallbackItem;
}
public void setIsInvestmentsFallbackItem(Boolean isInvestmentsFallbackItem) {
this.isInvestmentsFallbackItem = isInvestmentsFallbackItem;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProcessorInvestmentsTransactionsGetResponse processorInvestmentsTransactionsGetResponse = (ProcessorInvestmentsTransactionsGetResponse) o;
return Objects.equals(this.account, processorInvestmentsTransactionsGetResponse.account) &&
Objects.equals(this.investmentTransactions, processorInvestmentsTransactionsGetResponse.investmentTransactions) &&
Objects.equals(this.securities, processorInvestmentsTransactionsGetResponse.securities) &&
Objects.equals(this.totalInvestmentTransactions, processorInvestmentsTransactionsGetResponse.totalInvestmentTransactions) &&
Objects.equals(this.requestId, processorInvestmentsTransactionsGetResponse.requestId) &&
Objects.equals(this.isInvestmentsFallbackItem, processorInvestmentsTransactionsGetResponse.isInvestmentsFallbackItem);
}
@Override
public int hashCode() {
return Objects.hash(account, investmentTransactions, securities, totalInvestmentTransactions, requestId, isInvestmentsFallbackItem);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ProcessorInvestmentsTransactionsGetResponse {\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append(" investmentTransactions: ").append(toIndentedString(investmentTransactions)).append("\n");
sb.append(" securities: ").append(toIndentedString(securities)).append("\n");
sb.append(" totalInvestmentTransactions: ").append(toIndentedString(totalInvestmentTransactions)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" isInvestmentsFallbackItem: ").append(toIndentedString(isInvestmentsFallbackItem)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/RiskCheckEmailTopLevelDomainIsSuspicious.java | src/main/java/com/plaid/client/model/RiskCheckEmailTopLevelDomainIsSuspicious.java | /*
* 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.680.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 io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* Indicates whether the email address top level domain, which is the last part of the domain, is fraudulent or risky if known. In most cases, a suspicious top level domain is also associated with a disposable or high-risk domain.
*/
@JsonAdapter(RiskCheckEmailTopLevelDomainIsSuspicious.Adapter.class)
public enum RiskCheckEmailTopLevelDomainIsSuspicious {
YES("yes"),
NO("no"),
NO_DATA("no_data"),
// This is returned when an enum is returned from the API that doesn't exist in the OpenAPI file.
// Try upgrading your client-library version.
ENUM_UNKNOWN("ENUM_UNKNOWN");
private String value;
RiskCheckEmailTopLevelDomainIsSuspicious(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static RiskCheckEmailTopLevelDomainIsSuspicious fromValue(String value) {
for (RiskCheckEmailTopLevelDomainIsSuspicious b : RiskCheckEmailTopLevelDomainIsSuspicious.values()) {
if (b.value.equals(value)) {
return b;
}
}
return RiskCheckEmailTopLevelDomainIsSuspicious.ENUM_UNKNOWN;
}
public static class Adapter extends TypeAdapter<RiskCheckEmailTopLevelDomainIsSuspicious> {
@Override
public void write(final JsonWriter jsonWriter, final RiskCheckEmailTopLevelDomainIsSuspicious enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public RiskCheckEmailTopLevelDomainIsSuspicious read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return RiskCheckEmailTopLevelDomainIsSuspicious.fromValue(value);
}
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/AuthVerifyNumbersACH.java | src/main/java/com/plaid/client/model/AuthVerifyNumbersACH.java | /*
* 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.680.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;
/**
* ACH numbers for verification via Database Auth
*/
@ApiModel(description = "ACH numbers for verification via Database Auth")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class AuthVerifyNumbersACH {
public static final String SERIALIZED_NAME_ACCOUNT = "account";
@SerializedName(SERIALIZED_NAME_ACCOUNT)
private String account;
public static final String SERIALIZED_NAME_ROUTING = "routing";
@SerializedName(SERIALIZED_NAME_ROUTING)
private String routing;
public AuthVerifyNumbersACH account(String account) {
this.account = account;
return this;
}
/**
* Account's account number
* @return account
**/
@ApiModelProperty(required = true, value = "Account's account number")
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public AuthVerifyNumbersACH routing(String routing) {
this.routing = routing;
return this;
}
/**
* Account's routing number
* @return routing
**/
@ApiModelProperty(required = true, value = "Account's routing number")
public String getRouting() {
return routing;
}
public void setRouting(String routing) {
this.routing = routing;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AuthVerifyNumbersACH authVerifyNumbersACH = (AuthVerifyNumbersACH) o;
return Objects.equals(this.account, authVerifyNumbersACH.account) &&
Objects.equals(this.routing, authVerifyNumbersACH.routing);
}
@Override
public int hashCode() {
return Objects.hash(account, routing);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AuthVerifyNumbersACH {\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append(" routing: ").append(toIndentedString(routing)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/CreditSessionsGetResponse.java | src/main/java/com/plaid/client/model/CreditSessionsGetResponse.java | /*
* 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.680.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 com.plaid.client.model.CreditSession;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* CreditSessionsGetResponse defines the response schema for `/credit/sessions/get`
*/
@ApiModel(description = "CreditSessionsGetResponse defines the response schema for `/credit/sessions/get`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CreditSessionsGetResponse {
public static final String SERIALIZED_NAME_SESSIONS = "sessions";
@SerializedName(SERIALIZED_NAME_SESSIONS)
private List<CreditSession> sessions = null;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public CreditSessionsGetResponse sessions(List<CreditSession> sessions) {
this.sessions = sessions;
return this;
}
public CreditSessionsGetResponse addSessionsItem(CreditSession sessionsItem) {
if (this.sessions == null) {
this.sessions = new ArrayList<>();
}
this.sessions.add(sessionsItem);
return this;
}
/**
* A list of Link sessions for the user. Sessions will be sorted in reverse chronological order.
* @return sessions
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A list of Link sessions for the user. Sessions will be sorted in reverse chronological order.")
public List<CreditSession> getSessions() {
return sessions;
}
public void setSessions(List<CreditSession> sessions) {
this.sessions = sessions;
}
public CreditSessionsGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreditSessionsGetResponse creditSessionsGetResponse = (CreditSessionsGetResponse) o;
return Objects.equals(this.sessions, creditSessionsGetResponse.sessions) &&
Objects.equals(this.requestId, creditSessionsGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(sessions, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreditSessionsGetResponse {\n");
sb.append(" sessions: ").append(toIndentedString(sessions)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/BeaconUserGetResponse.java | src/main/java/com/plaid/client/model/BeaconUserGetResponse.java | /*
* 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.680.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 com.plaid.client.model.BeaconAuditTrail;
import com.plaid.client.model.BeaconUserData;
import com.plaid.client.model.BeaconUserStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
/**
* A Beacon User represents an end user that has been scanned against the Beacon Network.
*/
@ApiModel(description = "A Beacon User represents an end user that has been scanned against the Beacon Network.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BeaconUserGetResponse {
public static final String SERIALIZED_NAME_ITEM_IDS = "item_ids";
@SerializedName(SERIALIZED_NAME_ITEM_IDS)
private Set<String> itemIds = new LinkedHashSet<>();
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_VERSION = "version";
@SerializedName(SERIALIZED_NAME_VERSION)
private Integer version;
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private java.sql.Timestamp createdAt;
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
private OffsetDateTime updatedAt;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private BeaconUserStatus status;
public static final String SERIALIZED_NAME_PROGRAM_ID = "program_id";
@SerializedName(SERIALIZED_NAME_PROGRAM_ID)
private String programId;
public static final String SERIALIZED_NAME_CLIENT_USER_ID = "client_user_id";
@SerializedName(SERIALIZED_NAME_CLIENT_USER_ID)
private String clientUserId;
public static final String SERIALIZED_NAME_USER = "user";
@SerializedName(SERIALIZED_NAME_USER)
private BeaconUserData user;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private BeaconAuditTrail auditTrail;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public BeaconUserGetResponse itemIds(Set<String> itemIds) {
this.itemIds = itemIds;
return this;
}
public BeaconUserGetResponse addItemIdsItem(String itemIdsItem) {
this.itemIds.add(itemIdsItem);
return this;
}
/**
* An array of Plaid Item IDs corresponding to the Accounts associated with this Beacon User.
* @return itemIds
**/
@ApiModelProperty(example = "[\"515cd85321d3649aecddc015\"]", required = true, value = "An array of Plaid Item IDs corresponding to the Accounts associated with this Beacon User.")
public Set<String> getItemIds() {
return itemIds;
}
public void setItemIds(Set<String> itemIds) {
this.itemIds = itemIds;
}
public BeaconUserGetResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated Beacon User.
* @return id
**/
@ApiModelProperty(example = "becusr_42cF1MNo42r9Xj", required = true, value = "ID of the associated Beacon User.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public BeaconUserGetResponse version(Integer version) {
this.version = version;
return this;
}
/**
* The `version` field begins with 1 and increments each time the user is updated.
* @return version
**/
@ApiModelProperty(example = "1", required = true, value = "The `version` field begins with 1 and increments each time the user is updated.")
public Integer getVersion() {
return version;
}
public void setVersion(Integer version) {
this.version = version;
}
public BeaconUserGetResponse createdAt(java.sql.Timestamp createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Get createdAt
* @return createdAt
**/
@ApiModelProperty(required = true, value = "")
public java.sql.Timestamp getCreatedAt() {
return createdAt;
}
public void setCreatedAt(java.sql.Timestamp createdAt) {
this.createdAt = createdAt;
}
public BeaconUserGetResponse updatedAt(OffsetDateTime updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* An ISO8601 formatted timestamp. This field indicates the last time the resource was modified.
* @return updatedAt
**/
@ApiModelProperty(example = "2020-07-24T03:26:02Z", required = true, value = "An ISO8601 formatted timestamp. This field indicates the last time the resource was modified.")
public OffsetDateTime getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(OffsetDateTime updatedAt) {
this.updatedAt = updatedAt;
}
public BeaconUserGetResponse status(BeaconUserStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public BeaconUserStatus getStatus() {
return status;
}
public void setStatus(BeaconUserStatus status) {
this.status = status;
}
public BeaconUserGetResponse programId(String programId) {
this.programId = programId;
return this;
}
/**
* ID of the associated Beacon Program.
* @return programId
**/
@ApiModelProperty(example = "becprg_11111111111111", required = true, value = "ID of the associated Beacon Program.")
public String getProgramId() {
return programId;
}
public void setProgramId(String programId) {
this.programId = programId;
}
public BeaconUserGetResponse clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.
* @return clientUserId
**/
@ApiModelProperty(example = "your-db-id-3b24110", required = true, value = "A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.")
public String getClientUserId() {
return clientUserId;
}
public void setClientUserId(String clientUserId) {
this.clientUserId = clientUserId;
}
public BeaconUserGetResponse user(BeaconUserData user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
**/
@ApiModelProperty(required = true, value = "")
public BeaconUserData getUser() {
return user;
}
public void setUser(BeaconUserData user) {
this.user = user;
}
public BeaconUserGetResponse auditTrail(BeaconAuditTrail auditTrail) {
this.auditTrail = auditTrail;
return this;
}
/**
* Get auditTrail
* @return auditTrail
**/
@ApiModelProperty(required = true, value = "")
public BeaconAuditTrail getAuditTrail() {
return auditTrail;
}
public void setAuditTrail(BeaconAuditTrail auditTrail) {
this.auditTrail = auditTrail;
}
public BeaconUserGetResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BeaconUserGetResponse beaconUserGetResponse = (BeaconUserGetResponse) o;
return Objects.equals(this.itemIds, beaconUserGetResponse.itemIds) &&
Objects.equals(this.id, beaconUserGetResponse.id) &&
Objects.equals(this.version, beaconUserGetResponse.version) &&
Objects.equals(this.createdAt, beaconUserGetResponse.createdAt) &&
Objects.equals(this.updatedAt, beaconUserGetResponse.updatedAt) &&
Objects.equals(this.status, beaconUserGetResponse.status) &&
Objects.equals(this.programId, beaconUserGetResponse.programId) &&
Objects.equals(this.clientUserId, beaconUserGetResponse.clientUserId) &&
Objects.equals(this.user, beaconUserGetResponse.user) &&
Objects.equals(this.auditTrail, beaconUserGetResponse.auditTrail) &&
Objects.equals(this.requestId, beaconUserGetResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(itemIds, id, version, createdAt, updatedAt, status, programId, clientUserId, user, auditTrail, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BeaconUserGetResponse {\n");
sb.append(" itemIds: ").append(toIndentedString(itemIds)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" programId: ").append(toIndentedString(programId)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/Enrichments.java | src/main/java/com/plaid/client/model/Enrichments.java | /*
* 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.680.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 com.plaid.client.model.Counterparty;
import com.plaid.client.model.Location;
import com.plaid.client.model.PaymentChannel;
import com.plaid.client.model.PersonalFinanceCategory;
import com.plaid.client.model.Recurrence;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A grouping of the Plaid produced transaction enrichment fields.
*/
@ApiModel(description = "A grouping of the Plaid produced transaction enrichment fields.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class Enrichments {
public static final String SERIALIZED_NAME_CHECK_NUMBER = "check_number";
@SerializedName(SERIALIZED_NAME_CHECK_NUMBER)
private String checkNumber;
public static final String SERIALIZED_NAME_COUNTERPARTIES = "counterparties";
@SerializedName(SERIALIZED_NAME_COUNTERPARTIES)
private List<Counterparty> counterparties = new ArrayList<>();
public static final String SERIALIZED_NAME_ENTITY_ID = "entity_id";
@SerializedName(SERIALIZED_NAME_ENTITY_ID)
private String entityId;
public static final String SERIALIZED_NAME_LEGACY_CATEGORY_ID = "legacy_category_id";
@SerializedName(SERIALIZED_NAME_LEGACY_CATEGORY_ID)
private String legacyCategoryId;
public static final String SERIALIZED_NAME_LEGACY_CATEGORY = "legacy_category";
@SerializedName(SERIALIZED_NAME_LEGACY_CATEGORY)
private List<String> legacyCategory = null;
public static final String SERIALIZED_NAME_LOCATION = "location";
@SerializedName(SERIALIZED_NAME_LOCATION)
private Location location;
public static final String SERIALIZED_NAME_LOGO_URL = "logo_url";
@SerializedName(SERIALIZED_NAME_LOGO_URL)
private String logoUrl;
public static final String SERIALIZED_NAME_MERCHANT_NAME = "merchant_name";
@SerializedName(SERIALIZED_NAME_MERCHANT_NAME)
private String merchantName;
public static final String SERIALIZED_NAME_PAYMENT_CHANNEL = "payment_channel";
@SerializedName(SERIALIZED_NAME_PAYMENT_CHANNEL)
private PaymentChannel paymentChannel;
public static final String SERIALIZED_NAME_PHONE_NUMBER = "phone_number";
@SerializedName(SERIALIZED_NAME_PHONE_NUMBER)
private String phoneNumber;
public static final String SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY = "personal_finance_category";
@SerializedName(SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY)
private PersonalFinanceCategory personalFinanceCategory;
public static final String SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY_ICON_URL = "personal_finance_category_icon_url";
@SerializedName(SERIALIZED_NAME_PERSONAL_FINANCE_CATEGORY_ICON_URL)
private String personalFinanceCategoryIconUrl;
public static final String SERIALIZED_NAME_RECURRENCE = "recurrence";
@SerializedName(SERIALIZED_NAME_RECURRENCE)
private Recurrence recurrence;
public static final String SERIALIZED_NAME_WEBSITE = "website";
@SerializedName(SERIALIZED_NAME_WEBSITE)
private String website;
public Enrichments checkNumber(String checkNumber) {
this.checkNumber = checkNumber;
return this;
}
/**
* The check number of the transaction. This field is only populated for check transactions.
* @return checkNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The check number of the transaction. This field is only populated for check transactions.")
public String getCheckNumber() {
return checkNumber;
}
public void setCheckNumber(String checkNumber) {
this.checkNumber = checkNumber;
}
public Enrichments counterparties(List<Counterparty> counterparties) {
this.counterparties = counterparties;
return this;
}
public Enrichments addCounterpartiesItem(Counterparty counterpartiesItem) {
this.counterparties.add(counterpartiesItem);
return this;
}
/**
* The counterparties present in the transaction. Counterparties, such as the merchant or the financial institution, are extracted by Plaid from the raw description.
* @return counterparties
**/
@ApiModelProperty(required = true, value = "The counterparties present in the transaction. Counterparties, such as the merchant or the financial institution, are extracted by Plaid from the raw description.")
public List<Counterparty> getCounterparties() {
return counterparties;
}
public void setCounterparties(List<Counterparty> counterparties) {
this.counterparties = counterparties;
}
public Enrichments entityId(String entityId) {
this.entityId = entityId;
return this;
}
/**
* A unique, stable, Plaid-generated ID that maps to the primary counterparty.
* @return entityId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A unique, stable, Plaid-generated ID that maps to the primary counterparty.")
public String getEntityId() {
return entityId;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
}
public Enrichments legacyCategoryId(String legacyCategoryId) {
this.legacyCategoryId = legacyCategoryId;
return this;
}
/**
* The ID of the legacy category to which this transaction belongs. For a full list of legacy categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). We recommend using the `personal_finance_category` for transaction categorization to obtain the best results.
* @return legacyCategoryId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The ID of the legacy category to which this transaction belongs. For a full list of legacy categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). We recommend using the `personal_finance_category` for transaction categorization to obtain the best results.")
public String getLegacyCategoryId() {
return legacyCategoryId;
}
public void setLegacyCategoryId(String legacyCategoryId) {
this.legacyCategoryId = legacyCategoryId;
}
public Enrichments legacyCategory(List<String> legacyCategory) {
this.legacyCategory = legacyCategory;
return this;
}
public Enrichments addLegacyCategoryItem(String legacyCategoryItem) {
if (this.legacyCategory == null) {
this.legacyCategory = new ArrayList<>();
}
this.legacyCategory.add(legacyCategoryItem);
return this;
}
/**
* A hierarchical array of the legacy categories to which this transaction belongs. For a full list of legacy categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). We recommend using the `personal_finance_category` for transaction categorization to obtain the best results.
* @return legacyCategory
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "A hierarchical array of the legacy categories to which this transaction belongs. For a full list of legacy categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). We recommend using the `personal_finance_category` for transaction categorization to obtain the best results.")
public List<String> getLegacyCategory() {
return legacyCategory;
}
public void setLegacyCategory(List<String> legacyCategory) {
this.legacyCategory = legacyCategory;
}
public Enrichments location(Location location) {
this.location = location;
return this;
}
/**
* Get location
* @return location
**/
@ApiModelProperty(required = true, value = "")
public Location getLocation() {
return location;
}
public void setLocation(Location location) {
this.location = location;
}
public Enrichments logoUrl(String logoUrl) {
this.logoUrl = logoUrl;
return this;
}
/**
* The URL of a logo associated with this transaction, if available. The logo will always be 100×100 pixel PNG file.
* @return logoUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The URL of a logo associated with this transaction, if available. The logo will always be 100×100 pixel PNG file.")
public String getLogoUrl() {
return logoUrl;
}
public void setLogoUrl(String logoUrl) {
this.logoUrl = logoUrl;
}
public Enrichments merchantName(String merchantName) {
this.merchantName = merchantName;
return this;
}
/**
* The name of the primary counterparty, such as the merchant or the financial institution, as extracted by Plaid from the raw description.
* @return merchantName
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The name of the primary counterparty, such as the merchant or the financial institution, as extracted by Plaid from the raw description.")
public String getMerchantName() {
return merchantName;
}
public void setMerchantName(String merchantName) {
this.merchantName = merchantName;
}
public Enrichments paymentChannel(PaymentChannel paymentChannel) {
this.paymentChannel = paymentChannel;
return this;
}
/**
* Get paymentChannel
* @return paymentChannel
**/
@ApiModelProperty(required = true, value = "")
public PaymentChannel getPaymentChannel() {
return paymentChannel;
}
public void setPaymentChannel(PaymentChannel paymentChannel) {
this.paymentChannel = paymentChannel;
}
public Enrichments phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* The phone number associated with the counterparty in E. 164 format. If there is a location match (i.e. a street address is returned in the location object), the phone number will be location specific.
* @return phoneNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The phone number associated with the counterparty in E. 164 format. If there is a location match (i.e. a street address is returned in the location object), the phone number will be location specific.")
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public Enrichments personalFinanceCategory(PersonalFinanceCategory personalFinanceCategory) {
this.personalFinanceCategory = personalFinanceCategory;
return this;
}
/**
* Get personalFinanceCategory
* @return personalFinanceCategory
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
public PersonalFinanceCategory getPersonalFinanceCategory() {
return personalFinanceCategory;
}
public void setPersonalFinanceCategory(PersonalFinanceCategory personalFinanceCategory) {
this.personalFinanceCategory = personalFinanceCategory;
}
public Enrichments personalFinanceCategoryIconUrl(String personalFinanceCategoryIconUrl) {
this.personalFinanceCategoryIconUrl = personalFinanceCategoryIconUrl;
return this;
}
/**
* The URL of an icon associated with the primary personal finance category. The icon will always be 100×100 pixel PNG file.
* @return personalFinanceCategoryIconUrl
**/
@ApiModelProperty(required = true, value = "The URL of an icon associated with the primary personal finance category. The icon will always be 100×100 pixel PNG file.")
public String getPersonalFinanceCategoryIconUrl() {
return personalFinanceCategoryIconUrl;
}
public void setPersonalFinanceCategoryIconUrl(String personalFinanceCategoryIconUrl) {
this.personalFinanceCategoryIconUrl = personalFinanceCategoryIconUrl;
}
public Enrichments recurrence(Recurrence recurrence) {
this.recurrence = recurrence;
return this;
}
/**
* Get recurrence
* @return recurrence
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Recurrence getRecurrence() {
return recurrence;
}
public void setRecurrence(Recurrence recurrence) {
this.recurrence = recurrence;
}
public Enrichments website(String website) {
this.website = website;
return this;
}
/**
* The website associated with this transaction.
* @return website
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The website associated with this transaction.")
public String getWebsite() {
return website;
}
public void setWebsite(String website) {
this.website = website;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Enrichments enrichments = (Enrichments) o;
return Objects.equals(this.checkNumber, enrichments.checkNumber) &&
Objects.equals(this.counterparties, enrichments.counterparties) &&
Objects.equals(this.entityId, enrichments.entityId) &&
Objects.equals(this.legacyCategoryId, enrichments.legacyCategoryId) &&
Objects.equals(this.legacyCategory, enrichments.legacyCategory) &&
Objects.equals(this.location, enrichments.location) &&
Objects.equals(this.logoUrl, enrichments.logoUrl) &&
Objects.equals(this.merchantName, enrichments.merchantName) &&
Objects.equals(this.paymentChannel, enrichments.paymentChannel) &&
Objects.equals(this.phoneNumber, enrichments.phoneNumber) &&
Objects.equals(this.personalFinanceCategory, enrichments.personalFinanceCategory) &&
Objects.equals(this.personalFinanceCategoryIconUrl, enrichments.personalFinanceCategoryIconUrl) &&
Objects.equals(this.recurrence, enrichments.recurrence) &&
Objects.equals(this.website, enrichments.website);
}
@Override
public int hashCode() {
return Objects.hash(checkNumber, counterparties, entityId, legacyCategoryId, legacyCategory, location, logoUrl, merchantName, paymentChannel, phoneNumber, personalFinanceCategory, personalFinanceCategoryIconUrl, recurrence, website);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Enrichments {\n");
sb.append(" checkNumber: ").append(toIndentedString(checkNumber)).append("\n");
sb.append(" counterparties: ").append(toIndentedString(counterparties)).append("\n");
sb.append(" entityId: ").append(toIndentedString(entityId)).append("\n");
sb.append(" legacyCategoryId: ").append(toIndentedString(legacyCategoryId)).append("\n");
sb.append(" legacyCategory: ").append(toIndentedString(legacyCategory)).append("\n");
sb.append(" location: ").append(toIndentedString(location)).append("\n");
sb.append(" logoUrl: ").append(toIndentedString(logoUrl)).append("\n");
sb.append(" merchantName: ").append(toIndentedString(merchantName)).append("\n");
sb.append(" paymentChannel: ").append(toIndentedString(paymentChannel)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
sb.append(" personalFinanceCategory: ").append(toIndentedString(personalFinanceCategory)).append("\n");
sb.append(" personalFinanceCategoryIconUrl: ").append(toIndentedString(personalFinanceCategoryIconUrl)).append("\n");
sb.append(" recurrence: ").append(toIndentedString(recurrence)).append("\n");
sb.append(" website: ").append(toIndentedString(website)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/OtherFilter.java | src/main/java/com/plaid/client/model/OtherFilter.java | /*
* 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.680.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 com.plaid.client.model.OtherAccountSubtype;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A filter to apply to `other`-type accounts
*/
@ApiModel(description = "A filter to apply to `other`-type accounts")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class OtherFilter {
public static final String SERIALIZED_NAME_ACCOUNT_SUBTYPES = "account_subtypes";
@SerializedName(SERIALIZED_NAME_ACCOUNT_SUBTYPES)
private List<OtherAccountSubtype> accountSubtypes = new ArrayList<>();
public OtherFilter accountSubtypes(List<OtherAccountSubtype> accountSubtypes) {
this.accountSubtypes = accountSubtypes;
return this;
}
public OtherFilter addAccountSubtypesItem(OtherAccountSubtype accountSubtypesItem) {
this.accountSubtypes.add(accountSubtypesItem);
return this;
}
/**
* An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema).
* @return accountSubtypes
**/
@ApiModelProperty(required = true, value = "An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). ")
public List<OtherAccountSubtype> getAccountSubtypes() {
return accountSubtypes;
}
public void setAccountSubtypes(List<OtherAccountSubtype> accountSubtypes) {
this.accountSubtypes = accountSubtypes;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
OtherFilter otherFilter = (OtherFilter) o;
return Objects.equals(this.accountSubtypes, otherFilter.accountSubtypes);
}
@Override
public int hashCode() {
return Objects.hash(accountSubtypes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class OtherFilter {\n");
sb.append(" accountSubtypes: ").append(toIndentedString(accountSubtypes)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/DocumentRiskSignalInstitutionMetadata.java | src/main/java/com/plaid/client/model/DocumentRiskSignalInstitutionMetadata.java | /*
* 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.680.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;
/**
* An object which contains additional metadata about the institution used to compute the verification attribute
*/
@ApiModel(description = "An object which contains additional metadata about the institution used to compute the verification attribute")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class DocumentRiskSignalInstitutionMetadata {
public static final String SERIALIZED_NAME_ITEM_ID = "item_id";
@SerializedName(SERIALIZED_NAME_ITEM_ID)
private String itemId;
public DocumentRiskSignalInstitutionMetadata itemId(String itemId) {
this.itemId = itemId;
return this;
}
/**
* The `item_id` of the Item associated with this webhook, warning, or error
* @return itemId
**/
@ApiModelProperty(required = true, value = "The `item_id` of the Item associated with this webhook, warning, or error")
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DocumentRiskSignalInstitutionMetadata documentRiskSignalInstitutionMetadata = (DocumentRiskSignalInstitutionMetadata) o;
return Objects.equals(this.itemId, documentRiskSignalInstitutionMetadata.itemId);
}
@Override
public int hashCode() {
return Objects.hash(itemId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DocumentRiskSignalInstitutionMetadata {\n");
sb.append(" itemId: ").append(toIndentedString(itemId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/WatchlistScreeningEntityUpdateResponse.java | src/main/java/com/plaid/client/model/WatchlistScreeningEntityUpdateResponse.java | /*
* 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.680.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 com.plaid.client.model.EntityWatchlistScreeningSearchTerms;
import com.plaid.client.model.WatchlistScreeningAuditTrail;
import com.plaid.client.model.WatchlistScreeningStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* The entity screening object allows you to represent an entity in your system, update its profile, and search for it on various watchlists. Note: Rejected entity screenings will not receive new hits, regardless of entity program configuration.
*/
@ApiModel(description = "The entity screening object allows you to represent an entity in your system, update its profile, and search for it on various watchlists. Note: Rejected entity screenings will not receive new hits, regardless of entity program configuration.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningEntityUpdateResponse {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_SEARCH_TERMS = "search_terms";
@SerializedName(SERIALIZED_NAME_SEARCH_TERMS)
private EntityWatchlistScreeningSearchTerms searchTerms;
public static final String SERIALIZED_NAME_ASSIGNEE = "assignee";
@SerializedName(SERIALIZED_NAME_ASSIGNEE)
private String assignee;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private WatchlistScreeningStatus status;
public static final String SERIALIZED_NAME_CLIENT_USER_ID = "client_user_id";
@SerializedName(SERIALIZED_NAME_CLIENT_USER_ID)
private String clientUserId;
public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
@SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
private WatchlistScreeningAuditTrail auditTrail;
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public WatchlistScreeningEntityUpdateResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated entity screening.
* @return id
**/
@ApiModelProperty(example = "entscr_52xR9LKo77r1Np", required = true, value = "ID of the associated entity screening.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public WatchlistScreeningEntityUpdateResponse searchTerms(EntityWatchlistScreeningSearchTerms searchTerms) {
this.searchTerms = searchTerms;
return this;
}
/**
* Get searchTerms
* @return searchTerms
**/
@ApiModelProperty(required = true, value = "")
public EntityWatchlistScreeningSearchTerms getSearchTerms() {
return searchTerms;
}
public void setSearchTerms(EntityWatchlistScreeningSearchTerms searchTerms) {
this.searchTerms = searchTerms;
}
public WatchlistScreeningEntityUpdateResponse assignee(String assignee) {
this.assignee = assignee;
return this;
}
/**
* ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.
* @return assignee
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "54350110fedcbaf01234ffee", required = true, value = "ID of the associated user. To retrieve the email address or other details of the person corresponding to this id, use `/dashboard_user/get`.")
public String getAssignee() {
return assignee;
}
public void setAssignee(String assignee) {
this.assignee = assignee;
}
public WatchlistScreeningEntityUpdateResponse status(WatchlistScreeningStatus status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningStatus getStatus() {
return status;
}
public void setStatus(WatchlistScreeningStatus status) {
this.status = status;
}
public WatchlistScreeningEntityUpdateResponse clientUserId(String clientUserId) {
this.clientUserId = clientUserId;
return this;
}
/**
* A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.
* @return clientUserId
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "your-db-id-3b24110", required = true, value = "A unique ID that identifies the end user in your system. This ID can also be used to associate user-specific data from other Plaid products. Financial Account Matching requires this field and the `/link/token/create` `client_user_id` to be consistent. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`.")
public String getClientUserId() {
return clientUserId;
}
public void setClientUserId(String clientUserId) {
this.clientUserId = clientUserId;
}
public WatchlistScreeningEntityUpdateResponse auditTrail(WatchlistScreeningAuditTrail auditTrail) {
this.auditTrail = auditTrail;
return this;
}
/**
* Get auditTrail
* @return auditTrail
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningAuditTrail getAuditTrail() {
return auditTrail;
}
public void setAuditTrail(WatchlistScreeningAuditTrail auditTrail) {
this.auditTrail = auditTrail;
}
public WatchlistScreeningEntityUpdateResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WatchlistScreeningEntityUpdateResponse watchlistScreeningEntityUpdateResponse = (WatchlistScreeningEntityUpdateResponse) o;
return Objects.equals(this.id, watchlistScreeningEntityUpdateResponse.id) &&
Objects.equals(this.searchTerms, watchlistScreeningEntityUpdateResponse.searchTerms) &&
Objects.equals(this.assignee, watchlistScreeningEntityUpdateResponse.assignee) &&
Objects.equals(this.status, watchlistScreeningEntityUpdateResponse.status) &&
Objects.equals(this.clientUserId, watchlistScreeningEntityUpdateResponse.clientUserId) &&
Objects.equals(this.auditTrail, watchlistScreeningEntityUpdateResponse.auditTrail) &&
Objects.equals(this.requestId, watchlistScreeningEntityUpdateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(id, searchTerms, assignee, status, clientUserId, auditTrail, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningEntityUpdateResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" searchTerms: ").append(toIndentedString(searchTerms)).append("\n");
sb.append(" assignee: ").append(toIndentedString(assignee)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" clientUserId: ").append(toIndentedString(clientUserId)).append("\n");
sb.append(" auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PrismVersionsDeprecated.java | src/main/java/com/plaid/client/model/PrismVersionsDeprecated.java | /*
* 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.680.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 com.plaid.client.model.PrismCashScoreVersion;
import com.plaid.client.model.PrismDetectVersion;
import com.plaid.client.model.PrismExtendVersion;
import com.plaid.client.model.PrismFirstDetectVersion;
import com.plaid.client.model.PrismInsightsVersion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Deprecated, use `partner_insights.prism_versions` instead.
*/
@ApiModel(description = "Deprecated, use `partner_insights.prism_versions` instead.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PrismVersionsDeprecated {
public static final String SERIALIZED_NAME_FIRSTDETECT = "firstdetect";
@SerializedName(SERIALIZED_NAME_FIRSTDETECT)
private PrismFirstDetectVersion firstdetect;
public static final String SERIALIZED_NAME_DETECT = "detect";
@SerializedName(SERIALIZED_NAME_DETECT)
private PrismDetectVersion detect;
public static final String SERIALIZED_NAME_CASHSCORE = "cashscore";
@SerializedName(SERIALIZED_NAME_CASHSCORE)
private PrismCashScoreVersion cashscore;
public static final String SERIALIZED_NAME_EXTEND = "extend";
@SerializedName(SERIALIZED_NAME_EXTEND)
private PrismExtendVersion extend;
public static final String SERIALIZED_NAME_INSIGHTS = "insights";
@SerializedName(SERIALIZED_NAME_INSIGHTS)
private PrismInsightsVersion insights;
public PrismVersionsDeprecated firstdetect(PrismFirstDetectVersion firstdetect) {
this.firstdetect = firstdetect;
return this;
}
/**
* Get firstdetect
* @return firstdetect
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismFirstDetectVersion getFirstdetect() {
return firstdetect;
}
public void setFirstdetect(PrismFirstDetectVersion firstdetect) {
this.firstdetect = firstdetect;
}
public PrismVersionsDeprecated detect(PrismDetectVersion detect) {
this.detect = detect;
return this;
}
/**
* Get detect
* @return detect
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismDetectVersion getDetect() {
return detect;
}
public void setDetect(PrismDetectVersion detect) {
this.detect = detect;
}
public PrismVersionsDeprecated cashscore(PrismCashScoreVersion cashscore) {
this.cashscore = cashscore;
return this;
}
/**
* Get cashscore
* @return cashscore
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismCashScoreVersion getCashscore() {
return cashscore;
}
public void setCashscore(PrismCashScoreVersion cashscore) {
this.cashscore = cashscore;
}
public PrismVersionsDeprecated extend(PrismExtendVersion extend) {
this.extend = extend;
return this;
}
/**
* Get extend
* @return extend
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismExtendVersion getExtend() {
return extend;
}
public void setExtend(PrismExtendVersion extend) {
this.extend = extend;
}
public PrismVersionsDeprecated insights(PrismInsightsVersion insights) {
this.insights = insights;
return this;
}
/**
* Get insights
* @return insights
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PrismInsightsVersion getInsights() {
return insights;
}
public void setInsights(PrismInsightsVersion insights) {
this.insights = insights;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PrismVersionsDeprecated prismVersionsDeprecated = (PrismVersionsDeprecated) o;
return Objects.equals(this.firstdetect, prismVersionsDeprecated.firstdetect) &&
Objects.equals(this.detect, prismVersionsDeprecated.detect) &&
Objects.equals(this.cashscore, prismVersionsDeprecated.cashscore) &&
Objects.equals(this.extend, prismVersionsDeprecated.extend) &&
Objects.equals(this.insights, prismVersionsDeprecated.insights);
}
@Override
public int hashCode() {
return Objects.hash(firstdetect, detect, cashscore, extend, insights);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PrismVersionsDeprecated {\n");
sb.append(" firstdetect: ").append(toIndentedString(firstdetect)).append("\n");
sb.append(" detect: ").append(toIndentedString(detect)).append("\n");
sb.append(" cashscore: ").append(toIndentedString(cashscore)).append("\n");
sb.append(" extend: ").append(toIndentedString(extend)).append("\n");
sb.append(" insights: ").append(toIndentedString(insights)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxCraCashflowUpdatesUpdateResponse.java | src/main/java/com/plaid/client/model/SandboxCraCashflowUpdatesUpdateResponse.java | /*
* 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.680.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;
/**
* SandboxCraCashflowUpdatesUpdateResponse defines the response schema for `sandbox/cashflow_updates/update`
*/
@ApiModel(description = "SandboxCraCashflowUpdatesUpdateResponse defines the response schema for `sandbox/cashflow_updates/update`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxCraCashflowUpdatesUpdateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxCraCashflowUpdatesUpdateResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxCraCashflowUpdatesUpdateResponse sandboxCraCashflowUpdatesUpdateResponse = (SandboxCraCashflowUpdatesUpdateResponse) o;
return Objects.equals(this.requestId, sandboxCraCashflowUpdatesUpdateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxCraCashflowUpdatesUpdateResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/PartnerEndCustomerOAuthInstitutionEnvironments.java | src/main/java/com/plaid/client/model/PartnerEndCustomerOAuthInstitutionEnvironments.java | /*
* 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.680.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 com.plaid.client.model.PartnerEndCustomerOAuthInstitutionApplicationStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Registration statuses by environment.
*/
@ApiModel(description = "Registration statuses by environment.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class PartnerEndCustomerOAuthInstitutionEnvironments {
public static final String SERIALIZED_NAME_DEVELOPMENT = "development";
@SerializedName(SERIALIZED_NAME_DEVELOPMENT)
private PartnerEndCustomerOAuthInstitutionApplicationStatus development;
public static final String SERIALIZED_NAME_PRODUCTION = "production";
@SerializedName(SERIALIZED_NAME_PRODUCTION)
private PartnerEndCustomerOAuthInstitutionApplicationStatus production;
public PartnerEndCustomerOAuthInstitutionEnvironments development(PartnerEndCustomerOAuthInstitutionApplicationStatus development) {
this.development = development;
return this;
}
/**
* Get development
* @return development
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerOAuthInstitutionApplicationStatus getDevelopment() {
return development;
}
public void setDevelopment(PartnerEndCustomerOAuthInstitutionApplicationStatus development) {
this.development = development;
}
public PartnerEndCustomerOAuthInstitutionEnvironments production(PartnerEndCustomerOAuthInstitutionApplicationStatus production) {
this.production = production;
return this;
}
/**
* Get production
* @return production
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public PartnerEndCustomerOAuthInstitutionApplicationStatus getProduction() {
return production;
}
public void setProduction(PartnerEndCustomerOAuthInstitutionApplicationStatus production) {
this.production = production;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PartnerEndCustomerOAuthInstitutionEnvironments partnerEndCustomerOAuthInstitutionEnvironments = (PartnerEndCustomerOAuthInstitutionEnvironments) o;
return Objects.equals(this.development, partnerEndCustomerOAuthInstitutionEnvironments.development) &&
Objects.equals(this.production, partnerEndCustomerOAuthInstitutionEnvironments.production);
}
@Override
public int hashCode() {
return Objects.hash(development, production);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartnerEndCustomerOAuthInstitutionEnvironments {\n");
sb.append(" development: ").append(toIndentedString(development)).append("\n");
sb.append(" production: ").append(toIndentedString(production)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/SandboxTransferRepaymentSimulateResponse.java | src/main/java/com/plaid/client/model/SandboxTransferRepaymentSimulateResponse.java | /*
* 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.680.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;
/**
* Defines the response schema for `/sandbox/transfer/repayment/simulate`
*/
@ApiModel(description = "Defines the response schema for `/sandbox/transfer/repayment/simulate`")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class SandboxTransferRepaymentSimulateResponse {
public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
@SerializedName(SERIALIZED_NAME_REQUEST_ID)
private String requestId;
public SandboxTransferRepaymentSimulateResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
* @return requestId
**/
@ApiModelProperty(required = true, value = "A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.")
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SandboxTransferRepaymentSimulateResponse sandboxTransferRepaymentSimulateResponse = (SandboxTransferRepaymentSimulateResponse) o;
return Objects.equals(this.requestId, sandboxTransferRepaymentSimulateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SandboxTransferRepaymentSimulateResponse {\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
plaid/plaid-java | https://github.com/plaid/plaid-java/blob/130671fed6ef990db562aa6571e181ce08270945/src/main/java/com/plaid/client/model/WatchlistScreeningDocument.java | src/main/java/com/plaid/client/model/WatchlistScreeningDocument.java | /*
* 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.680.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 com.plaid.client.model.WatchlistScreeningDocumentType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* An official document, usually issued by a governing body or institution, with an associated identifier.
*/
@ApiModel(description = "An official document, usually issued by a governing body or institution, with an associated identifier.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class WatchlistScreeningDocument {
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private WatchlistScreeningDocumentType type;
public static final String SERIALIZED_NAME_NUMBER = "number";
@SerializedName(SERIALIZED_NAME_NUMBER)
private String number;
public WatchlistScreeningDocument type(WatchlistScreeningDocumentType type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(required = true, value = "")
public WatchlistScreeningDocumentType getType() {
return type;
}
public void setType(WatchlistScreeningDocumentType type) {
this.type = type;
}
public WatchlistScreeningDocument number(String number) {
this.number = number;
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 number
**/
@ApiModelProperty(example = "C31195855", required = true, 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 getNumber() {
return number;
}
public void setNumber(String number) {
this.number = number;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WatchlistScreeningDocument watchlistScreeningDocument = (WatchlistScreeningDocument) o;
return Objects.equals(this.type, watchlistScreeningDocument.type) &&
Objects.equals(this.number, watchlistScreeningDocument.number);
}
@Override
public int hashCode() {
return Objects.hash(type, number);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningDocument {\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" number: ").append(toIndentedString(number)).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 ");
}
}
| java | MIT | 130671fed6ef990db562aa6571e181ce08270945 | 2026-01-05T02:42:29.116648Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.