/// <summary>
 /// Initializes a new instance of the 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'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', 'Suspended', 'Resumed'</param>
 /// <param name="jobPriority">Execution priority. Possible values
 /// include: 'Low', 'Normal', 'High'</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', 'Queue'</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. Possible values include: 'Unattended',
 /// 'Attended'</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="hasMediaRecorded">True if any execution media has been
 /// recorded for this job, false otherwise.</param>
 /// <param name="persistenceId">The persistence instance id for a
 /// suspended job</param>
 /// <param name="resumeVersion">Distinguishes between multiple job
 /// suspend/resume cycles</param>
 /// <param name="stopStrategy">Possible values include: 'SoftStop',
 /// 'Kill'</param>
 /// <param name="runtimeType">The runtime type of the robot which can
 /// pick up the job. Possible values include: 'NonProduction',
 /// 'Attended', 'Unattended', 'Studio', 'Development', 'StudioX',
 /// 'Headless', 'StudioPro', 'TestAutomation'</param>
 /// <param name="entryPointPath">Path to the entry point workflow
 /// (XAML) that will be executed by the robot</param>
 /// <param name="organizationUnitId">Id of the folder this job is part
 /// of.</param>
 /// <param name="organizationUnitFullyQualifiedName">Fully qualified
 /// name of the folder this job is part of.</param>
 /// <param name="reference">Reference identifier for the job</param>
 public JobDto(System.Guid?key = default(System.Guid?), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), JobDtoState?state = default(JobDtoState?), JobDtoJobPriority?jobPriority = default(JobDtoJobPriority?), SimpleRobotDto robot = default(SimpleRobotDto), SimpleReleaseDto release = default(SimpleReleaseDto), string source = default(string), JobDtoSourceType?sourceType = default(JobDtoSourceType?), System.Guid?batchExecutionKey = default(System.Guid?), string info = default(string), System.DateTime?creationTime = default(System.DateTime?), long?startingScheduleId = default(long?), string releaseName = default(string), JobDtoType?type = default(JobDtoType?), string inputArguments = default(string), string outputArguments = default(string), string hostMachineName = default(string), bool?hasMediaRecorded = default(bool?), System.Guid?persistenceId = default(System.Guid?), int?resumeVersion = default(int?), JobDtoStopStrategy?stopStrategy = default(JobDtoStopStrategy?), JobDtoRuntimeType?runtimeType = default(JobDtoRuntimeType?), bool?requiresUserInteraction = default(bool?), long?releaseVersionId = default(long?), string entryPointPath = default(string), long?organizationUnitId = default(long?), string organizationUnitFullyQualifiedName = default(string), string reference = default(string), long?id = default(long?))
 {
     Key                                = key;
     StartTime                          = startTime;
     EndTime                            = endTime;
     State                              = state;
     JobPriority                        = jobPriority;
     Robot                              = robot;
     Release                            = release;
     Source                             = source;
     SourceType                         = sourceType;
     BatchExecutionKey                  = batchExecutionKey;
     Info                               = info;
     CreationTime                       = creationTime;
     StartingScheduleId                 = startingScheduleId;
     ReleaseName                        = releaseName;
     Type                               = type;
     InputArguments                     = inputArguments;
     OutputArguments                    = outputArguments;
     HostMachineName                    = hostMachineName;
     HasMediaRecorded                   = hasMediaRecorded;
     PersistenceId                      = persistenceId;
     ResumeVersion                      = resumeVersion;
     StopStrategy                       = stopStrategy;
     RuntimeType                        = runtimeType;
     RequiresUserInteraction            = requiresUserInteraction;
     ReleaseVersionId                   = releaseVersionId;
     EntryPointPath                     = entryPointPath;
     OrganizationUnitId                 = organizationUnitId;
     OrganizationUnitFullyQualifiedName = organizationUnitFullyQualifiedName;
     Reference                          = reference;
     Id = id;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the QueueItemDto class.
 /// </summary>
 /// <param name="queueDefinitionId">The Id of the parent queue.</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="analytics">A collection of key value pairs containing
 /// custom data for further analytics processing.</param>
 /// <param name="analyticsData">A JSON representation of the analytics
 /// data generated by the item's processing.</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="reviewerUserId">The UserId of the Reviewer, 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. Possible values include: 'ApplicationException',
 /// 'BusinessException'</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="riskSlaDate">The RiskSla date at time which is
 /// considered as risk zone for the item to be processed.</param>
 /// <param name="priority">Sets the processing importance for a given
 /// item. Possible values include: 'High', 'Normal', 'Low'</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="organizationUnitId">Id of the folder this item is part
 /// of.</param>
 /// <param name="organizationUnitFullyQualifiedName">Fully qualified
 /// name of the folder this item is part of.</param>
 public QueueItemDto(long?queueDefinitionId = default(long?), QueueDefinitionDto queueDefinition = default(QueueDefinitionDto), ProcessingExceptionDto processingException = default(ProcessingExceptionDto), IDictionary <string, object> specificContent = default(IDictionary <string, object>), IDictionary <string, object> output = default(IDictionary <string, object>), string outputData = default(string), IDictionary <string, object> analytics = default(IDictionary <string, object>), string analyticsData = default(string), QueueItemDtoStatus?status = default(QueueItemDtoStatus?), QueueItemDtoReviewStatus?reviewStatus = default(QueueItemDtoReviewStatus?), long?reviewerUserId = default(long?), SimpleUserDto reviewerUser = default(SimpleUserDto), System.Guid?key = default(System.Guid?), string reference = default(string), QueueItemDtoProcessingExceptionType?processingExceptionType = default(QueueItemDtoProcessingExceptionType?), System.DateTime?dueDate = default(System.DateTime?), System.DateTime?riskSlaDate = default(System.DateTime?), QueueItemDtoPriority?priority = default(QueueItemDtoPriority?), SimpleRobotDto robot = default(SimpleRobotDto), 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 specificData = default(string), System.DateTime?creationTime = default(System.DateTime?), string progress = default(string), byte[] rowVersion = default(byte[]), long?organizationUnitId = default(long?), string organizationUnitFullyQualifiedName = default(string), long?id = default(long?))
 {
     QueueDefinitionId   = queueDefinitionId;
     QueueDefinition     = queueDefinition;
     ProcessingException = processingException;
     SpecificContent     = specificContent;
     Output                             = output;
     OutputData                         = outputData;
     Analytics                          = analytics;
     AnalyticsData                      = analyticsData;
     Status                             = status;
     ReviewStatus                       = reviewStatus;
     ReviewerUserId                     = reviewerUserId;
     ReviewerUser                       = reviewerUser;
     Key                                = key;
     Reference                          = reference;
     ProcessingExceptionType            = processingExceptionType;
     DueDate                            = dueDate;
     RiskSlaDate                        = riskSlaDate;
     Priority                           = priority;
     Robot                              = robot;
     DeferDate                          = deferDate;
     StartProcessing                    = startProcessing;
     EndProcessing                      = endProcessing;
     SecondsInPreviousAttempts          = secondsInPreviousAttempts;
     AncestorId                         = ancestorId;
     RetryNumber                        = retryNumber;
     SpecificData                       = specificData;
     CreationTime                       = creationTime;
     Progress                           = progress;
     RowVersion                         = rowVersion;
     OrganizationUnitId                 = organizationUnitId;
     OrganizationUnitFullyQualifiedName = organizationUnitFullyQualifiedName;
     Id = id;
     CustomInit();
 }