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

com.azure.communication.sms.SmsServiceVersion Maven / Gradle / Ivy

Go to download

This package contains clients and data structures used to send SMS messages with Azure Communication SMS Service. For this release, see notes - https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-sms/README.md and https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-sms/CHANGELOG.md. Microsoft Azure Communication SMS quickstart - https://docs.microsoft.com/azure/communication-services/quickstarts/telephony-sms/send?pivots=programming-language-java

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

package com.azure.communication.sms;

import com.azure.core.util.ServiceVersion;

/**
 * The versions of Communication Identity Service supported by this client library.
 */
public enum SmsServiceVersion implements ServiceVersion {
    /**
     * Service version {@code 2021-03-07}.
     */
    V2021_03_07("2021-03-07");

    private final String version;

    SmsServiceVersion(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 SmsServiceVersion}
     */
    public static SmsServiceVersion getLatest() {
        return V2021_03_07;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy