/* Options: Date: 2026-03-31 23:09:56 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test-do-services.klokgroep.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddCommentOperation.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * Add a workflow task comment. */ // @Route("/workflowtasks/addcomment", "POST") // @Api(Description="Add a workflow task comment.") class AddCommentOperation implements IReturnVoid, IConvertible, IPost { /** * ID of the workflow task(s) to affect */ // @ApiMember(Description="ID of the workflow task(s) to affect", IsRequired=true) List? TaskIDs = []; /** * The comment to be added */ // @ApiMember(Description="The comment to be added", IsRequired=true) String? Comment; AddCommentOperation({this.TaskIDs,this.Comment}); AddCommentOperation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TaskIDs = JsonConverters.fromJson(json['TaskIDs'],'List',context!); Comment = json['Comment']; return this; } Map toJson() => { 'TaskIDs': JsonConverters.toJson(TaskIDs,'List',context!), 'Comment': Comment }; createResponse() {} getTypeName() => "AddCommentOperation"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test_do_services.klokgroep.nl', types: { 'AddCommentOperation': TypeInfo(TypeOf.Class, create:() => AddCommentOperation()), });