using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ARC.GMP.Types { public class QueueRuleMapping { public string QueueAutoRelease { get; set; } public string QueueType { get; set; } public long QueueId { get; set; } public long PercentageofGifts { get; set; } public string QueueName { get; set; } public string CreatedDate { get; set; } public string ModifiedDate { get; set; } public string QueueDescription { get; set; } public DateTime? QueueStartDate { get; set; } public DateTime? QueueEndDate { get; set; } public QueueRuleCriteria QueueRuleCriteria { get; set; } public List QueueSortingRule { get; set; } public string IsPreview { get; set; } public string IsEdit { get; set; } } public class QueueRuleCriteria { [JsonProperty("condition")] public string Condition { get; set; } [JsonProperty("rules")] public List Rules { get; set; } [JsonProperty("field")] public string Field { get; set; } [JsonProperty("operator")] public string Operator { get; set; } [JsonProperty("value")] public string Value { get; set; } } public class QueueSortingRule { public long SortOrderId { get; set; } public byte SortPriority { get; set; } public string FieldName { get; set; } public long SortAttributeId { get; set; } public string SortOrder { get; set; } } }