コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the WebhookQueueItemDto class.
 /// </summary>
 /// <param name="key">The unique identifier of a queue item.</param>
 /// <param name="reference">An optional, user-specified value for queue
 /// item identification.</param>
 /// <param name="queueDefinitionId">The Id of the parent queue.</param>
 /// <param name="status">The processing state of the item. Possible
 /// values include: 'New', 'InProgress', 'Failed', 'Successful',
 /// 'Abandoned', 'Retried', 'Deleted'</param>
 /// <param name="reviewStatus">The review state of the item -
 /// applicable only for failed items. Possible values include: 'None',
 /// 'InReview', 'Verified', 'Retried'</param>
 /// <param name="processingException">Stores the actual processing
 /// exception, if any.</param>
 /// <param name="dueDate">The latest date and time at which the item
 /// should be processed. If empty the item can be processed at any
 /// given time.</param>
 /// <param name="priority">Sets the processing importance for a given
 /// item. Possible values include: 'High', 'Normal', 'Low'</param>
 /// <param name="creationTime">The date and time when the item was
 /// created.</param>
 /// <param name="deferDate">The earliest date and time at which the
 /// item is available for processing. If empty the item can be
 /// processed as soon as possible.</param>
 /// <param name="startProcessing">The date and time at which the item
 /// processing started. This is null if the item was not
 /// processed.</param>
 /// <param name="endProcessing">The date and time at which the item
 /// processing ended. This is null if the item was not
 /// processed.</param>
 /// <param name="secondsInPreviousAttempts">The number of seconds that
 /// the last failed processing lasted.</param>
 /// <param name="ancestorId">The Id of an ancestor item connected to
 /// the current item.</param>
 /// <param name="retryNumber">The number of times this work item has
 /// been processed.
 /// &lt;para /&gt;This can be higher than 0 only if MaxRetried number
 /// is set and the item processing failed at least once with
 /// ApplicationException.</param>
 /// <param name="progress">String field which is used to keep track of
 /// the business flow progress.</param>
 /// <param name="reviewerUserId">The UserId of the Reviewer, if
 /// any.</param>
 /// <param name="robot">The robot that has processed the item, if
 /// any.</param>
 /// <param name="reviewerUser">Stores the actual reviewer user, if
 /// any.</param>
 /// <param name="specificContent">A collection of key value pairs
 /// containing custom data configured in the Add Queue Item activity,
 /// in UiPath Studio.</param>
 /// <param name="output">A collection of key value pairs containing
 /// custom data resulted after successful processing.</param>
 public WebhookQueueItemDto(long?id = default(long?), System.Guid?key = default(System.Guid?), string reference = default(string), long?queueDefinitionId = default(long?), WebhookQueueItemDtoStatus?status = default(WebhookQueueItemDtoStatus?), WebhookQueueItemDtoReviewStatus?reviewStatus = default(WebhookQueueItemDtoReviewStatus?), WebhookProcessingExceptionDto processingException = default(WebhookProcessingExceptionDto), System.DateTime?dueDate = default(System.DateTime?), WebhookQueueItemDtoPriority?priority = default(WebhookQueueItemDtoPriority?), System.DateTime?creationTime = default(System.DateTime?), System.DateTime?deferDate = default(System.DateTime?), System.DateTime?startProcessing = default(System.DateTime?), System.DateTime?endProcessing = default(System.DateTime?), int?secondsInPreviousAttempts = default(int?), long?ancestorId = default(long?), int?retryNumber = default(int?), string progress = default(string), long?reviewerUserId = default(long?), WebhookRobotDto robot = default(WebhookRobotDto), WebhookSimpleUserDto reviewerUser = default(WebhookSimpleUserDto), IDictionary <string, object> specificContent = default(IDictionary <string, object>), IDictionary <string, object> output = default(IDictionary <string, object>))
 {
     Id                        = id;
     Key                       = key;
     Reference                 = reference;
     QueueDefinitionId         = queueDefinitionId;
     Status                    = status;
     ReviewStatus              = reviewStatus;
     ProcessingException       = processingException;
     DueDate                   = dueDate;
     Priority                  = priority;
     CreationTime              = creationTime;
     DeferDate                 = deferDate;
     StartProcessing           = startProcessing;
     EndProcessing             = endProcessing;
     SecondsInPreviousAttempts = secondsInPreviousAttempts;
     AncestorId                = ancestorId;
     RetryNumber               = retryNumber;
     Progress                  = progress;
     ReviewerUserId            = reviewerUserId;
     Robot                     = robot;
     ReviewerUser              = reviewerUser;
     SpecificContent           = specificContent;
     Output                    = output;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the WebhookJobDto class.
 /// </summary>
 /// <param name="key">The unique job identifier.</param>
 /// <param name="startTime">The date and time when the job execution
 /// started or null if the job hasn't started yet.</param>
 /// <param name="endTime">The date and time when the job execution
 /// ended or null if the job hasn't ended yet.</param>
 /// <param name="state">The state in which the job is. Possible values
 /// include: 'Pending', 'Running', 'Stopping', 'Terminating',
 /// 'Faulted', 'Successful', 'Stopped'</param>
 /// <param name="source">The Source name of the job.</param>
 /// <param name="sourceType">The Source type of the job. Possible
 /// values include: 'Manual', 'Schedule', 'Agent'</param>
 /// <param name="batchExecutionKey">The unique identifier grouping
 /// multiple jobs. It is usually generated when the job is created by a
 /// schedule.</param>
 /// <param name="info">Additional information about the current
 /// job.</param>
 /// <param name="startingScheduleId">The Id of the schedule that
 /// started the job, or null if the job was started by the
 /// user.</param>
 /// <param name="releaseName">The name of the release associated with
 /// the current name.</param>
 /// <param name="type">The type of the job, Attended if started via the
 /// robot, Unattended otherwise. Possible values include: 'Unattended',
 /// 'Attended'</param>
 /// <param name="hostMachineName">The name of the machine where the
 /// Robot run the job.</param>
 /// <param name="robot">The robot associated with the current
 /// job.</param>
 /// <param name="release">The release associated with the current
 /// job.</param>
 /// <param name="inputArguments">Input parameters in JSON format to be
 /// passed to job execution</param>
 /// <param name="outputArguments">Output parameters in JSON format
 /// resulted from job execution</param>
 public WebhookJobDto(long?id = default(long?), System.Guid?key = default(System.Guid?), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), WebhookJobDtoState?state = default(WebhookJobDtoState?), string source = default(string), WebhookJobDtoSourceType?sourceType = default(WebhookJobDtoSourceType?), System.Guid?batchExecutionKey = default(System.Guid?), string info = default(string), long?startingScheduleId = default(long?), string releaseName = default(string), WebhookJobDtoType?type = default(WebhookJobDtoType?), string hostMachineName = default(string), WebhookRobotDto robot = default(WebhookRobotDto), WebhookReleaseDto release = default(WebhookReleaseDto), object inputArguments = default(object), object outputArguments = default(object))
 {
     Id                 = id;
     Key                = key;
     StartTime          = startTime;
     EndTime            = endTime;
     State              = state;
     Source             = source;
     SourceType         = sourceType;
     BatchExecutionKey  = batchExecutionKey;
     Info               = info;
     StartingScheduleId = startingScheduleId;
     ReleaseName        = releaseName;
     Type               = type;
     HostMachineName    = hostMachineName;
     Robot              = robot;
     Release            = release;
     InputArguments     = inputArguments;
     OutputArguments    = outputArguments;
     CustomInit();
 }