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

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

/**
 * A response object for Get App Settings API.
 */
public final class GetAppSettingsResponseBody implements KintoneResponseBody {
    /**
     * The App name.
     */
    private final String name;
    /**
     * The app description in HTML format.
     */
    private final String description;
    /**
     * An object containing data of the App icon.
     */
    private final AppIcon icon;
    /**
     * The color theme.
     */
    private final String theme;
    /**
     * The revision number of the App settings.
     */
    private final long revision;

    @java.beans.ConstructorProperties({"name", "description", "icon", "theme", "revision"})
    @java.lang.SuppressWarnings("all")
    public GetAppSettingsResponseBody(final String name, final String description, final AppIcon icon, final String theme, final long revision) {
        this.name = name;
        this.description = description;
        this.icon = icon;
        this.theme = theme;
        this.revision = revision;
    }

    /**
     * The App name.
     */
    @java.lang.SuppressWarnings("all")
    public String getName() {
        return this.name;
    }

    /**
     * The app description in HTML format.
     */
    @java.lang.SuppressWarnings("all")
    public String getDescription() {
        return this.description;
    }

    /**
     * An object containing data of the App icon.
     */
    @java.lang.SuppressWarnings("all")
    public AppIcon getIcon() {
        return this.icon;
    }

    /**
     * The color theme.
     */
    @java.lang.SuppressWarnings("all")
    public String getTheme() {
        return this.theme;
    }

    /**
     * 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 GetAppSettingsResponseBody)) return false;
        final GetAppSettingsResponseBody other = (GetAppSettingsResponseBody) o;
        if (this.getRevision() != other.getRevision()) return false;
        final java.lang.Object this$name = this.getName();
        final java.lang.Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false;
        final java.lang.Object this$description = this.getDescription();
        final java.lang.Object other$description = other.getDescription();
        if (this$description == null ? other$description != null : !this$description.equals(other$description)) return false;
        final java.lang.Object this$icon = this.getIcon();
        final java.lang.Object other$icon = other.getIcon();
        if (this$icon == null ? other$icon != null : !this$icon.equals(other$icon)) return false;
        final java.lang.Object this$theme = this.getTheme();
        final java.lang.Object other$theme = other.getTheme();
        if (this$theme == null ? other$theme != null : !this$theme.equals(other$theme)) 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 $name = this.getName();
        result = result * PRIME + ($name == null ? 43 : $name.hashCode());
        final java.lang.Object $description = this.getDescription();
        result = result * PRIME + ($description == null ? 43 : $description.hashCode());
        final java.lang.Object $icon = this.getIcon();
        result = result * PRIME + ($icon == null ? 43 : $icon.hashCode());
        final java.lang.Object $theme = this.getTheme();
        result = result * PRIME + ($theme == null ? 43 : $theme.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "GetAppSettingsResponseBody(name=" + this.getName() + ", description=" + this.getDescription() + ", icon=" + this.getIcon() + ", theme=" + this.getTheme() + ", revision=" + this.getRevision() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy