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

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

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

/**
 * Status settings information for getting and updating the Process Management Settings.
 */
public class ProcessState {
    /**
     * The status name.
     */
    private String name;
    /**
     * The display order (ascending) of the Status, when listed with the other statuses.
     */
    private String index;
    /**
     * An object containing data of the Assignee settings.
     */
    private ProcessAssignee assignee;

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

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

    /**
     * The display order (ascending) of the Status, when listed with the other statuses.
     */
    @java.lang.SuppressWarnings("all")
    public String getIndex() {
        return this.index;
    }

    /**
     * An object containing data of the Assignee settings.
     */
    @java.lang.SuppressWarnings("all")
    public ProcessAssignee getAssignee() {
        return this.assignee;
    }

    /**
     * The status name.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public ProcessState setName(final String name) {
        this.name = name;
        return this;
    }

    /**
     * The display order (ascending) of the Status, when listed with the other statuses.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public ProcessState setIndex(final String index) {
        this.index = index;
        return this;
    }

    /**
     * An object containing data of the Assignee settings.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public ProcessState setAssignee(final ProcessAssignee assignee) {
        this.assignee = assignee;
        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 ProcessState)) return false;
        final ProcessState other = (ProcessState) o;
        if (!other.canEqual((java.lang.Object) this)) 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$index = this.getIndex();
        final java.lang.Object other$index = other.getIndex();
        if (this$index == null ? other$index != null : !this$index.equals(other$index)) return false;
        final java.lang.Object this$assignee = this.getAssignee();
        final java.lang.Object other$assignee = other.getAssignee();
        if (this$assignee == null ? other$assignee != null : !this$assignee.equals(other$assignee)) return false;
        return true;
    }

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final java.lang.Object $name = this.getName();
        result = result * PRIME + ($name == null ? 43 : $name.hashCode());
        final java.lang.Object $index = this.getIndex();
        result = result * PRIME + ($index == null ? 43 : $index.hashCode());
        final java.lang.Object $assignee = this.getAssignee();
        result = result * PRIME + ($assignee == null ? 43 : $assignee.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "ProcessState(name=" + this.getName() + ", index=" + this.getIndex() + ", assignee=" + this.getAssignee() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy