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

com.azure.communication.callautomation.models.CallResult 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.CallConnection;
import com.azure.communication.callautomation.CallConnectionAsync;

/**
 * The abstract class used as parent of [action]CallResult
 */
public abstract class CallResult {
    /*
     * The callConnectionProperties
     */
    private final CallConnectionProperties callConnectionProperties;

    /*
     * The callConnection
     */
    private final CallConnection callConnection;

    /*
     * The callConnectionAsync
     */
    private final CallConnectionAsync callConnectionAsync;

    CallResult(CallConnectionProperties callConnectionProperties, CallConnection callConnection,
        CallConnectionAsync callConnectionAsync) {
        this.callConnectionProperties = callConnectionProperties;
        this.callConnection = callConnection;
        this.callConnectionAsync = callConnectionAsync;
    }

    /**
     * Get the callConnectionProperties.
     *
     * @return the callConnectionProperties.
     */
    public CallConnectionProperties getCallConnectionProperties() {
        return callConnectionProperties;
    }

    /**
     * Get the callConnection.
     *
     * @return the callConnection.
     */
    public CallConnection getCallConnection() {
        return callConnection;
    }

    /**
     * Get the callConnectionAsync.
     *
     * @return the callConnectionAsync.
     */
    public CallConnectionAsync getCallConnectionAsync() {
        return callConnectionAsync;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy