51 lines
1.3 KiB
C#
51 lines
1.3 KiB
C#
namespace PARR.API.Contracts.V1.Requests
|
|
{
|
|
public class ApplicationInWorkRequest
|
|
{
|
|
|
|
public required Guid WorkId { get; set; }
|
|
|
|
public required Guid ApplicationId { 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 NextRun { get; set; }
|
|
|
|
public bool IsAgent { get; set; }
|
|
|
|
public string? AgentName { get; set; }
|
|
|
|
public int? AgentTimeOutSec { get; set; }
|
|
|
|
public string? AgentScript { get; set; }
|
|
|
|
//public required ScheduleRequest Schedule { get; set; }
|
|
|
|
public List<EsppSchValueRequest> Schedule { get; set; } = new List<EsppSchValueRequest>();
|
|
|
|
public List<Guid> WorkGroups { get; set; } = new List<Guid>();
|
|
}
|
|
|
|
|
|
//public class ScheduleRequest
|
|
//{
|
|
// public DateTimeOffset NextRun { get; set; }
|
|
|
|
// public List<EsppSchValueRequest> EsppSchValues { get; set; } = new List<EsppSchValueRequest>();
|
|
//}
|
|
|
|
|
|
public class EsppSchValueRequest
|
|
{
|
|
public Guid TypeValueId { get; set; }
|
|
|
|
public Guid TypeConfigId { get; set; }
|
|
}
|
|
}
|