using System.Text.Json.Serialization; namespace JdeScoping.Core.Models.Enums; /// /// Status of a search request /// [JsonConverter(typeof(JsonStringEnumConverter))] public enum SearchStatus { /// /// Search has been created but not yet submitted /// New = 0, /// /// Search has been submitted and is queued for processing /// Queued = 1, /// /// Search processing is running /// Running = 2, /// /// Search processing has completed successfully /// Ended = 3, /// /// Search processing encountered an error /// Error = 4 }