Initial commit
This commit is contained in:
22
Radium.DataExporter.Models/Common/Results/RecNetError.cs
Normal file
22
Radium.DataExporter.Models/Common/Results/RecNetError.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.Net;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Radium.DataExporter.Models.Common.Results;
|
||||
|
||||
public class RecNetError
|
||||
{
|
||||
[JsonPropertyName("type")]
|
||||
public Uri? Type { get; init; }
|
||||
|
||||
[JsonPropertyName("title")]
|
||||
public string Title { get; init; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("status")]
|
||||
public HttpStatusCode Status { get; init; }
|
||||
|
||||
[JsonPropertyName("detail")]
|
||||
public string Detail { get; init; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("traceId")]
|
||||
public string TraceId { get; init; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user