com.xero.models.payrollau.PayItems Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xero-java Show documentation
Show all versions of xero-java Show documentation
This is the official Java SDK for Xero API
/*
* Xero Payroll AU
* This is the Xero Payroll API for orgs in Australia region.
*
* The version of the OpenAPI document: 1.0.0
* 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 java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.xero.models.payrollau.PayItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
/**
* PayItems
*/
public class PayItems {
@JsonProperty("PayItems")
private PayItem payItems = null;
public PayItems payItems(PayItem payItems) {
this.payItems = payItems;
return this;
}
/**
* Get payItems
* @return payItems
**/
@ApiModelProperty(value = "")
public PayItem getPayItems() {
return payItems;
}
public void setPayItems(PayItem payItems) {
this.payItems = payItems;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PayItems payItems = (PayItems) o;
return Objects.equals(this.payItems, payItems.payItems);
}
@Override
public int hashCode() {
return Objects.hash(payItems);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PayItems {\n");
sb.append(" payItems: ").append(toIndentedString(payItems)).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 ");
}
}