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

// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace SampleTypeSpec
{
    /// <summary> The XmlModelWithNamespace. </summary>
    public partial class XmlModelWithNamespace
    {
        /// <summary> Keeps track of any properties unknown to the library. </summary>
        private protected readonly IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        /// <summary> Initializes a new instance of <see cref="XmlModelWithNamespace"/>. </summary>
        /// <param name="foo"></param>
        /// <exception cref="ArgumentNullException"> <paramref name="foo"/> is null. </exception>
        public XmlModelWithNamespace(string foo)
        {
            Argument.AssertNotNull(foo, nameof(foo));

            Foo = foo;
        }

        /// <summary> Initializes a new instance of <see cref="XmlModelWithNamespace"/>. </summary>
        /// <param name="foo"></param>
        /// <param name="additionalBinaryDataProperties"> Keeps track of any properties unknown to the library. </param>
        internal XmlModelWithNamespace(string foo, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Foo = foo;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        /// <summary> Gets or sets the Foo. </summary>
        public string Foo { get; set; }
    }
}
