|
1 | 1 | using Newtonsoft.Json; |
2 | 2 | using System; |
| 3 | +using System.Text.Json.Serialization; |
3 | 4 |
|
4 | 5 | namespace AzureDevopsStateTracker.DTOs |
5 | 6 | { |
6 | 7 | public class Fields |
7 | 8 | { |
| 9 | + [JsonPropertyName("System.AreaPath")] |
8 | 10 | [JsonProperty("System.AreaPath")] |
9 | 11 | public string AreaPath { get; set; } |
10 | 12 |
|
| 13 | + [JsonPropertyName("System.TeamProject")] |
11 | 14 | [JsonProperty("System.TeamProject")] |
12 | 15 | public string TeamProject { get; set; } |
13 | 16 |
|
| 17 | + [JsonPropertyName("System.IterationPath")] |
14 | 18 | [JsonProperty("System.IterationPath")] |
15 | 19 | public string IterationPath { get; set; } |
16 | 20 |
|
| 21 | + [JsonPropertyName("System.AssignedTo")] |
17 | 22 | [JsonProperty("System.AssignedTo")] |
18 | 23 | public string AssignedTo { get; set; } |
19 | 24 |
|
| 25 | + [JsonPropertyName("System.WorkItemType")] |
20 | 26 | [JsonProperty("System.WorkItemType")] |
21 | 27 | public string Type { get; set; } |
22 | 28 |
|
| 29 | + [JsonPropertyName("System.CreatedDate")] |
23 | 30 | [JsonProperty("System.CreatedDate")] |
24 | 31 | public DateTime CreatedDate { get; set; } |
25 | 32 |
|
| 33 | + [JsonPropertyName("System.CreatedBy")] |
26 | 34 | [JsonProperty("System.CreatedBy")] |
27 | 35 | public string CreatedBy { get; set; } |
28 | 36 |
|
| 37 | + [JsonPropertyName("System.ChangedBy")] |
29 | 38 | [JsonProperty("System.ChangedBy")] |
30 | 39 | public string ChangedBy { get; set; } |
31 | 40 |
|
| 41 | + [JsonPropertyName("System.State")] |
32 | 42 | [JsonProperty("System.State")] |
33 | 43 | public string State { get; set; } |
34 | 44 |
|
| 45 | + [JsonPropertyName("System.Title")] |
35 | 46 | [JsonProperty("System.Title")] |
36 | 47 | public string Title { get; set; } |
37 | 48 |
|
| 49 | + [JsonPropertyName("System.Tags")] |
38 | 50 | [JsonProperty("System.Tags")] |
39 | 51 | public string Tags { get; set; } |
40 | 52 |
|
| 53 | + [JsonPropertyName("System.Parent")] |
41 | 54 | [JsonProperty("System.Parent")] |
42 | | - public string Parent { get; set; } |
| 55 | + public string Parent { get; set; } |
43 | 56 |
|
| 57 | + [JsonPropertyName("Microsoft.VSTS.Scheduling.StoryPoints")] |
44 | 58 | [JsonProperty("Microsoft.VSTS.Scheduling.StoryPoints")] |
45 | 59 | public string StoryPoints { get; set; } |
46 | 60 |
|
| 61 | + [JsonPropertyName("Microsoft.VSTS.Scheduling.OriginalEstimate")] |
47 | 62 | [JsonProperty("Microsoft.VSTS.Scheduling.OriginalEstimate")] |
48 | 63 | public string OriginalEstimate { get; set; } |
49 | 64 |
|
| 65 | + [JsonPropertyName("Microsoft.VSTS.Scheduling.RemainingWork")] |
50 | 66 | [JsonProperty("Microsoft.VSTS.Scheduling.RemainingWork")] |
51 | 67 | public string RemainingWork { get; set; } |
52 | 68 |
|
| 69 | + [JsonPropertyName("Microsoft.VSTS.Scheduling.Effort")] |
53 | 70 | [JsonProperty("Microsoft.VSTS.Scheduling.Effort")] |
54 | 71 | public string Effort { get; set; } |
55 | 72 |
|
| 73 | + [JsonPropertyName("Microsoft.VSTS.Common.Activity")] |
56 | 74 | [JsonProperty("Microsoft.VSTS.Common.Activity")] |
57 | 75 | public string Activity { get; set; } |
58 | 76 | } |
|
0 commit comments