/// <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;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JobDto" /> 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&#39;t started yet..</param>
 /// <param name="EndTime">The date and time when the job execution ended or null if the job hasn&#39;t ended yet..</param>
 /// <param name="State">The state in which the job is..</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="Source">The Source name of the job..</param>
 /// <param name="SourceType">The Source type of the job..</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="CreationTime">The date and time when the job was created..</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.</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>
 /// <param name="HostMachineName">The name of the machine where the Robot run the job..</param>
 /// <param name="Id">Id.</param>
 public JobDto(Guid?Key = default(Guid?), DateTime?StartTime = default(DateTime?), DateTime?EndTime = default(DateTime?), StateEnum?State = default(StateEnum?), SimpleRobotDto Robot = default(SimpleRobotDto), SimpleReleaseDto Release = default(SimpleReleaseDto), string Source = default(string), SourceTypeEnum?SourceType = default(SourceTypeEnum?), Guid?BatchExecutionKey = default(Guid?), string Info = default(string), DateTime?CreationTime = default(DateTime?), long?StartingScheduleId = default(long?), string ReleaseName = default(string), TypeEnum?Type = default(TypeEnum?), string InputArguments = default(string), string OutputArguments = default(string), string HostMachineName = default(string), long?Id = default(long?))
 {
     this.Key                = Key;
     this.StartTime          = StartTime;
     this.EndTime            = EndTime;
     this.State              = State;
     this.Robot              = Robot;
     this.Release            = Release;
     this.Source             = Source;
     this.SourceType         = SourceType;
     this.BatchExecutionKey  = BatchExecutionKey;
     this.Info               = Info;
     this.CreationTime       = CreationTime;
     this.StartingScheduleId = StartingScheduleId;
     this.ReleaseName        = ReleaseName;
     this.Type               = Type;
     this.InputArguments     = InputArguments;
     this.OutputArguments    = OutputArguments;
     this.HostMachineName    = HostMachineName;
     this.Id = Id;
 }