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

com.kintone.client.model.app.CustomizeBody Maven / Gradle / Ivy

// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.model.app;

import java.util.List;

/**
 * An object containing data of JavaScript and CSS customizations.
 */
public class CustomizeBody {
    /**
     * A list of JavaScript files or URLs.
     */
    private List js;
    /**
     * A list of CSS files or URLs.
     */
    private List css;

    @java.lang.SuppressWarnings("all")
    public CustomizeBody() {
    }

    /**
     * A list of JavaScript files or URLs.
     */
    @java.lang.SuppressWarnings("all")
    public List getJs() {
        return this.js;
    }

    /**
     * A list of CSS files or URLs.
     */
    @java.lang.SuppressWarnings("all")
    public List getCss() {
        return this.css;
    }

    /**
     * A list of JavaScript files or URLs.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public CustomizeBody setJs(final List js) {
        this.js = js;
        return this;
    }

    /**
     * A list of CSS files or URLs.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public CustomizeBody setCss(final List css) {
        this.css = css;
        return this;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public boolean equals(final java.lang.Object o) {
        if (o == this) return true;
        if (!(o instanceof CustomizeBody)) return false;
        final CustomizeBody other = (CustomizeBody) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$js = this.getJs();
        final java.lang.Object other$js = other.getJs();
        if (this$js == null ? other$js != null : !this$js.equals(other$js)) return false;
        final java.lang.Object this$css = this.getCss();
        final java.lang.Object other$css = other.getCss();
        if (this$css == null ? other$css != null : !this$css.equals(other$css)) return false;
        return true;
    }

    @java.lang.SuppressWarnings("all")
    protected boolean canEqual(final java.lang.Object other) {
        return other instanceof CustomizeBody;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final java.lang.Object $js = this.getJs();
        result = result * PRIME + ($js == null ? 43 : $js.hashCode());
        final java.lang.Object $css = this.getCss();
        result = result * PRIME + ($css == null ? 43 : $css.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "CustomizeBody(js=" + this.getJs() + ", css=" + this.getCss() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy