.vscode
Adaptation
.config
.vscode
Eaf
FileHandlers
ADO
APC
Archive
ConvertExcelToJson
CopyToPaths
DownloadExcelFile
DownloadWorkItems
Dummy
IQSSi
Kanban
Markdown
MoveMatchingFiles
OpenInsight
OpenInsightMetrologyViewer
OpenInsightMetrologyViewerAttachments
Priority
Processed
SPaCe
Violation
json
StaticSite
WIQL
WorkItems
Attribute.cs
Avatar.cs
CommentVersionRef.cs
CustomRequester.cs
Fields.cs
Html.cs
Links.cs
Record.cs
Relation.cs
SystemAssignedTo.cs
SystemChangedBy.cs
SystemCreatedBy.cs
Value.cs
ValueWithReq.cs
WorkItem.cs
FileRead.cs
ProcessData.cs
CellInstanceConnectionName.cs
Ifx
Infineon
PeerGroup
Shared
_Tests
.editorconfig
MESAFIBACKLOG-Development.yml
MESAFIBACKLOG.Tests.csproj
MESAFIBACKLOG.yml
appsettings.Development.json
appsettings.json
package.json
FileHandlers
Properties
Shared
.gitignore
MESAFIBACKLOG.csproj
README.md
42 lines
1.2 KiB
C#
42 lines
1.2 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Adaptation.FileHandlers.json.WorkItems;
|
|
|
|
internal class SystemAssignedTo
|
|
{
|
|
|
|
[JsonConstructor]
|
|
public SystemAssignedTo(
|
|
string displayName,
|
|
string url,
|
|
Links links,
|
|
string id,
|
|
string uniqueName,
|
|
string imageUrl,
|
|
string descriptor
|
|
)
|
|
{
|
|
DisplayName = displayName;
|
|
Url = url;
|
|
Links = links;
|
|
Id = id;
|
|
UniqueName = uniqueName;
|
|
ImageUrl = imageUrl;
|
|
Descriptor = descriptor;
|
|
}
|
|
|
|
[JsonPropertyName("_links")] public Links Links { get; }
|
|
[JsonPropertyName("descriptor")] public string Descriptor { get; }
|
|
[JsonPropertyName("displayName")] public string DisplayName { get; }
|
|
[JsonPropertyName("id")] public string Id { get; }
|
|
[JsonPropertyName("imageUrl")] public string ImageUrl { get; }
|
|
[JsonPropertyName("uniqueName")] public string UniqueName { get; }
|
|
[JsonPropertyName("url")] public string Url { get; }
|
|
|
|
}
|
|
|
|
[JsonSourceGenerationOptions(WriteIndented = true)]
|
|
[JsonSerializable(typeof(SystemAssignedTo))]
|
|
internal partial class SystemAssignedToSourceGenerationContext : JsonSerializerContext
|
|
{
|
|
} |