/// <summary>
 /// Initializes a new instance of the <see cref="QueueItemDto" /> class.
 /// </summary>
 /// <param name="QueueDefinitionId">The Id of the parent queue..</param>
 /// <param name="QueueDefinition">The parent queue.</param>
 /// <param name="ProcessingException">Stores the actual processing exception, 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>
 /// <param name="OutputData">A JSON representation of the output data generated by the item&#39;s processing..</param>
 /// <param name="Status">The processing state of the item..</param>
 /// <param name="ReviewStatus">The review state of the item - applicable only for failed items..</param>
 /// <param name="ReviewerUserId">The UserId of the Reviewer, if any..</param>
 /// <param name="ReviewerUser">Stores the actual reviewer user, if any..</param>
 /// <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="ProcessingExceptionType">The processing exception. If the item has not been processed or has been processed successfully it will be null..</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..</param>
 /// <param name="Robot">The robot that has processed the item, if any..</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="SpecificData">A JSON representation of the specific content..</param>
 /// <param name="CreationTime">The date and time when the item was created..</param>
 /// <param name="Progress">String field which is used to keep track of the business flow progress..</param>
 /// <param name="RowVersion">Identifier used for optimistic concurrency, so Orchestrator can figure whether data is out of date or not..</param>
 /// <param name="Id">Id.</param>
 public QueueItemDto(long?QueueDefinitionId = default(long?), QueueDefinitionDto QueueDefinition = default(QueueDefinitionDto), ProcessingExceptionDto ProcessingException = default(ProcessingExceptionDto), Dictionary <string, Object> SpecificContent = default(Dictionary <string, Object>), QueueItemOutput Output = default(QueueItemOutput), string OutputData = default(string), StatusEnum?Status = default(StatusEnum?), ReviewStatusEnum?ReviewStatus = default(ReviewStatusEnum?), long?ReviewerUserId = default(long?), SimpleUserDto ReviewerUser = default(SimpleUserDto), Guid?Key = default(Guid?), string Reference = default(string), ProcessingExceptionTypeEnum?ProcessingExceptionType = default(ProcessingExceptionTypeEnum?), DateTime?DueDate = default(DateTime?), PriorityEnum?Priority = default(PriorityEnum?), SimpleRobotDto Robot = default(SimpleRobotDto), DateTime?DeferDate = default(DateTime?), DateTime?StartProcessing = default(DateTime?), DateTime?EndProcessing = default(DateTime?), int?SecondsInPreviousAttempts = default(int?), long?AncestorId = default(long?), int?RetryNumber = default(int?), string SpecificData = default(string), DateTime?CreationTime = default(DateTime?), string Progress = default(string), byte[] RowVersion = default(byte[]), long?Id = default(long?))
 {
     this.QueueDefinitionId   = QueueDefinitionId;
     this.QueueDefinition     = QueueDefinition;
     this.ProcessingException = ProcessingException;
     this.SpecificContent     = SpecificContent;
     this.Output                    = Output;
     this.OutputData                = OutputData;
     this.Status                    = Status;
     this.ReviewStatus              = ReviewStatus;
     this.ReviewerUserId            = ReviewerUserId;
     this.ReviewerUser              = ReviewerUser;
     this.Key                       = Key;
     this.Reference                 = Reference;
     this.ProcessingExceptionType   = ProcessingExceptionType;
     this.DueDate                   = DueDate;
     this.Priority                  = Priority;
     this.Robot                     = Robot;
     this.DeferDate                 = DeferDate;
     this.StartProcessing           = StartProcessing;
     this.EndProcessing             = EndProcessing;
     this.SecondsInPreviousAttempts = SecondsInPreviousAttempts;
     this.AncestorId                = AncestorId;
     this.RetryNumber               = RetryNumber;
     this.SpecificData              = SpecificData;
     this.CreationTime              = CreationTime;
     this.Progress                  = Progress;
     this.RowVersion                = RowVersion;
     this.Id = Id;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QueueProcessingRecordDto" /> class.
 /// </summary>
 /// <param name="QueueDefinitionId">The Id of the queue for which the report is done..</param>
 /// <param name="UiQueueMetadata">The queue for which the report is done..</param>
 /// <param name="ProcessingTime">The date and time when the report is computed..</param>
 /// <param name="ReportType">The aggregation period used in the report..</param>
 /// <param name="NumberOfRemainingTransactions">The number of unprocessed (new) items..</param>
 /// <param name="NumberOfInProgressTransactions">The number of items in progress..</param>
 /// <param name="NumberOfApplicationExceptions">The total number of application exceptions thrown while processing queue items in the given time period..</param>
 /// <param name="NumberOfBusinessExceptions">The total number of business exceptions thrown while processing queue items in the given time period..</param>
 /// <param name="NumberOfSuccessfulTransactions">The total number of successfully processed queue items in the given time period..</param>
 /// <param name="NumberOfRetriedItems">The total number of processing retries occurred in the given time period..</param>
 /// <param name="ApplicationExceptionsProcessingTime">The total number of seconds spent processing queue items that failed with application exception in the given time period..</param>
 /// <param name="BusinessExceptionsProcessingTime">The total number of seconds spent processing queue items that failed with business exception in the given time period..</param>
 /// <param name="SuccessfulTransactionsProcessingTime">The total number of seconds spent processing successful queue items in the given time period..</param>
 /// <param name="TotalNumberOfTransactions">The total number of item processing transactions, both failed and successful..</param>
 /// <param name="TenantId">The Id of the queue tenant..</param>
 /// <param name="Id">Id.</param>
 public QueueProcessingRecordDto(long?QueueDefinitionId = default(long?), QueueDefinitionDto UiQueueMetadata = default(QueueDefinitionDto), DateTime?ProcessingTime = default(DateTime?), ReportTypeEnum?ReportType = default(ReportTypeEnum?), int?NumberOfRemainingTransactions = default(int?), int?NumberOfInProgressTransactions = default(int?), int?NumberOfApplicationExceptions = default(int?), int?NumberOfBusinessExceptions = default(int?), int?NumberOfSuccessfulTransactions = default(int?), int?NumberOfRetriedItems = default(int?), decimal?ApplicationExceptionsProcessingTime = default(decimal?), decimal?BusinessExceptionsProcessingTime = default(decimal?), decimal?SuccessfulTransactionsProcessingTime = default(decimal?), int?TotalNumberOfTransactions = default(int?), int?TenantId = default(int?), long?Id = default(long?))
 {
     this.QueueDefinitionId                    = QueueDefinitionId;
     this.UiQueueMetadata                      = UiQueueMetadata;
     this.ProcessingTime                       = ProcessingTime;
     this.ReportType                           = ReportType;
     this.NumberOfRemainingTransactions        = NumberOfRemainingTransactions;
     this.NumberOfInProgressTransactions       = NumberOfInProgressTransactions;
     this.NumberOfApplicationExceptions        = NumberOfApplicationExceptions;
     this.NumberOfBusinessExceptions           = NumberOfBusinessExceptions;
     this.NumberOfSuccessfulTransactions       = NumberOfSuccessfulTransactions;
     this.NumberOfRetriedItems                 = NumberOfRetriedItems;
     this.ApplicationExceptionsProcessingTime  = ApplicationExceptionsProcessingTime;
     this.BusinessExceptionsProcessingTime     = BusinessExceptionsProcessingTime;
     this.SuccessfulTransactionsProcessingTime = SuccessfulTransactionsProcessingTime;
     this.TotalNumberOfTransactions            = TotalNumberOfTransactions;
     this.TenantId = TenantId;
     this.Id       = Id;
 }