copyWith method

WebApiModulesAdministratorTaskSchedulerTaskSteps copyWith({
  1. int? taskStepsId,
  2. int? taskId,
  3. String? name,
  4. int? stepNumber,
  5. String? type,
  6. String? command,
  7. String? onSuccessActionDisplay,
  8. String? onFailureActionDisplay,
  9. int? onSuccessAction,
  10. int? retryAttempts,
  11. int? retryInterval,
  12. int? onFailureAction,
  13. int? onSuccessTaskStepsId,
  14. int? onFailureTaskStepsId,
  15. String? outputFilename,
  16. int? lastRunOutcome,
  17. int? lastRunDuration,
  18. int? lastRunRetries,
  19. String? dateStamp,
  20. String? auditNote,
  21. String? recordTitle,
  22. dynamic urlIdentifier,
  23. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  24. List<FwStandardDataFwCustomValue>? custom,
  25. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  26. FwStandardBusinessLogicFwBusinessLogic? original,
  27. List<FwStandardDataFwTranslatedValue>? translation,
  28. bool? hasImport,
  29. bool? hasDocuments,
  30. String? createdByUserId,
  31. String? createdByUserName,
  32. String? createdDateTime,
  33. String? modifiedByUserId,
  34. String? modifiedByUserName,
  35. String? modifiedDateTime,
})

Implementation

WebApiModulesAdministratorTaskSchedulerTaskSteps copyWith({
  int? taskStepsId,
  int? taskId,
  String? name,
  int? stepNumber,
  String? type,
  String? command,
  String? onSuccessActionDisplay,
  String? onFailureActionDisplay,
  int? onSuccessAction,
  int? retryAttempts,
  int? retryInterval,
  int? onFailureAction,
  int? onSuccessTaskStepsId,
  int? onFailureTaskStepsId,
  String? outputFilename,
  int? lastRunOutcome,
  int? lastRunDuration,
  int? lastRunRetries,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesAdministratorTaskSchedulerTaskSteps(
    taskStepsId: taskStepsId ?? this.taskStepsId,
    taskId: taskId ?? this.taskId,
    name: name ?? this.name,
    stepNumber: stepNumber ?? this.stepNumber,
    type: type ?? this.type,
    command: command ?? this.command,
    onSuccessActionDisplay:
        onSuccessActionDisplay ?? this.onSuccessActionDisplay,
    onFailureActionDisplay:
        onFailureActionDisplay ?? this.onFailureActionDisplay,
    onSuccessAction: onSuccessAction ?? this.onSuccessAction,
    retryAttempts: retryAttempts ?? this.retryAttempts,
    retryInterval: retryInterval ?? this.retryInterval,
    onFailureAction: onFailureAction ?? this.onFailureAction,
    onSuccessTaskStepsId: onSuccessTaskStepsId ?? this.onSuccessTaskStepsId,
    onFailureTaskStepsId: onFailureTaskStepsId ?? this.onFailureTaskStepsId,
    outputFilename: outputFilename ?? this.outputFilename,
    lastRunOutcome: lastRunOutcome ?? this.lastRunOutcome,
    lastRunDuration: lastRunDuration ?? this.lastRunDuration,
    lastRunRetries: lastRunRetries ?? this.lastRunRetries,
    dateStamp: dateStamp ?? this.dateStamp,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}