com.plaid.client.model.WatchlistScreeningEntityReviewCreateResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plaid-java Show documentation
Show all versions of plaid-java Show documentation
Bindings for the Plaid (plaid.com) API.
/*
* The Plaid API
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
*
* The version of the OpenAPI document: 2020-09-14_1.565.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.plaid.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.plaid.client.model.WatchlistScreeningAuditTrail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* A review submitted by a team member for an entity watchlist screening. A review can be either a comment on the current screening state, actions taken against hits attached to the watchlist screening, or both.
*/
@ApiModel(description = "A review submitted by a team member for an entity watchlist screening. A review can be either a comment on the current screening state, actions taken against hits attached to the watchlist screening, or both.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-17T16:42:02.150702Z[Etc/UTC]")
public class WatchlistScreeningEntityReviewCreateResponse {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_CONFIRMED_HITS = "confirmed_hits";
@SerializedName(SERIALIZED_NAME_CONFIRMED_HITS)
private List confirmedHits = new ArrayList<>();
public static final String SERIALIZED_NAME_DISMISSED_HITS = "dismissed_hits";
@SerializedName(SERIALIZED_NAME_DISMISSED_HITS)
private List dismissedHits = new ArrayList<>();
public static final String SERIALIZED_NAME_COMMENT = "comment";
@SerializedName(SERIALIZED_NAME_COMMENT)
private String comment;
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 WatchlistScreeningEntityReviewCreateResponse id(String id) {
this.id = id;
return this;
}
/**
* ID of the associated entity review.
* @return id
**/
@ApiModelProperty(example = "entrev_aCLNRxK3UVzn2r", required = true, value = "ID of the associated entity review.")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public WatchlistScreeningEntityReviewCreateResponse confirmedHits(List confirmedHits) {
this.confirmedHits = confirmedHits;
return this;
}
public WatchlistScreeningEntityReviewCreateResponse addConfirmedHitsItem(String confirmedHitsItem) {
this.confirmedHits.add(confirmedHitsItem);
return this;
}
/**
* Hits marked as a true positive after thorough manual review. These hits will never recur or be updated once dismissed. In most cases, confirmed hits indicate that the customer should be rejected.
* @return confirmedHits
**/
@ApiModelProperty(required = true, value = "Hits marked as a true positive after thorough manual review. These hits will never recur or be updated once dismissed. In most cases, confirmed hits indicate that the customer should be rejected.")
public List getConfirmedHits() {
return confirmedHits;
}
public void setConfirmedHits(List confirmedHits) {
this.confirmedHits = confirmedHits;
}
public WatchlistScreeningEntityReviewCreateResponse dismissedHits(List dismissedHits) {
this.dismissedHits = dismissedHits;
return this;
}
public WatchlistScreeningEntityReviewCreateResponse addDismissedHitsItem(String dismissedHitsItem) {
this.dismissedHits.add(dismissedHitsItem);
return this;
}
/**
* Hits marked as a false positive after thorough manual review. These hits will never recur or be updated once dismissed.
* @return dismissedHits
**/
@ApiModelProperty(required = true, value = "Hits marked as a false positive after thorough manual review. These hits will never recur or be updated once dismissed.")
public List getDismissedHits() {
return dismissedHits;
}
public void setDismissedHits(List dismissedHits) {
this.dismissedHits = dismissedHits;
}
public WatchlistScreeningEntityReviewCreateResponse comment(String comment) {
this.comment = comment;
return this;
}
/**
* A comment submitted by a team member as part of reviewing a watchlist screening.
* @return comment
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "These look like legitimate matches, rejecting the customer.", required = true, value = "A comment submitted by a team member as part of reviewing a watchlist screening.")
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
public WatchlistScreeningEntityReviewCreateResponse 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 WatchlistScreeningEntityReviewCreateResponse 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;
}
WatchlistScreeningEntityReviewCreateResponse watchlistScreeningEntityReviewCreateResponse = (WatchlistScreeningEntityReviewCreateResponse) o;
return Objects.equals(this.id, watchlistScreeningEntityReviewCreateResponse.id) &&
Objects.equals(this.confirmedHits, watchlistScreeningEntityReviewCreateResponse.confirmedHits) &&
Objects.equals(this.dismissedHits, watchlistScreeningEntityReviewCreateResponse.dismissedHits) &&
Objects.equals(this.comment, watchlistScreeningEntityReviewCreateResponse.comment) &&
Objects.equals(this.auditTrail, watchlistScreeningEntityReviewCreateResponse.auditTrail) &&
Objects.equals(this.requestId, watchlistScreeningEntityReviewCreateResponse.requestId);
}
@Override
public int hashCode() {
return Objects.hash(id, confirmedHits, dismissedHits, comment, auditTrail, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WatchlistScreeningEntityReviewCreateResponse {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" confirmedHits: ").append(toIndentedString(confirmedHits)).append("\n");
sb.append(" dismissedHits: ").append(toIndentedString(dismissedHits)).append("\n");
sb.append(" comment: ").append(toIndentedString(comment)).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 ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy