using System.Collections.Generic;
using System.Net;
using System.Text.Json.Nodes;

namespace Ablera.Serdica.Authentication.Models;

public sealed class ProxyResult
{
    public HttpStatusCode StatusCode { get; init; } = HttpStatusCode.OK;
    public JsonNode? Data { get; init; } // null ⇒ no body
    public IDictionary<string, string>? Errors { get; init; }
    public string? TraceId { get; init; }
    public string? Title { get; init; }
    public string? Type { get; init; }
}