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

/**
 * Response schema for &#x60;/beta/partner/customer/v1/enable&#x60;.
 */
@ApiModel(description = "Response schema for `/beta/partner/customer/v1/enable`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class BetaPartnerCustomerV1EnableResponse {
  public static final String SERIALIZED_NAME_END_CUSTOMER_CLIENT_ID = "end_customer_client_id";
  @SerializedName(SERIALIZED_NAME_END_CUSTOMER_CLIENT_ID)
  private String endCustomerClientId;

  public static final String SERIALIZED_NAME_STATUS = "status";
  @SerializedName(SERIALIZED_NAME_STATUS)
  private PartnerEndCustomerStatus status;

  public static final String SERIALIZED_NAME_PRODUCT_STATUSES = "product_statuses";
  @SerializedName(SERIALIZED_NAME_PRODUCT_STATUSES)
  private Object productStatuses;

  public static final String SERIALIZED_NAME_PRODUCTION_SECRET = "production_secret";
  @SerializedName(SERIALIZED_NAME_PRODUCTION_SECRET)
  private String productionSecret;

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


  public BetaPartnerCustomerV1EnableResponse endCustomerClientId(String endCustomerClientId) {
    
    this.endCustomerClientId = endCustomerClientId;
    return this;
  }

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

  public String getEndCustomerClientId() {
    return endCustomerClientId;
  }


  public void setEndCustomerClientId(String endCustomerClientId) {
    this.endCustomerClientId = endCustomerClientId;
  }


  public BetaPartnerCustomerV1EnableResponse status(PartnerEndCustomerStatus status) {
    
    this.status = status;
    return this;
  }

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

  public PartnerEndCustomerStatus getStatus() {
    return status;
  }


  public void setStatus(PartnerEndCustomerStatus status) {
    this.status = status;
  }


  public BetaPartnerCustomerV1EnableResponse productStatuses(Object productStatuses) {
    
    this.productStatuses = productStatuses;
    return this;
  }

   /**
   * Mapping of product names to their current status.
   * @return productStatuses
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "Mapping of product names to their current status.")

  public Object getProductStatuses() {
    return productStatuses;
  }


  public void setProductStatuses(Object productStatuses) {
    this.productStatuses = productStatuses;
  }


  public BetaPartnerCustomerV1EnableResponse productionSecret(String productionSecret) {
    
    this.productionSecret = productionSecret;
    return this;
  }

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

  public String getProductionSecret() {
    return productionSecret;
  }


  public void setProductionSecret(String productionSecret) {
    this.productionSecret = productionSecret;
  }


  public BetaPartnerCustomerV1EnableResponse 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
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(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;
    }
    BetaPartnerCustomerV1EnableResponse betaPartnerCustomerV1EnableResponse = (BetaPartnerCustomerV1EnableResponse) o;
    return Objects.equals(this.endCustomerClientId, betaPartnerCustomerV1EnableResponse.endCustomerClientId) &&
        Objects.equals(this.status, betaPartnerCustomerV1EnableResponse.status) &&
        Objects.equals(this.productStatuses, betaPartnerCustomerV1EnableResponse.productStatuses) &&
        Objects.equals(this.productionSecret, betaPartnerCustomerV1EnableResponse.productionSecret) &&
        Objects.equals(this.requestId, betaPartnerCustomerV1EnableResponse.requestId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(endCustomerClientId, status, productStatuses, productionSecret, requestId);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class BetaPartnerCustomerV1EnableResponse {\n");
    sb.append("    endCustomerClientId: ").append(toIndentedString(endCustomerClientId)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
    sb.append("    productStatuses: ").append(toIndentedString(productStatuses)).append("\n");
    sb.append("    productionSecret: ").append(toIndentedString(productionSecret)).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    ");
  }

}

