All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kintone.client.api.app.GetReminderNotificationsRequest 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.KintoneRequest;

/**
 * A request object for Get Reminder Notification Settings API.
 */
public class GetReminderNotificationsRequest implements KintoneRequest {
    /**
     * The App ID (required).
     */
    private Long app;
    /**
     * The localization language setting (optional). If set to null, the default names will be
     * retrieved.
     */
    private String lang;

    @java.lang.SuppressWarnings("all")
    public GetReminderNotificationsRequest() {
    }

    /**
     * The App ID (required).
     */
    @java.lang.SuppressWarnings("all")
    public Long getApp() {
        return this.app;
    }

    /**
     * The localization language setting (optional). If set to null, the default names will be
     * retrieved.
     */
    @java.lang.SuppressWarnings("all")
    public String getLang() {
        return this.lang;
    }

    /**
     * The App ID (required).
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GetReminderNotificationsRequest setApp(final Long app) {
        this.app = app;
        return this;
    }

    /**
     * The localization language setting (optional). If set to null, the default names will be
     * retrieved.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GetReminderNotificationsRequest setLang(final String lang) {
        this.lang = lang;
        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 GetReminderNotificationsRequest)) return false;
        final GetReminderNotificationsRequest other = (GetReminderNotificationsRequest) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$app = this.getApp();
        final java.lang.Object other$app = other.getApp();
        if (this$app == null ? other$app != null : !this$app.equals(other$app)) return false;
        final java.lang.Object this$lang = this.getLang();
        final java.lang.Object other$lang = other.getLang();
        if (this$lang == null ? other$lang != null : !this$lang.equals(other$lang)) return false;
        return true;
    }

    @java.lang.SuppressWarnings("all")
    protected boolean canEqual(final java.lang.Object other) {
        return other instanceof GetReminderNotificationsRequest;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final java.lang.Object $app = this.getApp();
        result = result * PRIME + ($app == null ? 43 : $app.hashCode());
        final java.lang.Object $lang = this.getLang();
        result = result * PRIME + ($lang == null ? 43 : $lang.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "GetReminderNotificationsRequest(app=" + this.getApp() + ", lang=" + this.getLang() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy