com.kintone.client.model.app.PerRecordNotification Maven / Gradle / Ivy
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.model.app;
import java.util.List;
/**
* An object representing the per record notification settings.
*/
public class PerRecordNotification {
/**
* The notification subject.
*/
private String title;
/**
* The record's filter condition in query string format.
*/
private String filterCond;
/**
* An array of objects containing the recipients of the Per Record Notification.
*/
private List targets;
@java.lang.SuppressWarnings("all")
public PerRecordNotification() {
}
/**
* The notification subject.
*/
@java.lang.SuppressWarnings("all")
public String getTitle() {
return this.title;
}
/**
* The record's filter condition in query string format.
*/
@java.lang.SuppressWarnings("all")
public String getFilterCond() {
return this.filterCond;
}
/**
* An array of objects containing the recipients of the Per Record Notification.
*/
@java.lang.SuppressWarnings("all")
public List getTargets() {
return this.targets;
}
/**
* The notification subject.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public PerRecordNotification setTitle(final String title) {
this.title = title;
return this;
}
/**
* The record's filter condition in query string format.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public PerRecordNotification setFilterCond(final String filterCond) {
this.filterCond = filterCond;
return this;
}
/**
* An array of objects containing the recipients of the Per Record Notification.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public PerRecordNotification setTargets(final List targets) {
this.targets = targets;
return this;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof PerRecordNotification)) return false;
final PerRecordNotification other = (PerRecordNotification) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$title = this.getTitle();
final java.lang.Object other$title = other.getTitle();
if (this$title == null ? other$title != null : !this$title.equals(other$title)) return false;
final java.lang.Object this$filterCond = this.getFilterCond();
final java.lang.Object other$filterCond = other.getFilterCond();
if (this$filterCond == null ? other$filterCond != null : !this$filterCond.equals(other$filterCond)) return false;
final java.lang.Object this$targets = this.getTargets();
final java.lang.Object other$targets = other.getTargets();
if (this$targets == null ? other$targets != null : !this$targets.equals(other$targets)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof PerRecordNotification;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $title = this.getTitle();
result = result * PRIME + ($title == null ? 43 : $title.hashCode());
final java.lang.Object $filterCond = this.getFilterCond();
result = result * PRIME + ($filterCond == null ? 43 : $filterCond.hashCode());
final java.lang.Object $targets = this.getTargets();
result = result * PRIME + ($targets == null ? 43 : $targets.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "PerRecordNotification(title=" + this.getTitle() + ", filterCond=" + this.getFilterCond() + ", targets=" + this.getTargets() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy