feat(api): Обновил респонс для шаблона под измененную таблицу

This commit is contained in:
Mikhail Trubnikov
2023-10-03 16:54:01 +10:00
parent e9b91330bf
commit 49a04752bb
5 changed files with 44 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
namespace PARR.API.Contracts.V1.Responses
{
public class RobotStatusResponse
{
public int Code { get; set; }
public string? Name { get; set; }
public string? Description { get; set; }
}
}

View File

@@ -17,6 +17,11 @@
public required string Solution { get; set; }
public required string TemplateDuration { get; set; }
public int RobotAttemptsNumber { get; set; }
public DateTimeOffset? RobotLastStatusUpdated { get; set; }
public RobotStatusResponse? RobotStatus { get; set; }
//work
//public required string Title { get; set; }
//public required string SlaInterval { get; set; }