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

/**
 * Specifies options for initializing Link for use with the Base Report product, specifically the &#x60;client_report_id&#x60;.
 */
@ApiModel(description = "Specifies options for initializing Link for use with the Base Report product, specifically the `client_report_id`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class LinkTokenCreateRequestCraOptionsBaseReport {
  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_GSE_OPTIONS = "gse_options";
  @SerializedName(SERIALIZED_NAME_GSE_OPTIONS)
  private LinkTokenCreateRequestCraOptionsBaseReportGSEOptions gseOptions;

  public static final String SERIALIZED_NAME_REQUIRE_IDENTITY = "require_identity";
  @SerializedName(SERIALIZED_NAME_REQUIRE_IDENTITY)
  private Boolean requireIdentity;


  public LinkTokenCreateRequestCraOptionsBaseReport 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 LinkTokenCreateRequestCraOptionsBaseReport gseOptions(LinkTokenCreateRequestCraOptionsBaseReportGSEOptions gseOptions) {
    
    this.gseOptions = gseOptions;
    return this;
  }

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

  public LinkTokenCreateRequestCraOptionsBaseReportGSEOptions getGseOptions() {
    return gseOptions;
  }


  public void setGseOptions(LinkTokenCreateRequestCraOptionsBaseReportGSEOptions gseOptions) {
    this.gseOptions = gseOptions;
  }


  public LinkTokenCreateRequestCraOptionsBaseReport requireIdentity(Boolean requireIdentity) {
    
    this.requireIdentity = requireIdentity;
    return this;
  }

   /**
   * Indicates that the report must include identity information. If identity information is not available, the report will fail.
   * @return requireIdentity
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "Indicates that the report must include identity information. If identity information is not available, the report will fail.")

  public Boolean getRequireIdentity() {
    return requireIdentity;
  }


  public void setRequireIdentity(Boolean requireIdentity) {
    this.requireIdentity = requireIdentity;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    LinkTokenCreateRequestCraOptionsBaseReport linkTokenCreateRequestCraOptionsBaseReport = (LinkTokenCreateRequestCraOptionsBaseReport) o;
    return Objects.equals(this.clientReportId, linkTokenCreateRequestCraOptionsBaseReport.clientReportId) &&
        Objects.equals(this.gseOptions, linkTokenCreateRequestCraOptionsBaseReport.gseOptions) &&
        Objects.equals(this.requireIdentity, linkTokenCreateRequestCraOptionsBaseReport.requireIdentity);
  }

  @Override
  public int hashCode() {
    return Objects.hash(clientReportId, gseOptions, requireIdentity);
  }

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

}

