Refactor code structure for improved readability and maintainability
This commit is contained in:
18
Dto/Deployment/Get/GetQueueJobDetailsDto.cs
Normal file
18
Dto/Deployment/Get/GetQueueJobDetailsDto.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.Deployment.Get
|
||||
{
|
||||
public class GetQueueJobDetailsDto : BaseDetailsDto
|
||||
{
|
||||
public string Type { get; set; } = string.Empty;
|
||||
public string Status { get; set; } = string.Empty;
|
||||
public string PayloadJson { get; set; } = string.Empty;
|
||||
public int Attempts { get; set; }
|
||||
public int MaxAttempts { get; set; }
|
||||
public DateTime? Started { get; set; }
|
||||
public DateTime? Finished { get; set; }
|
||||
public string? ErrorMessage { get; set; }
|
||||
public string? MetadataJson { get; set; }
|
||||
public string? RuleSnapshotJson { get; set; }
|
||||
public ICollection<GetQueueJobTargetDto> Targets { get; set; } = new List<GetQueueJobTargetDto>();
|
||||
public ICollection<GetQueueJobStepDto> Steps { get; set; } = new List<GetQueueJobStepDto>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user