24 lines
522 B
C#
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; }
|
|
|
|
} |