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

package com.azure.resourcemanager.communication.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.communication.models.UserEngagementTracking;
import com.fasterxml.jackson.annotation.JsonProperty;

/** A class that describes the updatable properties of a Domains resource. */
@Fluent
public final class UpdateDomainProperties {
    /*
     * Describes whether user engagement tracking is enabled or disabled.
     */
    @JsonProperty(value = "userEngagementTracking")
    private UserEngagementTracking userEngagementTracking;

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

    /**
     * Get the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.
     *
     * @return the userEngagementTracking value.
     */
    public UserEngagementTracking userEngagementTracking() {
        return this.userEngagementTracking;
    }

    /**
     * Set the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.
     *
     * @param userEngagementTracking the userEngagementTracking value to set.
     * @return the UpdateDomainProperties object itself.
     */
    public UpdateDomainProperties withUserEngagementTracking(UserEngagementTracking userEngagementTracking) {
        this.userEngagementTracking = userEngagementTracking;
        return this;
    }

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