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

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

Go to download

This package contains clients and data structures used to make call with Azure Communication Call Automation Service. For this release, see notes - https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-callautomation/README.md and https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-callautomation/CHANGELOG.md.

The newest version!
// 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.RemoveParticipantResponseConstructorProxy;
import com.azure.communication.callautomation.implementation.models.RemoveParticipantResponseInternal;
import com.azure.core.annotation.Immutable;
import java.util.Objects;

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

    static {
        RemoveParticipantResponseConstructorProxy
            .setAccessor(new RemoveParticipantResponseConstructorProxy.RemoveParticipantResponseConstructorAccessor() {
                @Override
                public RemoveParticipantResult create(RemoveParticipantResponseInternal internalHeaders) {
                    return new RemoveParticipantResult(internalHeaders);
                }
            });
    }

    /**
     * Initializes a new instance of RemoveParticipantResult.
     */
    public RemoveParticipantResult() {
        this.operationContext = null;
    }

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

        this.operationContext = removeParticipantResponseInternal.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