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

// <auto-generated/>

#nullable disable

using System;
using Azure.Core;

namespace Microsoft.Azure.NotificationHubs
{
    /// <summary> Client options for notificationhubs library clients. </summary>
    public partial class NotificationhubsClientOptions : ClientOptions
    {
        private const ServiceVersion LatestVersion = ServiceVersion.V2020_06;

        /// <summary> The version of the service to use. </summary>
        public enum ServiceVersion
        {
            /// <summary> Service version "2020-06". </summary>
            V2020_06 = 1,
        }

        internal string Version { get; }

        /// <summary> Initializes new instance of NotificationhubsClientOptions. </summary>
        public NotificationhubsClientOptions(ServiceVersion version = LatestVersion)
        {
            Version = version switch
            {
                ServiceVersion.V2020_06 => "2020-06",
                _ => throw new NotSupportedException()
            };
        }
    }
}
