Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31402.337
# Visual Studio Version 17
VisualStudioVersion = 17.2.32616.157
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureDevopsTracker", "AzureDevopsTracker.csproj", "{26FE19B9-7CD6-4418-9112-2E3C363985BF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureDevopsTracker", "src\AzureDevopsTracker.csproj", "{36601E24-C989-4E11-BD8F-572F2F181ED1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{26FE19B9-7CD6-4418-9112-2E3C363985BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{26FE19B9-7CD6-4418-9112-2E3C363985BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{26FE19B9-7CD6-4418-9112-2E3C363985BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{26FE19B9-7CD6-4418-9112-2E3C363985BF}.Release|Any CPU.Build.0 = Release|Any CPU
{36601E24-C989-4E11-BD8F-572F2F181ED1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{36601E24-C989-4E11-BD8F-572F2F181ED1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{36601E24-C989-4E11-BD8F-572F2F181ED1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{36601E24-C989-4E11-BD8F-572F2F181ED1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
100 changes: 0 additions & 100 deletions AzureDevopsTracker/DTOs/WorkItemDTO.cs

This file was deleted.

10 changes: 0 additions & 10 deletions AzureDevopsTracker/Helpers/MarkdownHelper.cs

This file was deleted.

10 changes: 0 additions & 10 deletions AzureDevopsTracker/Helpers/MicrosoftTeamsHelper.cs

This file was deleted.

11 changes: 0 additions & 11 deletions AzureDevopsTracker/Integrations/MessageBaseIntegration.cs

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

namespace AzureDevopsTracker.DTOs.Create
{
public class CreateWorkItemDTO
public record CreateWorkItemDTO
{
[JsonPropertyName("resource")]
[JsonProperty("resource")]
public Resource Resource { get; set; }
public Resource Resource { get; init; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

namespace AzureDevopsTracker.DTOs.Delete
{
public class DeleteWorkItemDTO
public record DeleteWorkItemDTO
{
[JsonPropertyName("resource")]
[JsonProperty("resource")]
public Resource Resource { get; set; }
public Resource Resource { get; init; }
}
}
38 changes: 19 additions & 19 deletions AzureDevopsTracker/DTOs/Fields.cs → src/DTOs/Fields.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,77 +4,77 @@

namespace AzureDevopsTracker.DTOs
{
public class Fields
public record Fields
{
[JsonPropertyName("System.AreaPath")]
[JsonProperty("System.AreaPath")]
public string AreaPath { get; set; }
public string AreaPath { get; init; }

[JsonPropertyName("System.TeamProject")]
[JsonProperty("System.TeamProject")]
public string TeamProject { get; set; }
public string TeamProject { get; init; }

[JsonPropertyName("System.IterationPath")]
[JsonProperty("System.IterationPath")]
public string IterationPath { get; set; }
public string IterationPath { get; init; }

[JsonPropertyName("System.AssignedTo")]
[JsonProperty("System.AssignedTo")]
public string AssignedTo { get; set; }
public string AssignedTo { get; init; }

[JsonPropertyName("System.WorkItemType")]
[JsonProperty("System.WorkItemType")]
public string Type { get; set; }
public string Type { get; init; }

[JsonPropertyName("System.CreatedDate")]
[JsonProperty("System.CreatedDate")]
public DateTime CreatedDate { get; set; }
public DateTime CreatedDate { get; init; }

[JsonPropertyName("System.CreatedBy")]
[JsonProperty("System.CreatedBy")]
public string CreatedBy { get; set; }
public string CreatedBy { get; init; }

[JsonPropertyName("System.ChangedBy")]
[JsonProperty("System.ChangedBy")]
public string ChangedBy { get; set; }
public string ChangedBy { get; init; }

[JsonPropertyName("System.State")]
[JsonProperty("System.State")]
public string State { get; set; }
public string State { get; init; }

[JsonPropertyName("System.Title")]
[JsonProperty("System.Title")]
public string Title { get; set; }
public string Title { get; init; }

[JsonPropertyName("System.Tags")]
[JsonProperty("System.Tags")]
public string Tags { get; set; }
public string Tags { get; init; }

[JsonPropertyName("System.Parent")]
[JsonProperty("System.Parent")]
public string Parent { get; set; }
public string Parent { get; init; }

[JsonPropertyName("Microsoft.VSTS.Scheduling.StoryPoints")]
[JsonProperty("Microsoft.VSTS.Scheduling.StoryPoints")]
public string StoryPoints { get; set; }
public string StoryPoints { get; init; }

[JsonPropertyName("Microsoft.VSTS.Scheduling.OriginalEstimate")]
[JsonProperty("Microsoft.VSTS.Scheduling.OriginalEstimate")]
public string OriginalEstimate { get; set; }
public string OriginalEstimate { get; init; }

[JsonPropertyName("Microsoft.VSTS.Scheduling.RemainingWork")]
[JsonProperty("Microsoft.VSTS.Scheduling.RemainingWork")]
public string RemainingWork { get; set; }
public string RemainingWork { get; init; }

[JsonPropertyName("Microsoft.VSTS.Scheduling.Effort")]
[JsonProperty("Microsoft.VSTS.Scheduling.Effort")]
public string Effort { get; set; }
public string Effort { get; init; }

[JsonPropertyName("Microsoft.VSTS.Common.Activity")]
[JsonProperty("Microsoft.VSTS.Common.Activity")]
public string Activity { get; set; }
public string Activity { get; init; }

[JsonProperty("Custom.ChangeLogDescription")]
public string ChangeLogDescription { get; set; }
public string ChangeLogDescription { get; init; }
}
}
6 changes: 3 additions & 3 deletions AzureDevopsTracker/DTOs/Resource.cs → src/DTOs/Resource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

namespace AzureDevopsTracker.DTOs
{
public class Resource
public record Resource
{
[JsonPropertyName("id")]
[JsonProperty("id")]
public string Id { get; set; }
public string Id { get; init; }

[JsonPropertyName("fields")]
[JsonProperty("fields")]
public Fields Fields { get; set; }
public Fields Fields { get; init; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

namespace AzureDevopsTracker.DTOs.Restore
{
public class RestoreWorkItemDTO
public record RestoreWorkItemDTO
{
[JsonPropertyName("resource")]
[JsonProperty("resource")]
public Resource Resource { get; set; }
public Resource Resource { get; init; }
}
}
Loading