/// <summary> /// Initializes a new instance of the <see cref="TransactionResultDto" /> class. /// </summary> /// <param name="IsSuccessful">States if the processing was successful or not..</param> /// <param name="ProcessingException">The details of the processing exception thrown if the item failed..</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="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="Output">A collection of key value pairs containing custom data resulted after successful processing..</param> /// <param name="Progress">String field which is used to keep track of the business flow progress..</param> public TransactionResultDto(bool?IsSuccessful = default(bool?), ProcessingExceptionDto ProcessingException = default(ProcessingExceptionDto), DateTime?DeferDate = default(DateTime?), DateTime?DueDate = default(DateTime?), QueueItemOutput Output = default(QueueItemOutput), string Progress = default(string)) { this.IsSuccessful = IsSuccessful; this.ProcessingException = ProcessingException; this.DeferDate = DeferDate; this.DueDate = DueDate; this.Output = Output; this.Progress = Progress; }
/// <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'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. <para />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; }