// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.security.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The governance email weekly notification configuration. */
@Fluent
public final class GovernanceEmailNotification {
    /*
     * Exclude manager from weekly email notification.
     */
    @JsonProperty(value = "disableManagerEmailNotification")
    private Boolean disableManagerEmailNotification;

    /*
     * Exclude  owner from weekly email notification.
     */
    @JsonProperty(value = "disableOwnerEmailNotification")
    private Boolean disableOwnerEmailNotification;

    /** Creates an instance of GovernanceEmailNotification class. */
    public GovernanceEmailNotification() {
    }

    /**
     * Get the disableManagerEmailNotification property: Exclude manager from weekly email notification.
     *
     * @return the disableManagerEmailNotification value.
     */
    public Boolean disableManagerEmailNotification() {
        return this.disableManagerEmailNotification;
    }

    /**
     * Set the disableManagerEmailNotification property: Exclude manager from weekly email notification.
     *
     * @param disableManagerEmailNotification the disableManagerEmailNotification value to set.
     * @return the GovernanceEmailNotification object itself.
     */
    public GovernanceEmailNotification withDisableManagerEmailNotification(Boolean disableManagerEmailNotification) {
        this.disableManagerEmailNotification = disableManagerEmailNotification;
        return this;
    }

    /**
     * Get the disableOwnerEmailNotification property: Exclude owner from weekly email notification.
     *
     * @return the disableOwnerEmailNotification value.
     */
    public Boolean disableOwnerEmailNotification() {
        return this.disableOwnerEmailNotification;
    }

    /**
     * Set the disableOwnerEmailNotification property: Exclude owner from weekly email notification.
     *
     * @param disableOwnerEmailNotification the disableOwnerEmailNotification value to set.
     * @return the GovernanceEmailNotification object itself.
     */
    public GovernanceEmailNotification withDisableOwnerEmailNotification(Boolean disableOwnerEmailNotification) {
        this.disableOwnerEmailNotification = disableOwnerEmailNotification;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
