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

com.kintone.client.api.space.DeleteGuestsRequest Maven / Gradle / Ivy

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

import com.kintone.client.api.KintoneRequest;
import java.util.List;

/**
 * A request object for Delete Guests API.
 */
public class DeleteGuestsRequest implements KintoneRequest {
    /**
     * A list of email addresses of Guest users (required).
     */
    private List guests;

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

    /**
     * A list of email addresses of Guest users (required).
     */
    @java.lang.SuppressWarnings("all")
    public List getGuests() {
        return this.guests;
    }

    /**
     * A list of email addresses of Guest users (required).
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public DeleteGuestsRequest setGuests(final List guests) {
        this.guests = guests;
        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 DeleteGuestsRequest)) return false;
        final DeleteGuestsRequest other = (DeleteGuestsRequest) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$guests = this.getGuests();
        final java.lang.Object other$guests = other.getGuests();
        if (this$guests == null ? other$guests != null : !this$guests.equals(other$guests)) return false;
        return true;
    }

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

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "DeleteGuestsRequest(guests=" + this.getGuests() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy