﻿//----------------------
// <auto-generated>
// </auto-generated>
//----------------------


namespace MyNamespace
{
    #pragma warning disable // Disable all warnings

    public enum MyStringEnum
    {

        [System.Runtime.Serialization.EnumMember(Value = @"Foo")]
        Foo = 0,


        [System.Runtime.Serialization.EnumMember(Value = @"Bar")]
        Bar = 1,


    }

    public partial class MyStringEnumListTest
    {

        [Newtonsoft.Json.JsonProperty("Enums", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
        public System.Collections.Generic.ICollection<MyStringEnum> Enums { get; set; }

        [Newtonsoft.Json.JsonProperty("NullableEnum", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
        [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
        public MyStringEnum? NullableEnum { get; set; }

    }
}