Creation of ADO Connection

This commit is contained in:
2024-11-08 15:47:49 -07:00
parent 5d9b5a4022
commit 9c5651a862
46 changed files with 1094 additions and 561 deletions

View File

@ -2,8 +2,9 @@ using System.Text.Json.Serialization;
namespace Adaptation.FileHandlers.json.WorkItems;
public class CommentVersionRef
internal class CommentVersionRef
{
[JsonConstructor]
public CommentVersionRef(
int commentId,
@ -16,8 +17,14 @@ public class CommentVersionRef
URL = url;
}
[JsonPropertyName("commentId")] public int CommentId { get; } // { init; get; }
[JsonPropertyName("url")] public string URL { get; } // { init; get; }
[JsonPropertyName("version")] public int Version { get; } // { init; get; }
[JsonPropertyName("commentId")] public int CommentId { get; }
[JsonPropertyName("url")] public string URL { get; }
[JsonPropertyName("version")] public int Version { get; }
}
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(CommentVersionRef))]
internal partial class CommentVersionRefSourceGenerationContext : JsonSerializerContext
{
}