mirror of
https://github.com/NecroticBamboo/DeepTrace.git
synced 2025-12-21 11:21:51 +00:00
19 lines
367 B
C#
19 lines
367 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace PrometheusAPI;
|
|
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public enum StatusType
|
|
{
|
|
Success,
|
|
Error
|
|
}
|
|
|
|
public class ResponceBase
|
|
{
|
|
public StatusType Status { get; set; }
|
|
public string? ErrorType { get; set; }
|
|
public string? Error { get; set; }
|
|
public string[]? Warnings { get; set; }
|
|
}
|