/// <summary>
 /// Initializes a new instance of the WebhookSimpleJobDto class.
 /// </summary>
 /// <param name="state">Possible values include: 'Pending', 'Running',
 /// 'Stopping', 'Terminating', 'Faulted', 'Successful',
 /// 'Stopped'</param>
 public WebhookSimpleJobDto(long?id = default(long?), System.Guid?key = default(System.Guid?), WebhookSimpleJobDtoState?state = default(WebhookSimpleJobDtoState?), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), string info = default(string), object outputArguments = default(object), WebhookSimpleRobotDto robot = default(WebhookSimpleRobotDto), WebhookSimpleReleaseDto release = default(WebhookSimpleReleaseDto))
 {
     Id              = id;
     Key             = key;
     State           = state;
     StartTime       = startTime;
     EndTime         = endTime;
     Info            = info;
     OutputArguments = outputArguments;
     Robot           = robot;
     Release         = release;
     CustomInit();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the WebhookProcessScheduleDto class.
 /// </summary>
 /// <param name="name">The name of the schedule.</param>
 /// <param name="enabled">Specifies if the schedule is active or
 /// not.</param>
 /// <param name="environmentId">The Id of the environment associated
 /// with the schedule.</param>
 /// <param name="environmentName">The name of the environment
 /// associated with the schedule.</param>
 /// <param name="startProcessCron">The start cron expression of the
 /// schedule.</param>
 /// <param name="startStrategy">States which robots from the
 /// environment are being run by the schedule. Possible values include:
 /// 'All', 'Specific', 'RobotCount', 'JobsCount'</param>
 /// <param name="stopStrategy">The way a running process is stopped.
 /// Possible values include: 'SoftStop', 'Kill'</param>
 /// <param name="externalJobKey">The unique identifier of the external
 /// job associated with the jobs generated by this schedule. A key is
 /// generated for each group of jobs triggered by this
 /// schedule.</param>
 /// <param name="timeZoneId">The timezone under which the schedule will
 /// run.</param>
 /// <param name="timeZoneIana">The timezone under which the schedule
 /// will run in Iana Standard.</param>
 /// <param name="useCalendar">Specify whether the schedule uses the
 /// bank holiday calendar</param>
 /// <param name="release">Process details associated with the
 /// schedule</param>
 /// <param name="executorRobots">The collection of specific robots
 /// selected to be targeted by the current schedule. This collection
 /// must be empty if the start strategy is not 0 (specific
 /// robots).</param>
 /// <param name="inputArguments">Input parameters that will be passed
 /// to each job created by this schedule.</param>
 public WebhookProcessScheduleDto(long?id = default(long?), string name = default(string), bool?enabled = default(bool?), string environmentId = default(string), string environmentName = default(string), string startProcessCron = default(string), WebhookProcessScheduleDtoStartStrategy?startStrategy = default(WebhookProcessScheduleDtoStartStrategy?), WebhookProcessScheduleDtoStopStrategy?stopStrategy = default(WebhookProcessScheduleDtoStopStrategy?), string externalJobKey = default(string), string timeZoneId = default(string), string timeZoneIana = default(string), bool?useCalendar = default(bool?), WebhookSimpleReleaseDto release = default(WebhookSimpleReleaseDto), IList <WebhookSimpleRobotDto> executorRobots = default(IList <WebhookSimpleRobotDto>), object inputArguments = default(object))
 {
     Id               = id;
     Name             = name;
     Enabled          = enabled;
     EnvironmentId    = environmentId;
     EnvironmentName  = environmentName;
     StartProcessCron = startProcessCron;
     StartStrategy    = startStrategy;
     StopStrategy     = stopStrategy;
     ExternalJobKey   = externalJobKey;
     TimeZoneId       = timeZoneId;
     TimeZoneIana     = timeZoneIana;
     UseCalendar      = useCalendar;
     Release          = release;
     ExecutorRobots   = executorRobots;
     InputArguments   = inputArguments;
     CustomInit();
 }