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

/**
 * Contains data for the CRA Verification Report.
 */
@ApiModel(description = "Contains data for the CRA Verification Report.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class CraVerificationReport {
  public static final String SERIALIZED_NAME_REPORT_ID = "report_id";
  @SerializedName(SERIALIZED_NAME_REPORT_ID)
  private String reportId;

  public static final String SERIALIZED_NAME_CLIENT_REPORT_ID = "client_report_id";
  @SerializedName(SERIALIZED_NAME_CLIENT_REPORT_ID)
  private String clientReportId;

  public static final String SERIALIZED_NAME_VOA = "voa";
  @SerializedName(SERIALIZED_NAME_VOA)
  private CraVoaReport voa;

  public static final String SERIALIZED_NAME_EMPLOYMENT_REFRESH = "employment_refresh";
  @SerializedName(SERIALIZED_NAME_EMPLOYMENT_REFRESH)
  private CraEmploymentRefreshReport employmentRefresh;


  public CraVerificationReport reportId(String reportId) {
    
    this.reportId = reportId;
    return this;
  }

   /**
   * The unique identifier associated with the Verification Report object. This ID will be the same as the Base Report ID.
   * @return reportId
  **/
  @ApiModelProperty(required = true, value = "The unique identifier associated with the Verification Report object. This ID will be the same as the Base Report ID.")

  public String getReportId() {
    return reportId;
  }


  public void setReportId(String reportId) {
    this.reportId = reportId;
  }


  public CraVerificationReport clientReportId(String clientReportId) {
    
    this.clientReportId = clientReportId;
    return this;
  }

   /**
   * Client-generated identifier, which can be used by lenders to track loan applications.
   * @return clientReportId
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "Client-generated identifier, which can be used by lenders to track loan applications.")

  public String getClientReportId() {
    return clientReportId;
  }


  public void setClientReportId(String clientReportId) {
    this.clientReportId = clientReportId;
  }


  public CraVerificationReport voa(CraVoaReport voa) {
    
    this.voa = voa;
    return this;
  }

   /**
   * Get voa
   * @return voa
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public CraVoaReport getVoa() {
    return voa;
  }


  public void setVoa(CraVoaReport voa) {
    this.voa = voa;
  }


  public CraVerificationReport employmentRefresh(CraEmploymentRefreshReport employmentRefresh) {
    
    this.employmentRefresh = employmentRefresh;
    return this;
  }

   /**
   * Get employmentRefresh
   * @return employmentRefresh
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public CraEmploymentRefreshReport getEmploymentRefresh() {
    return employmentRefresh;
  }


  public void setEmploymentRefresh(CraEmploymentRefreshReport employmentRefresh) {
    this.employmentRefresh = employmentRefresh;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CraVerificationReport craVerificationReport = (CraVerificationReport) o;
    return Objects.equals(this.reportId, craVerificationReport.reportId) &&
        Objects.equals(this.clientReportId, craVerificationReport.clientReportId) &&
        Objects.equals(this.voa, craVerificationReport.voa) &&
        Objects.equals(this.employmentRefresh, craVerificationReport.employmentRefresh);
  }

  @Override
  public int hashCode() {
    return Objects.hash(reportId, clientReportId, voa, employmentRefresh);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CraVerificationReport {\n");
    sb.append("    reportId: ").append(toIndentedString(reportId)).append("\n");
    sb.append("    clientReportId: ").append(toIndentedString(clientReportId)).append("\n");
    sb.append("    voa: ").append(toIndentedString(voa)).append("\n");
    sb.append("    employmentRefresh: ").append(toIndentedString(employmentRefresh)).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    ");
  }

}

