/*
 * 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.FraudCheckOutcome;
import com.plaid.client.model.FraudCheckOutcomeWithNoData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;

/**
 * Details about the fraud analysis performed on the document.
 */
@ApiModel(description = "Details about the fraud analysis performed on the document.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class FraudAnalysisDetails {
  public static final String SERIALIZED_NAME_TYPE_SUPPORTED = "type_supported";
  @SerializedName(SERIALIZED_NAME_TYPE_SUPPORTED)
  private FraudCheckOutcome typeSupported;

  public static final String SERIALIZED_NAME_PORTRAIT_PRESENCE_CHECK = "portrait_presence_check";
  @SerializedName(SERIALIZED_NAME_PORTRAIT_PRESENCE_CHECK)
  private FraudCheckOutcome portraitPresenceCheck;

  public static final String SERIALIZED_NAME_PORTRAIT_DETAILS_CHECK = "portrait_details_check";
  @SerializedName(SERIALIZED_NAME_PORTRAIT_DETAILS_CHECK)
  private FraudCheckOutcome portraitDetailsCheck;

  public static final String SERIALIZED_NAME_IMAGE_COMPOSITION_CHECK = "image_composition_check";
  @SerializedName(SERIALIZED_NAME_IMAGE_COMPOSITION_CHECK)
  private FraudCheckOutcome imageCompositionCheck;

  public static final String SERIALIZED_NAME_INTEGRITY_CHECK = "integrity_check";
  @SerializedName(SERIALIZED_NAME_INTEGRITY_CHECK)
  private FraudCheckOutcome integrityCheck;

  public static final String SERIALIZED_NAME_DETAIL_CHECK = "detail_check";
  @SerializedName(SERIALIZED_NAME_DETAIL_CHECK)
  private FraudCheckOutcome detailCheck;

  public static final String SERIALIZED_NAME_ISSUE_DATE_CHECK = "issue_date_check";
  @SerializedName(SERIALIZED_NAME_ISSUE_DATE_CHECK)
  private FraudCheckOutcomeWithNoData issueDateCheck;


  public FraudAnalysisDetails typeSupported(FraudCheckOutcome typeSupported) {
    
    this.typeSupported = typeSupported;
    return this;
  }

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

  public FraudCheckOutcome getTypeSupported() {
    return typeSupported;
  }


  public void setTypeSupported(FraudCheckOutcome typeSupported) {
    this.typeSupported = typeSupported;
  }


  public FraudAnalysisDetails portraitPresenceCheck(FraudCheckOutcome portraitPresenceCheck) {
    
    this.portraitPresenceCheck = portraitPresenceCheck;
    return this;
  }

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

  public FraudCheckOutcome getPortraitPresenceCheck() {
    return portraitPresenceCheck;
  }


  public void setPortraitPresenceCheck(FraudCheckOutcome portraitPresenceCheck) {
    this.portraitPresenceCheck = portraitPresenceCheck;
  }


  public FraudAnalysisDetails portraitDetailsCheck(FraudCheckOutcome portraitDetailsCheck) {
    
    this.portraitDetailsCheck = portraitDetailsCheck;
    return this;
  }

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

  public FraudCheckOutcome getPortraitDetailsCheck() {
    return portraitDetailsCheck;
  }


  public void setPortraitDetailsCheck(FraudCheckOutcome portraitDetailsCheck) {
    this.portraitDetailsCheck = portraitDetailsCheck;
  }


  public FraudAnalysisDetails imageCompositionCheck(FraudCheckOutcome imageCompositionCheck) {
    
    this.imageCompositionCheck = imageCompositionCheck;
    return this;
  }

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

  public FraudCheckOutcome getImageCompositionCheck() {
    return imageCompositionCheck;
  }


  public void setImageCompositionCheck(FraudCheckOutcome imageCompositionCheck) {
    this.imageCompositionCheck = imageCompositionCheck;
  }


  public FraudAnalysisDetails integrityCheck(FraudCheckOutcome integrityCheck) {
    
    this.integrityCheck = integrityCheck;
    return this;
  }

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

  public FraudCheckOutcome getIntegrityCheck() {
    return integrityCheck;
  }


  public void setIntegrityCheck(FraudCheckOutcome integrityCheck) {
    this.integrityCheck = integrityCheck;
  }


  public FraudAnalysisDetails detailCheck(FraudCheckOutcome detailCheck) {
    
    this.detailCheck = detailCheck;
    return this;
  }

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

  public FraudCheckOutcome getDetailCheck() {
    return detailCheck;
  }


  public void setDetailCheck(FraudCheckOutcome detailCheck) {
    this.detailCheck = detailCheck;
  }


  public FraudAnalysisDetails issueDateCheck(FraudCheckOutcomeWithNoData issueDateCheck) {
    
    this.issueDateCheck = issueDateCheck;
    return this;
  }

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

  public FraudCheckOutcomeWithNoData getIssueDateCheck() {
    return issueDateCheck;
  }


  public void setIssueDateCheck(FraudCheckOutcomeWithNoData issueDateCheck) {
    this.issueDateCheck = issueDateCheck;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    FraudAnalysisDetails fraudAnalysisDetails = (FraudAnalysisDetails) o;
    return Objects.equals(this.typeSupported, fraudAnalysisDetails.typeSupported) &&
        Objects.equals(this.portraitPresenceCheck, fraudAnalysisDetails.portraitPresenceCheck) &&
        Objects.equals(this.portraitDetailsCheck, fraudAnalysisDetails.portraitDetailsCheck) &&
        Objects.equals(this.imageCompositionCheck, fraudAnalysisDetails.imageCompositionCheck) &&
        Objects.equals(this.integrityCheck, fraudAnalysisDetails.integrityCheck) &&
        Objects.equals(this.detailCheck, fraudAnalysisDetails.detailCheck) &&
        Objects.equals(this.issueDateCheck, fraudAnalysisDetails.issueDateCheck);
  }

  @Override
  public int hashCode() {
    return Objects.hash(typeSupported, portraitPresenceCheck, portraitDetailsCheck, imageCompositionCheck, integrityCheck, detailCheck, issueDateCheck);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class FraudAnalysisDetails {\n");
    sb.append("    typeSupported: ").append(toIndentedString(typeSupported)).append("\n");
    sb.append("    portraitPresenceCheck: ").append(toIndentedString(portraitPresenceCheck)).append("\n");
    sb.append("    portraitDetailsCheck: ").append(toIndentedString(portraitDetailsCheck)).append("\n");
    sb.append("    imageCompositionCheck: ").append(toIndentedString(imageCompositionCheck)).append("\n");
    sb.append("    integrityCheck: ").append(toIndentedString(integrityCheck)).append("\n");
    sb.append("    detailCheck: ").append(toIndentedString(detailCheck)).append("\n");
    sb.append("    issueDateCheck: ").append(toIndentedString(issueDateCheck)).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    ");
  }

}

