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

// <auto-generated/>

#nullable disable

using System;
using Azure.Core;

namespace Azure.Analytics.Purview.Administration
{
    /// <summary> Client options for PurviewMetadataClient. </summary>
    public partial class PurviewMetadataClientOptions : ClientOptions
    {
        private const ServiceVersion LatestVersion = ServiceVersion.V2021_07_01;

        /// <summary> The version of the service to use. </summary>
        public enum ServiceVersion
        {
            /// <summary> Service version "2021-07-01". </summary>
            V2021_07_01 = 1,
        }

        internal string Version { get; }

        /// <summary> Initializes new instance of PurviewMetadataClientOptions. </summary>
        public PurviewMetadataClientOptions(ServiceVersion version = LatestVersion)
        {
            Version = version switch
            {
                ServiceVersion.V2021_07_01 => "2021-07-01",
                _ => throw new NotSupportedException()
            };
        }
    }
}
