// 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 ServiceBClient.
 */
public enum ServiceBServiceVersion implements ServiceVersion {
    /**
     * Enum value bv1.
     */
    VBV1("bv1"),

    /**
     * Enum value bv2.
     */
    VBV2("bv2");

    private final String version;

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