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

com.kintone.client.model.app.ProcessAssignee 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;

/**
 * Assignee settings information for getting and updating the Process Management Settings.
 */
public class ProcessAssignee {
    /**
     * The Assignee List type of the Status.
     */
    private ProcessAssigneeType type;
    /**
     * A list of the Assignees.
     */
    private List entities;

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

    /**
     * The Assignee List type of the Status.
     */
    @java.lang.SuppressWarnings("all")
    public ProcessAssigneeType getType() {
        return this.type;
    }

    /**
     * A list of the Assignees.
     */
    @java.lang.SuppressWarnings("all")
    public List getEntities() {
        return this.entities;
    }

    /**
     * The Assignee List type of the Status.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public ProcessAssignee setType(final ProcessAssigneeType type) {
        this.type = type;
        return this;
    }

    /**
     * A list of the Assignees.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public ProcessAssignee setEntities(final List entities) {
        this.entities = entities;
        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 ProcessAssignee)) return false;
        final ProcessAssignee other = (ProcessAssignee) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$type = this.getType();
        final java.lang.Object other$type = other.getType();
        if (this$type == null ? other$type != null : !this$type.equals(other$type)) return false;
        final java.lang.Object this$entities = this.getEntities();
        final java.lang.Object other$entities = other.getEntities();
        if (this$entities == null ? other$entities != null : !this$entities.equals(other$entities)) return false;
        return true;
    }

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

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "ProcessAssignee(type=" + this.getType() + ", entities=" + this.getEntities() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy