namespace ServiceLib.Models.Dto; public record ClashItem { public Dictionary Proxies { get; init; } = []; public Dictionary ProviderIndexMap { get; init; } = []; public bool IsEmpty() => Proxies.Count == 0; } public record ClashProxy { public List? all { get; init; } public List? history { get; init; } public string? name { get; init; } public string? type { get; init; } public bool udp { get; init; } public string? now { get; init; } public int delay { get; init; } public record HistoryItem { public string? time { get; init; } public int delay { get; init; } } } public record ClashProvider { public string? name { get; init; } public List? proxies { get; init; } public string? type { get; init; } public string? vehicleType { get; init; } } public record ClashProxies { public Dictionary proxies { get; init; } = []; } public record ClashProviders { public Dictionary providers { get; init; } = []; }