// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.communication.email;

import com.azure.core.util.ServiceVersion;

/** Service version of AzureCommunicationServicesClient. */
public enum EmailServiceVersion implements ServiceVersion {
    /** Enum value 2023-03-31. */
    V2023_03_31("2023-03-31");

    private final String version;

    EmailServiceVersion(String version) {
        this.version = version;
    }

    @Override
    public String getVersion() {
        return this.version;
    }

    /**
     * Gets the latest service version supported by this client library.
     *
     * @return The latest {@link EmailServiceVersion}.
     */
    public static EmailServiceVersion getLatest() {
        return V2023_03_31;
    }
}
