2024-09-13 14:14:22 -07:00

24 lines
522 B
C#

using System.Text.Json.Serialization;
namespace Adaptation.FileHandlers.json.WorkItems;
public class Relation
{
#nullable enable
[JsonConstructor]
public Relation(string rel,
string url,
Attribute attributes)
{
Rel = rel;
URL = url;
Attributes = attributes;
}
public string Rel { get; set; } // { init; get; }
public string URL { get; set; } // { init; get; }
public Attribute Attributes { get; set; } // { init; get; }
}