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

com.azure.communication.callautomation.models.MuteParticipantResult Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.communication.callautomation.models;

import com.azure.communication.callautomation.implementation.accesshelpers.MuteParticipantsResponseConstructorProxy;
import com.azure.communication.callautomation.implementation.models.MuteParticipantsResultInternal;
import com.azure.core.annotation.Immutable;

import java.util.Objects;

/** The MuteParticipantResult model. */
@Immutable
public final class MuteParticipantResult {
    /*
     * The operation context provided by client.
     */
    private final String operationContext;

    static {
        MuteParticipantsResponseConstructorProxy.setAccessor(MuteParticipantResult::new);
    }

    /**
     * Public constructor.
     *
     */
    public MuteParticipantResult() {
        this.operationContext = null;
    }

    /**
     * Package-private constructor of the class, used internally only.
     *
     * @param  MuteParticipantsResultInternal The response from the service
     */
    MuteParticipantResult(MuteParticipantsResultInternal muteParticipantsResponseInternal) {
        Objects.requireNonNull(muteParticipantsResponseInternal, "muteParticipantsResponseInternal must not be null");

        this.operationContext = muteParticipantsResponseInternal.getOperationContext();
    }

    /**
     * Get the operationContext property: The operation context provided by client.
     *
     * @return the operationContext value.
     */
    public String getOperationContext() {
        return this.operationContext;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy