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

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

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

import com.kintone.client.model.Entity;

/**
 * An object representing a notification recipient setting.
 */
public class NotificationTarget {
    /**
     * An object containing entity details per recipient of the notification.
     */
    private Entity entity;
    /**
     * The "Include affiliated departments" setting of the Department.
     *
     * 
    *
  • true: Affiliated departments do inherit this notification settings *
  • false: Affiliated departments do not inherit this notification settings *
*/ private Boolean includeSubs; @java.lang.SuppressWarnings("all") public NotificationTarget() { } /** * An object containing entity details per recipient of the notification. */ @java.lang.SuppressWarnings("all") public Entity getEntity() { return this.entity; } /** * The "Include affiliated departments" setting of the Department. * *
    *
  • true: Affiliated departments do inherit this notification settings *
  • false: Affiliated departments do not inherit this notification settings *
*/ @java.lang.SuppressWarnings("all") public Boolean getIncludeSubs() { return this.includeSubs; } /** * An object containing entity details per recipient of the notification. * @return {@code this}. */ @java.lang.SuppressWarnings("all") public NotificationTarget setEntity(final Entity entity) { this.entity = entity; return this; } /** * The "Include affiliated departments" setting of the Department. * *
    *
  • true: Affiliated departments do inherit this notification settings *
  • false: Affiliated departments do not inherit this notification settings *
* @return {@code this}. */ @java.lang.SuppressWarnings("all") public NotificationTarget setIncludeSubs(final Boolean includeSubs) { this.includeSubs = includeSubs; 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 NotificationTarget)) return false; final NotificationTarget other = (NotificationTarget) o; if (!other.canEqual((java.lang.Object) this)) return false; final java.lang.Object this$includeSubs = this.getIncludeSubs(); final java.lang.Object other$includeSubs = other.getIncludeSubs(); if (this$includeSubs == null ? other$includeSubs != null : !this$includeSubs.equals(other$includeSubs)) return false; final java.lang.Object this$entity = this.getEntity(); final java.lang.Object other$entity = other.getEntity(); if (this$entity == null ? other$entity != null : !this$entity.equals(other$entity)) return false; return true; } @java.lang.SuppressWarnings("all") protected boolean canEqual(final java.lang.Object other) { return other instanceof NotificationTarget; } @java.lang.Override @java.lang.SuppressWarnings("all") public int hashCode() { final int PRIME = 59; int result = 1; final java.lang.Object $includeSubs = this.getIncludeSubs(); result = result * PRIME + ($includeSubs == null ? 43 : $includeSubs.hashCode()); final java.lang.Object $entity = this.getEntity(); result = result * PRIME + ($entity == null ? 43 : $entity.hashCode()); return result; } @java.lang.Override @java.lang.SuppressWarnings("all") public java.lang.String toString() { return "NotificationTarget(entity=" + this.getEntity() + ", includeSubs=" + this.getIncludeSubs() + ")"; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy