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

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

/**
 * A response object for Update Process Management API.
 */
public final class UpdateProcessManagementResponseBody implements KintoneResponseBody {
    /**
     * The revision number of the App settings.
     */
    private final long revision;

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

    /**
     * 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 UpdateProcessManagementResponseBody)) return false;
        final UpdateProcessManagementResponseBody other = (UpdateProcessManagementResponseBody) o;
        if (this.getRevision() != other.getRevision()) 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);
        return result;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy