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

com.plaid.client.model.WatchlistScreeningIndividualProgramGetResponse 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.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.IndividualWatchlistCode;
import com.plaid.client.model.ProgramNameSensitivity;
import com.plaid.client.model.WatchlistScreeningAuditTrail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;

/**
 * A program that configures the active lists, search parameters, and other behavior for initial and ongoing screening of individuals.
 */
@ApiModel(description = "A program that configures the active lists, search parameters, and other behavior for initial and ongoing screening of individuals.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-17T16:42:02.150702Z[Etc/UTC]")
public class WatchlistScreeningIndividualProgramGetResponse {
  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_IS_RESCANNING_ENABLED = "is_rescanning_enabled";
  @SerializedName(SERIALIZED_NAME_IS_RESCANNING_ENABLED)
  private Boolean isRescanningEnabled;

  public static final String SERIALIZED_NAME_LISTS_ENABLED = "lists_enabled";
  @SerializedName(SERIALIZED_NAME_LISTS_ENABLED)
  private Set listsEnabled = new LinkedHashSet<>();

  public static final String SERIALIZED_NAME_NAME = "name";
  @SerializedName(SERIALIZED_NAME_NAME)
  private String name;

  public static final String SERIALIZED_NAME_NAME_SENSITIVITY = "name_sensitivity";
  @SerializedName(SERIALIZED_NAME_NAME_SENSITIVITY)
  private ProgramNameSensitivity nameSensitivity;

  public static final String SERIALIZED_NAME_AUDIT_TRAIL = "audit_trail";
  @SerializedName(SERIALIZED_NAME_AUDIT_TRAIL)
  private WatchlistScreeningAuditTrail auditTrail;

  public static final String SERIALIZED_NAME_IS_ARCHIVED = "is_archived";
  @SerializedName(SERIALIZED_NAME_IS_ARCHIVED)
  private Boolean isArchived;

  public static final String SERIALIZED_NAME_REQUEST_ID = "request_id";
  @SerializedName(SERIALIZED_NAME_REQUEST_ID)
  private String requestId;


  public WatchlistScreeningIndividualProgramGetResponse id(String id) {
    
    this.id = id;
    return this;
  }

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

  public String getId() {
    return id;
  }


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


  public WatchlistScreeningIndividualProgramGetResponse 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 WatchlistScreeningIndividualProgramGetResponse isRescanningEnabled(Boolean isRescanningEnabled) {
    
    this.isRescanningEnabled = isRescanningEnabled;
    return this;
  }

   /**
   * Indicator specifying whether the program is enabled and will perform daily rescans.
   * @return isRescanningEnabled
  **/
  @ApiModelProperty(example = "true", required = true, value = "Indicator specifying whether the program is enabled and will perform daily rescans.")

  public Boolean getIsRescanningEnabled() {
    return isRescanningEnabled;
  }


  public void setIsRescanningEnabled(Boolean isRescanningEnabled) {
    this.isRescanningEnabled = isRescanningEnabled;
  }


  public WatchlistScreeningIndividualProgramGetResponse listsEnabled(Set listsEnabled) {
    
    this.listsEnabled = listsEnabled;
    return this;
  }

  public WatchlistScreeningIndividualProgramGetResponse addListsEnabledItem(IndividualWatchlistCode listsEnabledItem) {
    this.listsEnabled.add(listsEnabledItem);
    return this;
  }

   /**
   * Watchlists enabled for the associated program
   * @return listsEnabled
  **/
  @ApiModelProperty(example = "[\"US_SDN\"]", required = true, value = "Watchlists enabled for the associated program")

  public Set getListsEnabled() {
    return listsEnabled;
  }


  public void setListsEnabled(Set listsEnabled) {
    this.listsEnabled = listsEnabled;
  }


  public WatchlistScreeningIndividualProgramGetResponse name(String name) {
    
    this.name = name;
    return this;
  }

   /**
   * A name for the program to define its purpose. For example, \"High Risk Individuals\", \"US Cardholders\", or \"Applicants\".
   * @return name
  **/
  @ApiModelProperty(example = "Sample Program", required = true, value = "A name for the program to define its purpose. For example, \"High Risk Individuals\", \"US Cardholders\", or \"Applicants\".")

  public String getName() {
    return name;
  }


  public void setName(String name) {
    this.name = name;
  }


  public WatchlistScreeningIndividualProgramGetResponse nameSensitivity(ProgramNameSensitivity nameSensitivity) {
    
    this.nameSensitivity = nameSensitivity;
    return this;
  }

   /**
   * Get nameSensitivity
   * @return nameSensitivity
  **/
  @ApiModelProperty(required = true, value = "")

  public ProgramNameSensitivity getNameSensitivity() {
    return nameSensitivity;
  }


  public void setNameSensitivity(ProgramNameSensitivity nameSensitivity) {
    this.nameSensitivity = nameSensitivity;
  }


  public WatchlistScreeningIndividualProgramGetResponse 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 WatchlistScreeningIndividualProgramGetResponse isArchived(Boolean isArchived) {
    
    this.isArchived = isArchived;
    return this;
  }

   /**
   * Archived programs are read-only and cannot screen new customers nor participate in ongoing monitoring.
   * @return isArchived
  **/
  @ApiModelProperty(example = "false", required = true, value = "Archived programs are read-only and cannot screen new customers nor participate in ongoing monitoring.")

  public Boolean getIsArchived() {
    return isArchived;
  }


  public void setIsArchived(Boolean isArchived) {
    this.isArchived = isArchived;
  }


  public WatchlistScreeningIndividualProgramGetResponse 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;
    }
    WatchlistScreeningIndividualProgramGetResponse watchlistScreeningIndividualProgramGetResponse = (WatchlistScreeningIndividualProgramGetResponse) o;
    return Objects.equals(this.id, watchlistScreeningIndividualProgramGetResponse.id) &&
        Objects.equals(this.createdAt, watchlistScreeningIndividualProgramGetResponse.createdAt) &&
        Objects.equals(this.isRescanningEnabled, watchlistScreeningIndividualProgramGetResponse.isRescanningEnabled) &&
        Objects.equals(this.listsEnabled, watchlistScreeningIndividualProgramGetResponse.listsEnabled) &&
        Objects.equals(this.name, watchlistScreeningIndividualProgramGetResponse.name) &&
        Objects.equals(this.nameSensitivity, watchlistScreeningIndividualProgramGetResponse.nameSensitivity) &&
        Objects.equals(this.auditTrail, watchlistScreeningIndividualProgramGetResponse.auditTrail) &&
        Objects.equals(this.isArchived, watchlistScreeningIndividualProgramGetResponse.isArchived) &&
        Objects.equals(this.requestId, watchlistScreeningIndividualProgramGetResponse.requestId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(id, createdAt, isRescanningEnabled, listsEnabled, name, nameSensitivity, auditTrail, isArchived, requestId);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class WatchlistScreeningIndividualProgramGetResponse {\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    createdAt: ").append(toIndentedString(createdAt)).append("\n");
    sb.append("    isRescanningEnabled: ").append(toIndentedString(isRescanningEnabled)).append("\n");
    sb.append("    listsEnabled: ").append(toIndentedString(listsEnabled)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    nameSensitivity: ").append(toIndentedString(nameSensitivity)).append("\n");
    sb.append("    auditTrail: ").append(toIndentedString(auditTrail)).append("\n");
    sb.append("    isArchived: ").append(toIndentedString(isArchived)).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