feat(api): Обновил респонс для шаблона под измененную таблицу
This commit is contained in:
9
PARR.API/Contracts/V1/Responses/RobotStatusResponse.cs
Normal file
9
PARR.API/Contracts/V1/Responses/RobotStatusResponse.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user