com.katalon.testops.model.UserSettingResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testops-client-openapi Show documentation
Show all versions of testops-client-openapi Show documentation
Katalon TestOps Client generated by OpenAPI
/*
* Katalon TestOps API reference
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.katalon.testops.model;
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 io.swagger.v3.oas.annotations.media.Schema;
/**
* UserSettingResource
*/
public class UserSettingResource {
@JsonProperty("mailJobStart")
private Boolean mailJobStart = null;
@JsonProperty("mailJobEnd")
private Boolean mailJobEnd = null;
@JsonProperty("mailExecution")
private Boolean mailExecution = null;
@JsonProperty("mailExecutionStatus")
private String mailExecutionStatus = null;
@JsonProperty("mailWeeklyUpdate")
private Boolean mailWeeklyUpdate = null;
public UserSettingResource mailJobStart(Boolean mailJobStart) {
this.mailJobStart = mailJobStart;
return this;
}
/**
* Get mailJobStart
* @return mailJobStart
**/
@Schema(description = "")
public Boolean isMailJobStart() {
return mailJobStart;
}
public void setMailJobStart(Boolean mailJobStart) {
this.mailJobStart = mailJobStart;
}
public UserSettingResource mailJobEnd(Boolean mailJobEnd) {
this.mailJobEnd = mailJobEnd;
return this;
}
/**
* Get mailJobEnd
* @return mailJobEnd
**/
@Schema(description = "")
public Boolean isMailJobEnd() {
return mailJobEnd;
}
public void setMailJobEnd(Boolean mailJobEnd) {
this.mailJobEnd = mailJobEnd;
}
public UserSettingResource mailExecution(Boolean mailExecution) {
this.mailExecution = mailExecution;
return this;
}
/**
* Get mailExecution
* @return mailExecution
**/
@Schema(description = "")
public Boolean isMailExecution() {
return mailExecution;
}
public void setMailExecution(Boolean mailExecution) {
this.mailExecution = mailExecution;
}
public UserSettingResource mailExecutionStatus(String mailExecutionStatus) {
this.mailExecutionStatus = mailExecutionStatus;
return this;
}
/**
* Get mailExecutionStatus
* @return mailExecutionStatus
**/
@Schema(description = "")
public String getMailExecutionStatus() {
return mailExecutionStatus;
}
public void setMailExecutionStatus(String mailExecutionStatus) {
this.mailExecutionStatus = mailExecutionStatus;
}
public UserSettingResource mailWeeklyUpdate(Boolean mailWeeklyUpdate) {
this.mailWeeklyUpdate = mailWeeklyUpdate;
return this;
}
/**
* Get mailWeeklyUpdate
* @return mailWeeklyUpdate
**/
@Schema(description = "")
public Boolean isMailWeeklyUpdate() {
return mailWeeklyUpdate;
}
public void setMailWeeklyUpdate(Boolean mailWeeklyUpdate) {
this.mailWeeklyUpdate = mailWeeklyUpdate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UserSettingResource userSettingResource = (UserSettingResource) o;
return Objects.equals(this.mailJobStart, userSettingResource.mailJobStart) &&
Objects.equals(this.mailJobEnd, userSettingResource.mailJobEnd) &&
Objects.equals(this.mailExecution, userSettingResource.mailExecution) &&
Objects.equals(this.mailExecutionStatus, userSettingResource.mailExecutionStatus) &&
Objects.equals(this.mailWeeklyUpdate, userSettingResource.mailWeeklyUpdate);
}
@Override
public int hashCode() {
return Objects.hash(mailJobStart, mailJobEnd, mailExecution, mailExecutionStatus, mailWeeklyUpdate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserSettingResource {\n");
sb.append(" mailJobStart: ").append(toIndentedString(mailJobStart)).append("\n");
sb.append(" mailJobEnd: ").append(toIndentedString(mailJobEnd)).append("\n");
sb.append(" mailExecution: ").append(toIndentedString(mailExecution)).append("\n");
sb.append(" mailExecutionStatus: ").append(toIndentedString(mailExecutionStatus)).append("\n");
sb.append(" mailWeeklyUpdate: ").append(toIndentedString(mailWeeklyUpdate)).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 ");
}
}