com.kintone.client.api.app.GetReminderNotificationsResponseBody Maven / Gradle / Ivy
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.api.app;
import com.kintone.client.api.KintoneResponseBody;
import com.kintone.client.model.app.ReminderNotification;
import java.util.List;
/**
* A response object for Get Reminder Notification Settings API.
*/
public final class GetReminderNotificationsResponseBody implements KintoneResponseBody {
/**
* An array of objects consisting of "Notification Trigger" options. These options define when the
* notifications will be sent out, under what conditions, and the recipients.
*/
private final List notifications;
/**
* The timezone that determines the Reminder notification's timing. This reflects the "Reminder
* Time Zone" dropdown option.
*/
private final String timezone;
/**
* The revision number of the App settings.
*/
private final long revision;
@java.beans.ConstructorProperties({"notifications", "timezone", "revision"})
@java.lang.SuppressWarnings("all")
public GetReminderNotificationsResponseBody(final List notifications, final String timezone, final long revision) {
this.notifications = notifications;
this.timezone = timezone;
this.revision = revision;
}
/**
* An array of objects consisting of "Notification Trigger" options. These options define when the
* notifications will be sent out, under what conditions, and the recipients.
*/
@java.lang.SuppressWarnings("all")
public List getNotifications() {
return this.notifications;
}
/**
* The timezone that determines the Reminder notification's timing. This reflects the "Reminder
* Time Zone" dropdown option.
*/
@java.lang.SuppressWarnings("all")
public String getTimezone() {
return this.timezone;
}
/**
* The revision number of the App settings.
*/
@java.lang.SuppressWarnings("all")
public long getRevision() {
return this.revision;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof GetReminderNotificationsResponseBody)) return false;
final GetReminderNotificationsResponseBody other = (GetReminderNotificationsResponseBody) o;
if (this.getRevision() != other.getRevision()) return false;
final java.lang.Object this$notifications = this.getNotifications();
final java.lang.Object other$notifications = other.getNotifications();
if (this$notifications == null ? other$notifications != null : !this$notifications.equals(other$notifications)) return false;
final java.lang.Object this$timezone = this.getTimezone();
final java.lang.Object other$timezone = other.getTimezone();
if (this$timezone == null ? other$timezone != null : !this$timezone.equals(other$timezone)) return false;
return true;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final long $revision = this.getRevision();
result = result * PRIME + (int) ($revision >>> 32 ^ $revision);
final java.lang.Object $notifications = this.getNotifications();
result = result * PRIME + ($notifications == null ? 43 : $notifications.hashCode());
final java.lang.Object $timezone = this.getTimezone();
result = result * PRIME + ($timezone == null ? 43 : $timezone.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "GetReminderNotificationsResponseBody(notifications=" + this.getNotifications() + ", timezone=" + this.getTimezone() + ", revision=" + this.getRevision() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy