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

com.azure.communication.networktraversal.CommunicationRelayServiceVersion Maven / Gradle / Ivy

Go to download

Please note, this package has been deprecated and will no longer be maintained after 03/31/2024. Refer to our deprecation policy (https://aka.ms/azsdk/support-policies) for more details.

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

package com.azure.communication.networktraversal;

import com.azure.core.util.ServiceVersion;

/**
 * The versions of Communication Relay Service supported by this client library.
 */
public enum CommunicationRelayServiceVersion implements ServiceVersion {
    /**
     * Service version {@code 2021_10_08}.
     */
    V2021_10_08("2021_10_08");

    private final String version;

    CommunicationRelayServiceVersion(String version) {

        this.version = version;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String getVersion() {

        return this.version;
    }

    /**
     * Gets the latest service version supported by this client library
     *
     * @return the latest {@link CommunicationRelayServiceVersion}
     */
    public static CommunicationRelayServiceVersion getLatest() {

        return V2021_10_08;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy