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

com.xero.models.payrollau.SettingsTrackingCategoriesEmployeeGroups 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.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
import java.util.UUID;

/** The tracking category used for employees */
@ApiModel(description = "The tracking category used for employees")
public class SettingsTrackingCategoriesEmployeeGroups {
  StringUtil util = new StringUtil();

  @JsonProperty("TrackingCategoryID")
  private UUID trackingCategoryID;

  @JsonProperty("TrackingCategoryName")
  private String trackingCategoryName;
  /**
   * The identifier for the tracking category
   *
   * @param trackingCategoryID UUID
   * @return SettingsTrackingCategoriesEmployeeGroups
   */
  public SettingsTrackingCategoriesEmployeeGroups trackingCategoryID(UUID trackingCategoryID) {
    this.trackingCategoryID = trackingCategoryID;
    return this;
  }

  /**
   * The identifier for the tracking category
   *
   * @return trackingCategoryID
   */
  @ApiModelProperty(
      example = "e0eb6747-7c17-4075-b804-989f8d4e5d39",
      value = "The identifier for the tracking category")
  /**
   * The identifier for the tracking category
   *
   * @return trackingCategoryID UUID
   */
  public UUID getTrackingCategoryID() {
    return trackingCategoryID;
  }

  /**
   * The identifier for the tracking category
   *
   * @param trackingCategoryID UUID
   */
  public void setTrackingCategoryID(UUID trackingCategoryID) {
    this.trackingCategoryID = trackingCategoryID;
  }

  /**
   * Name of the tracking category
   *
   * @param trackingCategoryName String
   * @return SettingsTrackingCategoriesEmployeeGroups
   */
  public SettingsTrackingCategoriesEmployeeGroups trackingCategoryName(
      String trackingCategoryName) {
    this.trackingCategoryName = trackingCategoryName;
    return this;
  }

  /**
   * Name of the tracking category
   *
   * @return trackingCategoryName
   */
  @ApiModelProperty(value = "Name of the tracking category")
  /**
   * Name of the tracking category
   *
   * @return trackingCategoryName String
   */
  public String getTrackingCategoryName() {
    return trackingCategoryName;
  }

  /**
   * Name of the tracking category
   *
   * @param trackingCategoryName String
   */
  public void setTrackingCategoryName(String trackingCategoryName) {
    this.trackingCategoryName = trackingCategoryName;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    SettingsTrackingCategoriesEmployeeGroups settingsTrackingCategoriesEmployeeGroups =
        (SettingsTrackingCategoriesEmployeeGroups) o;
    return Objects.equals(
            this.trackingCategoryID, settingsTrackingCategoriesEmployeeGroups.trackingCategoryID)
        && Objects.equals(
            this.trackingCategoryName,
            settingsTrackingCategoriesEmployeeGroups.trackingCategoryName);
  }

  @Override
  public int hashCode() {
    return Objects.hash(trackingCategoryID, trackingCategoryName);
  }

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