<reponame>CyberGoPuff/Azure-Azure-Sentinel<filename>.script/tests/detectionTemplateSchemaValidation/Models/EventGroupingSettings.csusing Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace Microsoft.Azure.Sentinel.Analytics.Management.AnalyticsTemplatesService.Interface.Model
{
    public class EventGroupingSettings
    {
        [JsonProperty("aggregationKind", Required = Required.Always)]
        [JsonConverter(typeof(StringEnumConverter))]
        public EventGroupingAggregationKind AggregationKind { get; set; }
    }

    public enum EventGroupingAggregationKind
    {
        SingleAlert = 0,
        AlertPerResult = 1
    }
}
