// <auto-generated/>

#nullable disable

using System.ClientModel.Primitives;
using System.Diagnostics.CodeAnalysis;
using Microsoft.Extensions.Configuration;

namespace Sample
{
    [global::System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SCME0002")]
    public partial class TestClientSettings : global::System.ClientModel.Primitives.ClientSettings
    {
        public string FullyQualifiedNamespace { get; set; }

        public global::Sample.TestClientOptions Options { get; set; }

        protected override void BindCore(global::Microsoft.Extensions.Configuration.IConfigurationSection section)
        {
            string fullyQualifiedNamespace = section["FullyQualifiedNamespace"];
            if (!string.IsNullOrEmpty(fullyQualifiedNamespace))
            {
                this.FullyQualifiedNamespace = fullyQualifiedNamespace;
            }
            global::Microsoft.Extensions.Configuration.IConfigurationSection optionsSection = section.GetSection("Options");
            if (optionsSection.Exists())
            {
                this.Options = new global::Sample.TestClientOptions(optionsSection);
            }
        }
    }
}
