// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace SampleTypeSpec
{
    /// <summary> Dog is a specific type of pet with hierarchy building. </summary>
    public partial class Dog : Pet
    {
        /// <summary> Initializes a new instance of <see cref="Dog"/>. </summary>
        /// <param name="name"> Name of the animal. </param>
        /// <param name="trained"> Whether the pet is trained. </param>
        /// <param name="breed"> The breed of the dog. </param>
        /// <exception cref="ArgumentNullException"> <paramref name="name"/> or <paramref name="breed"/> is null. </exception>
        public Dog(string name, bool trained, string breed) : base("dog", name, trained)
        {
            Argument.AssertNotNull(name, nameof(name));
            Argument.AssertNotNull(breed, nameof(breed));

            Breed = breed;
        }

        /// <summary> Initializes a new instance of <see cref="Dog"/>. </summary>
        /// <param name="kind"> The kind of animal. </param>
        /// <param name="name"> Name of the animal. </param>
        /// <param name="additionalBinaryDataProperties"> Keeps track of any properties unknown to the library. </param>
        /// <param name="trained"> Whether the pet is trained. </param>
        /// <param name="breed"> The breed of the dog. </param>
        internal Dog(string kind, string name, IDictionary<string, BinaryData> additionalBinaryDataProperties, bool trained, string breed) : base(kind, name, additionalBinaryDataProperties, trained)
        {
            Breed = breed;
        }

        /// <summary> The breed of the dog. </summary>
        public string Breed { get; set; }
    }
}
