All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xero.models.payrollau.SuperFundProducts Maven / Gradle / Ivy

/*
 * Xero Payroll AU API
 * This is the Xero Payroll API for orgs in Australia region.
 *
 * Contact: [email protected]
 *
 * 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.xero.models.payrollau;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.xero.api.StringUtil;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/** SuperFundProducts */
public class SuperFundProducts {
  StringUtil util = new StringUtil();

  @JsonProperty("SuperFundProducts")
  private List superFundProducts = new ArrayList();
  /**
   * superFundProducts
   *
   * @param superFundProducts List<SuperFundProduct>
   * @return SuperFundProducts
   */
  public SuperFundProducts superFundProducts(List superFundProducts) {
    this.superFundProducts = superFundProducts;
    return this;
  }

  /**
   * superFundProducts
   *
   * @param superFundProductsItem SuperFundProduct
   * @return SuperFundProducts
   */
  public SuperFundProducts addSuperFundProductsItem(SuperFundProduct superFundProductsItem) {
    if (this.superFundProducts == null) {
      this.superFundProducts = new ArrayList();
    }
    this.superFundProducts.add(superFundProductsItem);
    return this;
  }

  /**
   * Get superFundProducts
   *
   * @return superFundProducts
   */
  @ApiModelProperty(value = "")
  /**
   * superFundProducts
   *
   * @return superFundProducts List
   */
  public List getSuperFundProducts() {
    return superFundProducts;
  }

  /**
   * superFundProducts
   *
   * @param superFundProducts List<SuperFundProduct>
   */
  public void setSuperFundProducts(List superFundProducts) {
    this.superFundProducts = superFundProducts;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    SuperFundProducts superFundProducts = (SuperFundProducts) o;
    return Objects.equals(this.superFundProducts, superFundProducts.superFundProducts);
  }

  @Override
  public int hashCode() {
    return Objects.hash(superFundProducts);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class SuperFundProducts {\n");
    sb.append("    superFundProducts: ").append(toIndentedString(superFundProducts)).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(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy