All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.plaid.client.model.WatchlistScreeningReview Maven / Gradle / Ivy

There is a newer version: 29.0.0
Show newest version
/*
 * The Plaid API
 * The Plaid REST API. Please see https://plaid.com/docs/api for more details.
 *
 * The version of the OpenAPI document: 2020-09-14_1.503.5
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package com.plaid.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import 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 individual 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 individual 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-03-28T21:00:55.745394Z[Etc/UTC]")
public class WatchlistScreeningReview {
  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 WatchlistScreeningReview id(String id) {
    
    this.id = id;
    return this;
  }

   /**
   * ID of the associated review.
   * @return id
  **/
  @ApiModelProperty(example = "rev_aCLNRxK3UVzn2r", required = true, value = "ID of the associated review.")

  public String getId() {
    return id;
  }


  public void setId(String id) {
    this.id = id;
  }


  public WatchlistScreeningReview confirmedHits(List confirmedHits) {
    
    this.confirmedHits = confirmedHits;
    return this;
  }

  public WatchlistScreeningReview 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 WatchlistScreeningReview dismissedHits(List dismissedHits) {
    
    this.dismissedHits = dismissedHits;
    return this;
  }

  public WatchlistScreeningReview 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 WatchlistScreeningReview 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 WatchlistScreeningReview 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;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    WatchlistScreeningReview watchlistScreeningReview = (WatchlistScreeningReview) o;
    return Objects.equals(this.id, watchlistScreeningReview.id) &&
        Objects.equals(this.confirmedHits, watchlistScreeningReview.confirmedHits) &&
        Objects.equals(this.dismissedHits, watchlistScreeningReview.dismissedHits) &&
        Objects.equals(this.comment, watchlistScreeningReview.comment) &&
        Objects.equals(this.auditTrail, watchlistScreeningReview.auditTrail);
  }

  @Override
  public int hashCode() {
    return Objects.hash(id, confirmedHits, dismissedHits, comment, auditTrail);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class WatchlistScreeningReview {\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("}");
    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