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

package service.multipleservices.servicea;

import com.azure.core.util.ServiceVersion;

/**
 * Service version of ServiceAClient.
 */
public enum ServiceAServiceVersion implements ServiceVersion {
    /**
     * Enum value av1.
     */
    VAV1("av1"),

    /**
     * Enum value av2.
     */
    VAV2("av2");

    private final String version;

    ServiceAServiceVersion(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 ServiceAServiceVersion}.
     */
    public static ServiceAServiceVersion getLatest() {
        return VAV2;
    }
}
