/* Options: Date: 2026-05-05 01:54:56 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: SetRevisionRequestsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/user-state/revision-requests", "POST") class SetRevisionRequestsRequest implements IReturn, IConvertible, IPost { int? workflowId; int? stepId; Map? data; SetRevisionRequestsRequest({this.workflowId,this.stepId,this.data}); SetRevisionRequestsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { workflowId = json['workflowId']; stepId = json['stepId']; data = JsonConverters.fromJson(json['data'],'Map',context!); return this; } Map toJson() => { 'workflowId': workflowId, 'stepId': stepId, 'data': JsonConverters.toJson(data,'Map',context!) }; createResponse() => bool(); getResponseTypeName() => "bool"; getTypeName() => "SetRevisionRequestsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: { 'SetRevisionRequestsRequest': TypeInfo(TypeOf.Class, create:() => SetRevisionRequestsRequest()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), });