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

com.kintone.client.model.space.GuestUser Maven / Gradle / Ivy

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

import java.util.TimeZone;

/**
 * A Guest user information.
 */
public class GuestUser {
    /**
     * The email address (log in name) of the Guest user.
     */
    private String code;
    /**
     * The log in password of the Guest user.
     */
    private String password;
    /**
     * The timezone of the Guest user.
     */
    private TimeZone timezone;
    /**
     * The language settings of the Guest user.
     */
    private String locale;
    /**
     * The profile image of the Guest user.
     */
    private String image;
    /**
     * The display name of the user.
     */
    private String name;
    /**
     * The Phonetic Surname settings of the Guest User.
     */
    private String surNameReading;
    /**
     * The Phonetic Given Name settings of the Guest User.
     */
    private String givenNameReading;
    /**
     * The Department name to display on the Guest User's profile.
     */
    private String division;
    /**
     * The Phone number to display on the Guest User's profile.
     */
    private String phone;
    /**
     * The Skype Name of the Guest user.
     */
    private String callto;
    /**
     * The Company name to display on the Guest User's profile.
     */
    private String company;

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

    /**
     * The email address (log in name) of the Guest user.
     */
    @java.lang.SuppressWarnings("all")
    public String getCode() {
        return this.code;
    }

    /**
     * The log in password of the Guest user.
     */
    @java.lang.SuppressWarnings("all")
    public String getPassword() {
        return this.password;
    }

    /**
     * The timezone of the Guest user.
     */
    @java.lang.SuppressWarnings("all")
    public TimeZone getTimezone() {
        return this.timezone;
    }

    /**
     * The language settings of the Guest user.
     */
    @java.lang.SuppressWarnings("all")
    public String getLocale() {
        return this.locale;
    }

    /**
     * The profile image of the Guest user.
     */
    @java.lang.SuppressWarnings("all")
    public String getImage() {
        return this.image;
    }

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

    /**
     * The Phonetic Surname settings of the Guest User.
     */
    @java.lang.SuppressWarnings("all")
    public String getSurNameReading() {
        return this.surNameReading;
    }

    /**
     * The Phonetic Given Name settings of the Guest User.
     */
    @java.lang.SuppressWarnings("all")
    public String getGivenNameReading() {
        return this.givenNameReading;
    }

    /**
     * The Department name to display on the Guest User's profile.
     */
    @java.lang.SuppressWarnings("all")
    public String getDivision() {
        return this.division;
    }

    /**
     * The Phone number to display on the Guest User's profile.
     */
    @java.lang.SuppressWarnings("all")
    public String getPhone() {
        return this.phone;
    }

    /**
     * The Skype Name of the Guest user.
     */
    @java.lang.SuppressWarnings("all")
    public String getCallto() {
        return this.callto;
    }

    /**
     * The Company name to display on the Guest User's profile.
     */
    @java.lang.SuppressWarnings("all")
    public String getCompany() {
        return this.company;
    }

    /**
     * The email address (log in name) of the Guest user.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setCode(final String code) {
        this.code = code;
        return this;
    }

    /**
     * The log in password of the Guest user.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setPassword(final String password) {
        this.password = password;
        return this;
    }

    /**
     * The timezone of the Guest user.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setTimezone(final TimeZone timezone) {
        this.timezone = timezone;
        return this;
    }

    /**
     * The language settings of the Guest user.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setLocale(final String locale) {
        this.locale = locale;
        return this;
    }

    /**
     * The profile image of the Guest user.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setImage(final String image) {
        this.image = image;
        return this;
    }

    /**
     * The display name of the user.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setName(final String name) {
        this.name = name;
        return this;
    }

    /**
     * The Phonetic Surname settings of the Guest User.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setSurNameReading(final String surNameReading) {
        this.surNameReading = surNameReading;
        return this;
    }

    /**
     * The Phonetic Given Name settings of the Guest User.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setGivenNameReading(final String givenNameReading) {
        this.givenNameReading = givenNameReading;
        return this;
    }

    /**
     * The Department name to display on the Guest User's profile.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setDivision(final String division) {
        this.division = division;
        return this;
    }

    /**
     * The Phone number to display on the Guest User's profile.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setPhone(final String phone) {
        this.phone = phone;
        return this;
    }

    /**
     * The Skype Name of the Guest user.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setCallto(final String callto) {
        this.callto = callto;
        return this;
    }

    /**
     * The Company name to display on the Guest User's profile.
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public GuestUser setCompany(final String company) {
        this.company = company;
        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 GuestUser)) return false;
        final GuestUser other = (GuestUser) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$code = this.getCode();
        final java.lang.Object other$code = other.getCode();
        if (this$code == null ? other$code != null : !this$code.equals(other$code)) return false;
        final java.lang.Object this$password = this.getPassword();
        final java.lang.Object other$password = other.getPassword();
        if (this$password == null ? other$password != null : !this$password.equals(other$password)) return false;
        final java.lang.Object this$timezone = this.getTimezone();
        final java.lang.Object other$timezone = other.getTimezone();
        if (this$timezone == null ? other$timezone != null : !this$timezone.equals(other$timezone)) return false;
        final java.lang.Object this$locale = this.getLocale();
        final java.lang.Object other$locale = other.getLocale();
        if (this$locale == null ? other$locale != null : !this$locale.equals(other$locale)) return false;
        final java.lang.Object this$image = this.getImage();
        final java.lang.Object other$image = other.getImage();
        if (this$image == null ? other$image != null : !this$image.equals(other$image)) 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$surNameReading = this.getSurNameReading();
        final java.lang.Object other$surNameReading = other.getSurNameReading();
        if (this$surNameReading == null ? other$surNameReading != null : !this$surNameReading.equals(other$surNameReading)) return false;
        final java.lang.Object this$givenNameReading = this.getGivenNameReading();
        final java.lang.Object other$givenNameReading = other.getGivenNameReading();
        if (this$givenNameReading == null ? other$givenNameReading != null : !this$givenNameReading.equals(other$givenNameReading)) return false;
        final java.lang.Object this$division = this.getDivision();
        final java.lang.Object other$division = other.getDivision();
        if (this$division == null ? other$division != null : !this$division.equals(other$division)) return false;
        final java.lang.Object this$phone = this.getPhone();
        final java.lang.Object other$phone = other.getPhone();
        if (this$phone == null ? other$phone != null : !this$phone.equals(other$phone)) return false;
        final java.lang.Object this$callto = this.getCallto();
        final java.lang.Object other$callto = other.getCallto();
        if (this$callto == null ? other$callto != null : !this$callto.equals(other$callto)) return false;
        final java.lang.Object this$company = this.getCompany();
        final java.lang.Object other$company = other.getCompany();
        if (this$company == null ? other$company != null : !this$company.equals(other$company)) return false;
        return true;
    }

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final java.lang.Object $code = this.getCode();
        result = result * PRIME + ($code == null ? 43 : $code.hashCode());
        final java.lang.Object $password = this.getPassword();
        result = result * PRIME + ($password == null ? 43 : $password.hashCode());
        final java.lang.Object $timezone = this.getTimezone();
        result = result * PRIME + ($timezone == null ? 43 : $timezone.hashCode());
        final java.lang.Object $locale = this.getLocale();
        result = result * PRIME + ($locale == null ? 43 : $locale.hashCode());
        final java.lang.Object $image = this.getImage();
        result = result * PRIME + ($image == null ? 43 : $image.hashCode());
        final java.lang.Object $name = this.getName();
        result = result * PRIME + ($name == null ? 43 : $name.hashCode());
        final java.lang.Object $surNameReading = this.getSurNameReading();
        result = result * PRIME + ($surNameReading == null ? 43 : $surNameReading.hashCode());
        final java.lang.Object $givenNameReading = this.getGivenNameReading();
        result = result * PRIME + ($givenNameReading == null ? 43 : $givenNameReading.hashCode());
        final java.lang.Object $division = this.getDivision();
        result = result * PRIME + ($division == null ? 43 : $division.hashCode());
        final java.lang.Object $phone = this.getPhone();
        result = result * PRIME + ($phone == null ? 43 : $phone.hashCode());
        final java.lang.Object $callto = this.getCallto();
        result = result * PRIME + ($callto == null ? 43 : $callto.hashCode());
        final java.lang.Object $company = this.getCompany();
        result = result * PRIME + ($company == null ? 43 : $company.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "GuestUser(code=" + this.getCode() + ", password=" + this.getPassword() + ", timezone=" + this.getTimezone() + ", locale=" + this.getLocale() + ", image=" + this.getImage() + ", name=" + this.getName() + ", surNameReading=" + this.getSurNameReading() + ", givenNameReading=" + this.getGivenNameReading() + ", division=" + this.getDivision() + ", phone=" + this.getPhone() + ", callto=" + this.getCallto() + ", company=" + this.getCompany() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy