49 lines
1.2 KiB
C#
49 lines
1.2 KiB
C#
namespace PARR.API.Contracts.V1.Responses
|
|
{
|
|
public class ApplicationInWorkResponse
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
public required string TemplateDuration { get; set; }
|
|
|
|
public required string ShortDescription { get; set; }
|
|
|
|
public required string FullDescription { get; set; }
|
|
|
|
public required string Solution { get; set; }
|
|
|
|
public DateTimeOffset? LastRun { get; set; }
|
|
|
|
public DateTimeOffset NextRun { get; set; }
|
|
|
|
public bool IsAgent { get; set; }
|
|
|
|
public string? AgentName { get; set; }
|
|
|
|
public int? AgentTimeOutSec { get; set; }
|
|
|
|
public string? AgentScript { get; set; }
|
|
|
|
public WorkResponse? Work { get; set; }
|
|
|
|
public ApplicationResponse? Application { get; set; }
|
|
|
|
public int TemplatesCount { get; set; }
|
|
|
|
public ApplicationInWorkScheduleResponse? Schedule { get; set; }
|
|
|
|
public List<WorkGroupResponse>? WorkGroups { get; set; }
|
|
}
|
|
|
|
|
|
public class ApplicationInWorkScheduleResponse
|
|
{
|
|
public string Timezone { get; set; } = string.Empty;
|
|
|
|
public EsppScheduleTypeScheduleResponse? TypeSchedule { get; set; }
|
|
|
|
public List<EsppScheduleValResponse>? Values { get; set; }
|
|
}
|
|
|
|
}
|