/*
 * 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.ImageQualityOutcome;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;

/**
 * Details about the image quality of the document.
 */
@ApiModel(description = "Details about the image quality of the document.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class ImageQualityDetails {
  public static final String SERIALIZED_NAME_GLARE_CHECK = "glare_check";
  @SerializedName(SERIALIZED_NAME_GLARE_CHECK)
  private ImageQualityOutcome glareCheck;

  public static final String SERIALIZED_NAME_DIMENSIONS_CHECK = "dimensions_check";
  @SerializedName(SERIALIZED_NAME_DIMENSIONS_CHECK)
  private ImageQualityOutcome dimensionsCheck;

  public static final String SERIALIZED_NAME_BLUR_CHECK = "blur_check";
  @SerializedName(SERIALIZED_NAME_BLUR_CHECK)
  private ImageQualityOutcome blurCheck;


  public ImageQualityDetails glareCheck(ImageQualityOutcome glareCheck) {
    
    this.glareCheck = glareCheck;
    return this;
  }

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

  public ImageQualityOutcome getGlareCheck() {
    return glareCheck;
  }


  public void setGlareCheck(ImageQualityOutcome glareCheck) {
    this.glareCheck = glareCheck;
  }


  public ImageQualityDetails dimensionsCheck(ImageQualityOutcome dimensionsCheck) {
    
    this.dimensionsCheck = dimensionsCheck;
    return this;
  }

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

  public ImageQualityOutcome getDimensionsCheck() {
    return dimensionsCheck;
  }


  public void setDimensionsCheck(ImageQualityOutcome dimensionsCheck) {
    this.dimensionsCheck = dimensionsCheck;
  }


  public ImageQualityDetails blurCheck(ImageQualityOutcome blurCheck) {
    
    this.blurCheck = blurCheck;
    return this;
  }

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

  public ImageQualityOutcome getBlurCheck() {
    return blurCheck;
  }


  public void setBlurCheck(ImageQualityOutcome blurCheck) {
    this.blurCheck = blurCheck;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ImageQualityDetails imageQualityDetails = (ImageQualityDetails) o;
    return Objects.equals(this.glareCheck, imageQualityDetails.glareCheck) &&
        Objects.equals(this.dimensionsCheck, imageQualityDetails.dimensionsCheck) &&
        Objects.equals(this.blurCheck, imageQualityDetails.blurCheck);
  }

  @Override
  public int hashCode() {
    return Objects.hash(glareCheck, dimensionsCheck, blurCheck);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ImageQualityDetails {\n");
    sb.append("    glareCheck: ").append(toIndentedString(glareCheck)).append("\n");
    sb.append("    dimensionsCheck: ").append(toIndentedString(dimensionsCheck)).append("\n");
    sb.append("    blurCheck: ").append(toIndentedString(blurCheck)).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    ");
  }

}

