47 lines
1.0 KiB
C#
47 lines
1.0 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Adaptation.FileHandlers.json.WorkItems;
|
|
|
|
public class SystemChangedBy
|
|
{
|
|
[JsonConstructor]
|
|
public SystemChangedBy(
|
|
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("displayName")]
|
|
public string DisplayName { get; }
|
|
|
|
[JsonPropertyName("url")]
|
|
public string Url { get; }
|
|
|
|
[JsonPropertyName("_links")]
|
|
public Links Links { get; }
|
|
|
|
[JsonPropertyName("id")]
|
|
public string Id { get; }
|
|
|
|
[JsonPropertyName("uniqueName")]
|
|
public string UniqueName { get; }
|
|
|
|
[JsonPropertyName("imageUrl")]
|
|
public string ImageUrl { get; }
|
|
|
|
[JsonPropertyName("descriptor")]
|
|
public string Descriptor { get; }
|
|
} |