WorkflowsRulesServiceUpdateRequest constructor

WorkflowsRulesServiceUpdateRequest({
  1. String? userComment,
  2. Int64? id,
  3. bool? notifyUsers,
  4. Int64? vaultFolderId,
  5. String? name,
  6. Int64? notifyUserId,
  7. String? description,
  8. WORKFLOW_RULE_SERVICE_NAME? serviceName,
  9. STANDARD_LIFECYCLE_STATUS? recordStatus,
  10. WORKFLOW_RULE_MOMENT? moment,
  11. WORKFLOW_RULE_EXECUTE_ON? executeOn,
  12. List<int>? userPayload,
})

Implementation

factory WorkflowsRulesServiceUpdateRequest({
  $core.String? userComment,
  $fixnum.Int64? id,
  $core.bool? notifyUsers,
  $fixnum.Int64? vaultFolderId,
  $core.String? name,
  $fixnum.Int64? notifyUserId,
  $core.String? description,
  WORKFLOW_RULE_SERVICE_NAME? serviceName,
  $1.STANDARD_LIFECYCLE_STATUS? recordStatus,
  WORKFLOW_RULE_MOMENT? moment,
  WORKFLOW_RULE_EXECUTE_ON? executeOn,
  $core.List<$core.int>? userPayload,
}) {
  final result = create();
  if (userComment != null) result.userComment = userComment;
  if (id != null) result.id = id;
  if (notifyUsers != null) result.notifyUsers = notifyUsers;
  if (vaultFolderId != null) result.vaultFolderId = vaultFolderId;
  if (name != null) result.name = name;
  if (notifyUserId != null) result.notifyUserId = notifyUserId;
  if (description != null) result.description = description;
  if (serviceName != null) result.serviceName = serviceName;
  if (recordStatus != null) result.recordStatus = recordStatus;
  if (moment != null) result.moment = moment;
  if (executeOn != null) result.executeOn = executeOn;
  if (userPayload != null) result.userPayload = userPayload;
  return result;
}