Children
This commit is contained in:
24
Adaptation/FileHandlers/json/WorkItems/Relation.cs
Normal file
24
Adaptation/FileHandlers/json/WorkItems/Relation.cs
Normal file
@ -0,0 +1,24 @@
|
||||
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; }
|
||||
|
||||
}
|
Reference in New Issue
Block a user