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

/**
 * Object containing information on account fee transactions for the 401k account.
 */
@ApiModel(description = "Object containing information on account fee transactions for the 401k account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class InvestmentsAuth401kFeeDetails {
  public static final String SERIALIZED_NAME_ACCOUNT_FEE_COUNT12M = "account_fee_count_12m";
  @SerializedName(SERIALIZED_NAME_ACCOUNT_FEE_COUNT12M)
  private Integer accountFeeCount12m;

  public static final String SERIALIZED_NAME_ACCOUNT_FEE_AMOUNT12M = "account_fee_amount_12m";
  @SerializedName(SERIALIZED_NAME_ACCOUNT_FEE_AMOUNT12M)
  private Float accountFeeAmount12m;


  public InvestmentsAuth401kFeeDetails accountFeeCount12m(Integer accountFeeCount12m) {
    
    this.accountFeeCount12m = accountFeeCount12m;
    return this;
  }

   /**
   * Number of account fee transactions on this account, for the past 12 months.
   * @return accountFeeCount12m
  **/
  @ApiModelProperty(required = true, value = "Number of account fee transactions on this account, for the past 12 months.")

  public Integer getAccountFeeCount12m() {
    return accountFeeCount12m;
  }


  public void setAccountFeeCount12m(Integer accountFeeCount12m) {
    this.accountFeeCount12m = accountFeeCount12m;
  }


  public InvestmentsAuth401kFeeDetails accountFeeAmount12m(Float accountFeeAmount12m) {
    
    this.accountFeeAmount12m = accountFeeAmount12m;
    return this;
  }

   /**
   * Sum of account fee transactions on this account, for the past 12 months.
   * @return accountFeeAmount12m
  **/
  @ApiModelProperty(required = true, value = "Sum of account fee transactions on this account, for the past 12 months.")

  public Float getAccountFeeAmount12m() {
    return accountFeeAmount12m;
  }


  public void setAccountFeeAmount12m(Float accountFeeAmount12m) {
    this.accountFeeAmount12m = accountFeeAmount12m;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    InvestmentsAuth401kFeeDetails investmentsAuth401kFeeDetails = (InvestmentsAuth401kFeeDetails) o;
    return Objects.equals(this.accountFeeCount12m, investmentsAuth401kFeeDetails.accountFeeCount12m) &&
        Objects.equals(this.accountFeeAmount12m, investmentsAuth401kFeeDetails.accountFeeAmount12m);
  }

  @Override
  public int hashCode() {
    return Objects.hash(accountFeeCount12m, accountFeeAmount12m);
  }

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

}

