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

com.kintone.client.api.app.UpdateAppActionsResponseBody 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.ActionId;
import java.util.Map;

/**
 * A response object for Update App Actions Settings API.
 */
public final class UpdateAppActionsResponseBody implements KintoneResponseBody {
    /**
     * An object containing data of the Action settings.
     */
    private final Map actions;
    /**
     * The revision number of the App settings.
     */
    private final long revision;

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

    /**
     * An object containing data of the Action settings.
     */
    @java.lang.SuppressWarnings("all")
    public Map getActions() {
        return this.actions;
    }

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "UpdateAppActionsResponseBody(actions=" + this.getActions() + ", revision=" + this.getRevision() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy