// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace k8s.Models
{
    using Newtonsoft.Json;
    using System.Linq;

    /// <summary>
    /// PodDNSConfigOption defines DNS resolver options of a pod.
    /// </summary>
    public partial class V1PodDNSConfigOption
    {
        /// <summary>
        /// Initializes a new instance of the V1PodDNSConfigOption class.
        /// </summary>
        public V1PodDNSConfigOption()
        {
            CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the V1PodDNSConfigOption class.
        /// </summary>
        /// <param name="name">Required.</param>
        public V1PodDNSConfigOption(string name = default(string), string value = default(string))
        {
            Name = name;
            Value = value;
            CustomInit();
        }

        /// <summary>
        /// An initialization method that performs custom operations like setting defaults
        /// </summary>
        partial void CustomInit();

        /// <summary>
        /// Gets or sets required.
        /// </summary>
        [JsonProperty(PropertyName = "name")]
        public string Name { get; set; }

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "value")]
        public string Value { get; set; }

    }
}
