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

com.kintone.client.api.app.UpdateReportsResponseBody 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.report.ReportId;
import java.util.Map;

/**
 * A response object for Update Graphs API.
 */
public final class UpdateReportsResponseBody implements KintoneResponseBody {
    /**
     * An object listing Graph information.
     */
    private final Map reports;
    /**
     * The revision number of the App settings.
     */
    private final long revision;

    @java.beans.ConstructorProperties({"reports", "revision"})
    @java.lang.SuppressWarnings("all")
    public UpdateReportsResponseBody(final Map reports, final long revision) {
        this.reports = reports;
        this.revision = revision;
    }

    /**
     * An object listing Graph information.
     */
    @java.lang.SuppressWarnings("all")
    public Map getReports() {
        return this.reports;
    }

    /**
     * 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 UpdateReportsResponseBody)) return false;
        final UpdateReportsResponseBody other = (UpdateReportsResponseBody) o;
        if (this.getRevision() != other.getRevision()) return false;
        final java.lang.Object this$reports = this.getReports();
        final java.lang.Object other$reports = other.getReports();
        if (this$reports == null ? other$reports != null : !this$reports.equals(other$reports)) 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 $reports = this.getReports();
        result = result * PRIME + ($reports == null ? 43 : $reports.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "UpdateReportsResponseBody(reports=" + this.getReports() + ", revision=" + this.getRevision() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy