com.azure.communication.identity.CommunicationIdentityServiceVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-communication-identity Show documentation
Show all versions of azure-communication-identity Show documentation
This package contains APIs for application identity in Microsoft Azure Communication Services.
For this release, see notes - https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-identity/README.md and https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-identity/CHANGELOG.md.
Microsoft Azure Communication Identity quickstart - https://docs.microsoft.com/azure/communication-services/quickstarts/access-tokens?pivots=programming-language-java
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.communication.identity;
import com.azure.core.util.ServiceVersion;
/**
* The versions of Communication Identity Service supported by this client library.
*/
public enum CommunicationIdentityServiceVersion implements ServiceVersion {
/**
* Service version {@code 2021-03-07}.
*/
V2021_03_07("2021-03-07"),
/**
* Service version {@code 2022-06-01}.
*/
V2022_06_01("2022-06-01"),
/**
* Service version {@code 2022-10-01}.
*/
V2022_10_01("2022-10-01"),
/**
* Service version {@code 2023-10-01}.
*/
V2023_10_01("2023-10-01");
private final String version;
CommunicationIdentityServiceVersion(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 CommunicationIdentityServiceVersion}
*/
public static CommunicationIdentityServiceVersion getLatest() {
return V2023_10_01;
}
}