// <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>
    /// IntOrString is a type that can hold an int32 or a string.  When used in
    /// JSON or YAML marshalling and unmarshalling, it produces or consumes the
    /// inner type.  This allows you to have, for example, a JSON field that
    /// can accept a name or number.
    /// </summary>
    public partial class IntstrIntOrString
    {
        /// <summary>
        /// Initializes a new instance of the IntstrIntOrString class.
        /// </summary>
        public IntstrIntOrString()
        {
            CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the IntstrIntOrString class.
        /// </summary>
        public IntstrIntOrString(string value = default(string))
        {
            Value = value;
            CustomInit();
        }

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

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

    }
}
