175 lines
7.3 KiB
C#
175 lines
7.3 KiB
C#
using System;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Adaptation.FileHandlers.json.WorkItems;
|
|
|
|
public class Fields
|
|
{
|
|
[JsonConstructor]
|
|
public Fields(string systemAreaPath,
|
|
string systemTeamProject,
|
|
string systemIterationPath,
|
|
string systemWorkItemType,
|
|
string systemState,
|
|
string systemReason,
|
|
User systemAssignedTo,
|
|
DateTime systemCreatedDate,
|
|
User systemCreatedBy,
|
|
DateTime systemChangedDate,
|
|
User systemChangedBy,
|
|
int systemCommentCount,
|
|
string systemTitle,
|
|
string systemBoardColumn,
|
|
bool systemBoardColumnDone,
|
|
DateTime microsoftVSTSCommonStateChangeDate,
|
|
DateTime microsoftVSTSCommonActivatedDate,
|
|
User microsoftVSTSCommonActivatedBy,
|
|
DateTime microsoftVSTSCommonResolvedDate,
|
|
User microsoftVSTSCommonResolvedBy,
|
|
DateTime microsoftVSTSCommonClosedDate,
|
|
User microsoftVSTSCommonClosedBy,
|
|
int microsoftVSTSCommonPriority,
|
|
double microsoftVSTSSchedulingEffort,
|
|
DateTime microsoftVSTSSchedulingTargetDate,
|
|
double microsoftVSTSCommonStackRank,
|
|
string microsoftVSTSCommonValueArea,
|
|
string wEF81590F0A22C04FEF834957660F5F0C58KanbanColumn,
|
|
bool wEF81590F0A22C04FEF834957660F5F0C58KanbanColumnDone,
|
|
string systemDescription,
|
|
string systemHistory,
|
|
string systemTags,
|
|
string href)
|
|
{
|
|
SystemAreaPath = systemAreaPath;
|
|
SystemTeamProject = systemTeamProject;
|
|
SystemIterationPath = systemIterationPath;
|
|
SystemWorkItemType = systemWorkItemType;
|
|
SystemState = systemState;
|
|
SystemReason = systemReason;
|
|
SystemAssignedTo = systemAssignedTo;
|
|
SystemCreatedDate = systemCreatedDate;
|
|
SystemCreatedBy = systemCreatedBy;
|
|
SystemChangedDate = systemChangedDate;
|
|
SystemChangedBy = systemChangedBy;
|
|
SystemCommentCount = systemCommentCount;
|
|
SystemTitle = systemTitle;
|
|
SystemBoardColumn = systemBoardColumn;
|
|
SystemBoardColumnDone = systemBoardColumnDone;
|
|
MicrosoftVSTSCommonStateChangeDate = microsoftVSTSCommonStateChangeDate;
|
|
MicrosoftVSTSCommonActivatedDate = microsoftVSTSCommonActivatedDate;
|
|
MicrosoftVSTSCommonActivatedBy = microsoftVSTSCommonActivatedBy;
|
|
MicrosoftVSTSCommonResolvedDate = microsoftVSTSCommonResolvedDate;
|
|
MicrosoftVSTSCommonResolvedBy = microsoftVSTSCommonResolvedBy;
|
|
MicrosoftVSTSCommonClosedDate = microsoftVSTSCommonClosedDate;
|
|
MicrosoftVSTSCommonClosedBy = microsoftVSTSCommonClosedBy;
|
|
MicrosoftVSTSCommonPriority = microsoftVSTSCommonPriority;
|
|
MicrosoftVSTSSchedulingEffort = microsoftVSTSSchedulingEffort;
|
|
MicrosoftVSTSSchedulingTargetDate = microsoftVSTSSchedulingTargetDate;
|
|
MicrosoftVSTSCommonStackRank = microsoftVSTSCommonStackRank;
|
|
MicrosoftVSTSCommonValueArea = microsoftVSTSCommonValueArea;
|
|
WEF81590F0A22C04FEF834957660F5F0C58KanbanColumn = wEF81590F0A22C04FEF834957660F5F0C58KanbanColumn;
|
|
WEF81590F0A22C04FEF834957660F5F0C58KanbanColumnDone = wEF81590F0A22C04FEF834957660F5F0C58KanbanColumnDone;
|
|
SystemDescription = systemDescription;
|
|
SystemHistory = systemHistory;
|
|
SystemTags = systemTags;
|
|
Href = href;
|
|
}
|
|
|
|
[JsonPropertyName("System.AreaPath")]
|
|
public string SystemAreaPath { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.TeamProject")]
|
|
public string SystemTeamProject { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.IterationPath")]
|
|
public string SystemIterationPath { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.WorkItemType")]
|
|
public string SystemWorkItemType { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.State")]
|
|
public string SystemState { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.Reason")]
|
|
public string SystemReason { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.AssignedTo")]
|
|
public User SystemAssignedTo { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.CreatedDate")]
|
|
public DateTime SystemCreatedDate { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.CreatedBy")]
|
|
public User SystemCreatedBy { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.ChangedDate")]
|
|
public DateTime SystemChangedDate { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.ChangedBy")]
|
|
public User SystemChangedBy { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.CommentCount")]
|
|
public int SystemCommentCount { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.Title")]
|
|
public string SystemTitle { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.BoardColumn")]
|
|
public string SystemBoardColumn { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.BoardColumnDone")]
|
|
public bool SystemBoardColumnDone { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Common.StateChangeDate")]
|
|
public DateTime MicrosoftVSTSCommonStateChangeDate { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Common.ActivatedDate")]
|
|
public DateTime MicrosoftVSTSCommonActivatedDate { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Common.ActivatedBy")]
|
|
public User MicrosoftVSTSCommonActivatedBy { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Common.ResolvedDate")]
|
|
public DateTime MicrosoftVSTSCommonResolvedDate { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Common.ResolvedBy")]
|
|
public User MicrosoftVSTSCommonResolvedBy { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Common.ClosedDate")]
|
|
public DateTime MicrosoftVSTSCommonClosedDate { get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Common.ClosedBy")]
|
|
public User MicrosoftVSTSCommonClosedBy { get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Common.Priority")]
|
|
public int MicrosoftVSTSCommonPriority { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Scheduling.Effort")]
|
|
public double MicrosoftVSTSSchedulingEffort { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Scheduling.TargetDate")]
|
|
public DateTime MicrosoftVSTSSchedulingTargetDate { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Common.StackRank")]
|
|
public double MicrosoftVSTSCommonStackRank { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("Microsoft.VSTS.Common.ValueArea")]
|
|
public string MicrosoftVSTSCommonValueArea { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("WEF_81590F0A22C04FEF834957660F5F0C58_Kanban.Column")]
|
|
public string WEF81590F0A22C04FEF834957660F5F0C58KanbanColumn { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("WEF_81590F0A22C04FEF834957660F5F0C58_Kanban.Column.Done")]
|
|
public bool WEF81590F0A22C04FEF834957660F5F0C58KanbanColumnDone { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.Description")]
|
|
public string SystemDescription { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.History")]
|
|
public string SystemHistory { get; set; } // { init; get; }
|
|
|
|
[JsonPropertyName("System.Tags")]
|
|
public string SystemTags { get; set; } // { init; get; }
|
|
|
|
public string Href { get; set; } // { init; get; }
|
|
} |