Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeleteProcessInstancesDto" /> class.
 /// </summary>
 /// <param name="processInstanceIds">A list process instance ids to delete..</param>
 /// <param name="deleteReason">A string with delete reason..</param>
 /// <param name="skipCustomListeners">Skip execution listener invocation for activities that are started or ended as part of this request..</param>
 /// <param name="skipSubprocesses">Skip deletion of the subprocesses related to deleted processes as part of this request..</param>
 /// <param name="processInstanceQuery">processInstanceQuery.</param>
 /// <param name="historicProcessInstanceQuery">historicProcessInstanceQuery.</param>
 public DeleteProcessInstancesDto(List <string> processInstanceIds = default(List <string>), string deleteReason = default(string), bool?skipCustomListeners = default(bool?), bool?skipSubprocesses = default(bool?), ProcessInstanceQueryDto processInstanceQuery = default(ProcessInstanceQueryDto), HistoricProcessInstanceQueryDto historicProcessInstanceQuery = default(HistoricProcessInstanceQueryDto))
 {
     this.ProcessInstanceIds           = processInstanceIds;
     this.DeleteReason                 = deleteReason;
     this.SkipCustomListeners          = skipCustomListeners;
     this.SkipSubprocesses             = skipSubprocesses;
     this.ProcessInstanceQuery         = processInstanceQuery;
     this.HistoricProcessInstanceQuery = historicProcessInstanceQuery;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SetVariablesAsyncDto" /> class.
 /// </summary>
 /// <param name="processInstanceIds">A list of process instance ids that define a group of process instances to which the operation will set variables.  Please note that if &#x60;processInstanceIds&#x60;, &#x60;processInstanceQuery&#x60; and &#x60;historicProcessInstanceQuery&#x60; are defined, the resulting operation will be performed on the union of these sets..</param>
 /// <param name="processInstanceQuery">processInstanceQuery.</param>
 /// <param name="historicProcessInstanceQuery">historicProcessInstanceQuery.</param>
 /// <param name="variables">A variables the operation will set in the root scope of the process instances..</param>
 public SetVariablesAsyncDto(List <string> processInstanceIds = default(List <string>), ProcessInstanceQueryDto processInstanceQuery = default(ProcessInstanceQueryDto), HistoricProcessInstanceQueryDto historicProcessInstanceQuery = default(HistoricProcessInstanceQueryDto), Dictionary <string, VariableValueDto> variables = default(Dictionary <string, VariableValueDto>))
 {
     this.ProcessInstanceIds           = processInstanceIds;
     this.ProcessInstanceQuery         = processInstanceQuery;
     this.HistoricProcessInstanceQuery = historicProcessInstanceQuery;
     this.Variables = variables;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessInstanceSuspensionStateAsyncDto" /> class.
 /// </summary>
 /// <param name="suspended">A Boolean value which indicates whether to activate or suspend a given process instance. When the value is set to true, the given process instance will be suspended and when the value is set to false, the given process instance will be activated..</param>
 /// <param name="processInstanceIds">A list of process instance ids which defines a group of process instances which will be activated or suspended by the operation..</param>
 /// <param name="processInstanceQuery">processInstanceQuery.</param>
 /// <param name="historicProcessInstanceQuery">historicProcessInstanceQuery.</param>
 public ProcessInstanceSuspensionStateAsyncDto(bool?suspended = default(bool?), List <string> processInstanceIds = default(List <string>), ProcessInstanceQueryDto processInstanceQuery = default(ProcessInstanceQueryDto), HistoricProcessInstanceQueryDto historicProcessInstanceQuery = default(HistoricProcessInstanceQueryDto))
 {
     this.Suspended                    = suspended;
     this.ProcessInstanceIds           = processInstanceIds;
     this.ProcessInstanceQuery         = processInstanceQuery;
     this.HistoricProcessInstanceQuery = historicProcessInstanceQuery;
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessInstanceSuspensionStateDto" /> class.
 /// </summary>
 /// <param name="suspended">A &#x60;Boolean&#x60; value which indicates whether to activate or suspend a given process instance. When the value is set to &#x60;true&#x60;, the given process instance will be suspended and when the value is set to &#x60;false&#x60;, the given process instance will be activated..</param>
 /// <param name="processDefinitionId">The process definition id of the process instances to activate or suspend.  **Note**: This parameter can be used only with combination of &#x60;suspended&#x60;..</param>
 /// <param name="processDefinitionKey">The process definition key of the process instances to activate or suspend.  **Note**: This parameter can be used only with combination of &#x60;suspended&#x60;, &#x60;processDefinitionTenantId&#x60;, and &#x60;processDefinitionWithoutTenantId&#x60;..</param>
 /// <param name="processDefinitionTenantId">Only activate or suspend process instances of a process definition which belongs to a tenant with the given id.  **Note**: This parameter can be used only with combination of &#x60;suspended&#x60;, &#x60;processDefinitionKey&#x60;, and &#x60;processDefinitionWithoutTenantId&#x60;..</param>
 /// <param name="processDefinitionWithoutTenantId">Only activate or suspend process instances of a process definition which belongs to no tenant. Value may only be true, as false is the default behavior.  **Note**: This parameter can be used only with combination of &#x60;suspended&#x60;, &#x60;processDefinitionKey&#x60;, and &#x60;processDefinitionTenantId&#x60;..</param>
 /// <param name="processInstanceIds">A list of process instance ids which defines a group of process instances which will be activated or suspended by the operation.  **Note**: This parameter can be used only with combination of &#x60;suspended&#x60;, &#x60;processInstanceQuery&#x60;, and &#x60;historicProcessInstanceQuery&#x60;..</param>
 /// <param name="processInstanceQuery">processInstanceQuery.</param>
 /// <param name="historicProcessInstanceQuery">historicProcessInstanceQuery.</param>
 public ProcessInstanceSuspensionStateDto(bool?suspended = default(bool?), string processDefinitionId = default(string), string processDefinitionKey = default(string), string processDefinitionTenantId = default(string), bool?processDefinitionWithoutTenantId = default(bool?), List <string> processInstanceIds = default(List <string>), ProcessInstanceQueryDto processInstanceQuery = default(ProcessInstanceQueryDto), HistoricProcessInstanceQueryDto historicProcessInstanceQuery = default(HistoricProcessInstanceQueryDto))
 {
     this.Suspended                        = suspended;
     this.ProcessDefinitionId              = processDefinitionId;
     this.ProcessDefinitionKey             = processDefinitionKey;
     this.ProcessDefinitionTenantId        = processDefinitionTenantId;
     this.ProcessDefinitionWithoutTenantId = processDefinitionWithoutTenantId;
     this.ProcessInstanceIds               = processInstanceIds;
     this.ProcessInstanceQuery             = processInstanceQuery;
     this.HistoricProcessInstanceQuery     = historicProcessInstanceQuery;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SetRetriesForExternalTasksDto" /> class.
 /// </summary>
 /// <param name="retries">The number of retries to set for the external task.  Must be &gt;&#x3D; 0. If this is 0, an incident is created and the task cannot be fetched anymore unless the retries are increased again. Can not be null..</param>
 /// <param name="externalTaskIds">The ids of the external tasks to set the number of retries for..</param>
 /// <param name="processInstanceIds">The ids of process instances containing the tasks to set the number of retries for..</param>
 /// <param name="externalTaskQuery">externalTaskQuery.</param>
 /// <param name="processInstanceQuery">processInstanceQuery.</param>
 /// <param name="historicProcessInstanceQuery">historicProcessInstanceQuery.</param>
 public SetRetriesForExternalTasksDto(int?retries = default(int?), List <string> externalTaskIds = default(List <string>), List <string> processInstanceIds = default(List <string>), ExternalTaskQueryDto externalTaskQuery = default(ExternalTaskQueryDto), ProcessInstanceQueryDto processInstanceQuery = default(ProcessInstanceQueryDto), HistoricProcessInstanceQueryDto historicProcessInstanceQuery = default(HistoricProcessInstanceQueryDto))
 {
     this.Retries                      = retries;
     this.ExternalTaskIds              = externalTaskIds;
     this.ProcessInstanceIds           = processInstanceIds;
     this.ExternalTaskQuery            = externalTaskQuery;
     this.ProcessInstanceQuery         = processInstanceQuery;
     this.HistoricProcessInstanceQuery = historicProcessInstanceQuery;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SetJobRetriesByProcessDto" /> class.
 /// </summary>
 /// <param name="processInstances">A list of process instance ids to fetch jobs, for which retries will be set..</param>
 /// <param name="retries">An integer representing the number of retries. Please note that the value cannot be negative or null..</param>
 /// <param name="processInstanceQuery">processInstanceQuery.</param>
 /// <param name="historicProcessInstanceQuery">historicProcessInstanceQuery.</param>
 public SetJobRetriesByProcessDto(List <string> processInstances = default(List <string>), int?retries = default(int?), ProcessInstanceQueryDto processInstanceQuery = default(ProcessInstanceQueryDto), HistoricProcessInstanceQueryDto historicProcessInstanceQuery = default(HistoricProcessInstanceQueryDto))
 {
     this.ProcessInstances             = processInstances;
     this.Retries                      = retries;
     this.ProcessInstanceQuery         = processInstanceQuery;
     this.HistoricProcessInstanceQuery = historicProcessInstanceQuery;
 }