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

com.azure.communication.callautomation.implementation.eventprocessor.EventWithBacklogId 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.implementation.eventprocessor;

import com.azure.communication.callautomation.models.events.CallAutomationEventBase;

/**
 * Container that holds a CallAutomation event and its backlog id.
 */
public final class EventWithBacklogId {
    private final CallAutomationEventBase event;
    private final String backLogEventId;

    EventWithBacklogId(String backLogEventId, CallAutomationEventBase event) {
        this.backLogEventId = backLogEventId;
        this.event = event;
    }

    /**
     * Get the backLogEventId property: The backlog event id.
     *
     * @return the backLogEventId value.
     */
    public String getBackLogEventId() {
        return backLogEventId;
    }

    /**
     * Get the event property: The event.
     *
     * @return the event value.
     */
    public CallAutomationEventBase getEvent() {
        return event;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy