com.kintone.client.api.app.GetAppActionsResponseBody 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.AppAction;
import java.util.Map;
/**
* A response object for Get App Action Settings API.
*/
public final class GetAppActionsResponseBody implements KintoneResponseBody {
/**
* An object of Action settings. The object's key is the Action's unique identifier, which is set
* as the Action's name in its default language settings (this is regardless of the lang request
* parameter's value). The values of the key are the various Action settings associated with that
* Action.
*/
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 GetAppActionsResponseBody(final Map actions, final long revision) {
this.actions = actions;
this.revision = revision;
}
/**
* An object of Action settings. The object's key is the Action's unique identifier, which is set
* as the Action's name in its default language settings (this is regardless of the lang request
* parameter's value). The values of the key are the various Action settings associated with that
* Action.
*/
@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 GetAppActionsResponseBody)) return false;
final GetAppActionsResponseBody other = (GetAppActionsResponseBody) 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 "GetAppActionsResponseBody(actions=" + this.getActions() + ", revision=" + this.getRevision() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy