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

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

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

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(value = "every", allowGetters = true)
public class EveryHourPeriod implements PeriodicReportPeriod {
    /**
     * The minute when the hourly Periodic Report will be generated.
     */
    private Integer minute;

    /**
     * {@inheritDoc}
     */
    @Override
    public IntervalType getEvery() {
        return IntervalType.HOUR;
    }

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

    /**
     * The minute when the hourly Periodic Report will be generated.
     */
    @java.lang.SuppressWarnings("all")
    public Integer getMinute() {
        return this.minute;
    }

    /**
     * The minute when the hourly Periodic Report will be generated.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public EveryHourPeriod setMinute(final Integer minute) {
        this.minute = minute;
        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 EveryHourPeriod)) return false;
        final EveryHourPeriod other = (EveryHourPeriod) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$minute = this.getMinute();
        final java.lang.Object other$minute = other.getMinute();
        if (this$minute == null ? other$minute != null : !this$minute.equals(other$minute)) return false;
        return true;
    }

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

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "EveryHourPeriod(minute=" + this.getMinute() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy