Files
2024-04-22 14:15:07 +01:00

22 lines
464 B
C#

using System.Text.Json.Serialization;
namespace Lantean.QBitTorrentClient.Models
{
public record Category
{
[JsonConstructor]
public Category(
string name,
string? savePath)
{
Name = name;
SavePath = savePath;
}
[JsonPropertyName("name")]
public string Name { get; }
[JsonPropertyName("savePath")]
public string? SavePath { get; }
}
}