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

com.kintone.client.model.app.report.PeriodicReport Maven / Gradle / Ivy

// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.model.app.report;

/**
 * An object containing the "Periodic Reports" options of a Graph.
 */
public class PeriodicReport {
    /**
     * The activation status of the "Periodic Reports" option.
     */
    private Boolean active;
    /**
     * An object containing the "Period" options.
     */
    private PeriodicReportPeriod period;

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

    /**
     * The activation status of the "Periodic Reports" option.
     */
    @java.lang.SuppressWarnings("all")
    public Boolean getActive() {
        return this.active;
    }

    /**
     * An object containing the "Period" options.
     */
    @java.lang.SuppressWarnings("all")
    public PeriodicReportPeriod getPeriod() {
        return this.period;
    }

    /**
     * The activation status of the "Periodic Reports" option.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public PeriodicReport setActive(final Boolean active) {
        this.active = active;
        return this;
    }

    /**
     * An object containing the "Period" options.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public PeriodicReport setPeriod(final PeriodicReportPeriod period) {
        this.period = period;
        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 PeriodicReport)) return false;
        final PeriodicReport other = (PeriodicReport) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$active = this.getActive();
        final java.lang.Object other$active = other.getActive();
        if (this$active == null ? other$active != null : !this$active.equals(other$active)) return false;
        final java.lang.Object this$period = this.getPeriod();
        final java.lang.Object other$period = other.getPeriod();
        if (this$period == null ? other$period != null : !this$period.equals(other$period)) return false;
        return true;
    }

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

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "PeriodicReport(active=" + this.getActive() + ", period=" + this.getPeriod() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy