Creation of ADO Connection
This commit is contained in:
@ -2,8 +2,9 @@ using System.Text.Json.Serialization;
|
||||
|
||||
namespace Adaptation.FileHandlers.json.WIQL;
|
||||
|
||||
public class Field
|
||||
internal class Field
|
||||
{
|
||||
|
||||
[JsonConstructor]
|
||||
public Field(
|
||||
string referenceName,
|
||||
@ -16,7 +17,14 @@ public class Field
|
||||
Url = url;
|
||||
}
|
||||
|
||||
public string ReferenceName { get; set; } // { init; get; }
|
||||
public string Name { get; set; } // { init; get; }
|
||||
public string Url { get; set; } // { init; get; }
|
||||
[JsonPropertyName("referenceName")] public string ReferenceName { get; }
|
||||
[JsonPropertyName("name")] public string Name { get; }
|
||||
[JsonPropertyName("url")] public string Url { get; }
|
||||
|
||||
}
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSerializable(typeof(Field))]
|
||||
internal partial class FieldSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user