Add project files.
This commit is contained in:
16
Gateway/Models/ProviderResponse.cs
Normal file
16
Gateway/Models/ProviderResponse.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Gateway.Models;
|
||||
|
||||
public sealed class ProviderResponse
|
||||
{
|
||||
public bool Ok { get; set; }
|
||||
public string? RequestId { get; set; }
|
||||
public object? Data { get; set; }
|
||||
public ProviderError? Error { get; set; }
|
||||
}
|
||||
|
||||
public sealed class ProviderError
|
||||
{
|
||||
public string Code { get; set; } = "ERROR";
|
||||
public string Message { get; set; } = "Unknown error";
|
||||
public object? Detail { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user