/* Options: Date: 2026-06-28 14:52:38 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SetLegalApprovalRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IResponseRequest { int? code; String? message; } class SetLegalApprovalResponse implements IResponseRequest, IConvertible { int? code; String? message; bool? enabled; SetLegalApprovalResponse({this.code,this.message,this.enabled}); SetLegalApprovalResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { code = json['code']; message = json['message']; enabled = json['enabled']; return this; } Map toJson() => { 'code': code, 'message': message, 'enabled': enabled }; getTypeName() => "SetLegalApprovalResponse"; TypeContext? context = _ctx; } // @Route("/WorkflowStep/set-legal-approval", "Post") class SetLegalApprovalRequest implements IReturn, IConvertible, IPost { int? workflowId; bool? enabled; SetLegalApprovalRequest({this.workflowId,this.enabled}); SetLegalApprovalRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { workflowId = json['workflowId']; enabled = json['enabled']; return this; } Map toJson() => { 'workflowId': workflowId, 'enabled': enabled }; createResponse() => SetLegalApprovalResponse(); getResponseTypeName() => "SetLegalApprovalResponse"; getTypeName() => "SetLegalApprovalRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: { 'IResponseRequest': TypeInfo(TypeOf.Interface), 'SetLegalApprovalResponse': TypeInfo(TypeOf.Class, create:() => SetLegalApprovalResponse()), 'SetLegalApprovalRequest': TypeInfo(TypeOf.Class, create:() => SetLegalApprovalRequest()), });