// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace SampleTypeSpec
{
    /// <summary> this is a model with a client name. </summary>
    public partial class RenamedModel
    {
        /// <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="RenamedModel"/>. </summary>
        /// <param name="otherName"> name of the ModelWithClientName. </param>
        internal RenamedModel(string otherName)
        {
            OtherName = otherName;
        }

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

        /// <summary> name of the ModelWithClientName. </summary>
        public string OtherName { get; }
    }
}
