
com.xero.models.payrollnz.PayRunCalendarObject Maven / Gradle / Ivy
/*
* Xero Payroll NZ
* This is the Xero Payroll API for orgs in the NZ 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.payrollnz;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.xero.api.StringUtil;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
/** PayRunCalendarObject */
public class PayRunCalendarObject {
StringUtil util = new StringUtil();
@JsonProperty("pagination")
private Pagination pagination;
@JsonProperty("problem")
private Problem problem;
@JsonProperty("payRunCalendar")
private PayRunCalendar payRunCalendar;
/**
* pagination
*
* @param pagination Pagination
* @return PayRunCalendarObject
*/
public PayRunCalendarObject pagination(Pagination pagination) {
this.pagination = pagination;
return this;
}
/**
* Get pagination
*
* @return pagination
*/
@ApiModelProperty(value = "")
/**
* pagination
*
* @return pagination Pagination
*/
public Pagination getPagination() {
return pagination;
}
/**
* pagination
*
* @param pagination Pagination
*/
public void setPagination(Pagination pagination) {
this.pagination = pagination;
}
/**
* problem
*
* @param problem Problem
* @return PayRunCalendarObject
*/
public PayRunCalendarObject problem(Problem problem) {
this.problem = problem;
return this;
}
/**
* Get problem
*
* @return problem
*/
@ApiModelProperty(value = "")
/**
* problem
*
* @return problem Problem
*/
public Problem getProblem() {
return problem;
}
/**
* problem
*
* @param problem Problem
*/
public void setProblem(Problem problem) {
this.problem = problem;
}
/**
* payRunCalendar
*
* @param payRunCalendar PayRunCalendar
* @return PayRunCalendarObject
*/
public PayRunCalendarObject payRunCalendar(PayRunCalendar payRunCalendar) {
this.payRunCalendar = payRunCalendar;
return this;
}
/**
* Get payRunCalendar
*
* @return payRunCalendar
*/
@ApiModelProperty(value = "")
/**
* payRunCalendar
*
* @return payRunCalendar PayRunCalendar
*/
public PayRunCalendar getPayRunCalendar() {
return payRunCalendar;
}
/**
* payRunCalendar
*
* @param payRunCalendar PayRunCalendar
*/
public void setPayRunCalendar(PayRunCalendar payRunCalendar) {
this.payRunCalendar = payRunCalendar;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PayRunCalendarObject payRunCalendarObject = (PayRunCalendarObject) o;
return Objects.equals(this.pagination, payRunCalendarObject.pagination)
&& Objects.equals(this.problem, payRunCalendarObject.problem)
&& Objects.equals(this.payRunCalendar, payRunCalendarObject.payRunCalendar);
}
@Override
public int hashCode() {
return Objects.hash(pagination, problem, payRunCalendar);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PayRunCalendarObject {\n");
sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n");
sb.append(" problem: ").append(toIndentedString(problem)).append("\n");
sb.append(" payRunCalendar: ").append(toIndentedString(payRunCalendar)).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