/* Options: Date: 2024-11-28 09:28:30 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: StartSideStep.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SideStepDetails extends AdhocTransitionDetails implements IConvertible { User? Coordinator; WorkflowTaskActionComment? Comment; bool? Urgent; SideStepDetails({this.Coordinator,this.Comment,this.Urgent}); SideStepDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Coordinator = JsonConverters.fromJson(json['Coordinator'],'User',context!); Comment = JsonConverters.fromJson(json['Comment'],'WorkflowTaskActionComment',context!); Urgent = json['Urgent']; return this; } Map toJson() => super.toJson()..addAll({ 'Coordinator': JsonConverters.toJson(Coordinator,'User',context!), 'Comment': JsonConverters.toJson(Comment,'WorkflowTaskActionComment',context!), 'Urgent': Urgent }); getTypeName() => "SideStepDetails"; TypeContext? context = _ctx; } class StartSideStep implements IReturnVoid, IConvertible { int? ProcessID; int? WorkflowTaskID; SideStepDetails? Details; StartSideStep({this.ProcessID,this.WorkflowTaskID,this.Details}); StartSideStep.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProcessID = json['ProcessID']; WorkflowTaskID = json['WorkflowTaskID']; Details = JsonConverters.fromJson(json['Details'],'SideStepDetails',context!); return this; } Map toJson() => { 'ProcessID': ProcessID, 'WorkflowTaskID': WorkflowTaskID, 'Details': JsonConverters.toJson(Details,'SideStepDetails',context!) }; createResponse() {} getTypeName() => "StartSideStep"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'SideStepDetails': TypeInfo(TypeOf.Class, create:() => SideStepDetails()), 'User': TypeInfo(TypeOf.Class, create:() => User()), 'WorkflowTaskActionComment': TypeInfo(TypeOf.Class, create:() => WorkflowTaskActionComment()), 'StartSideStep': TypeInfo(TypeOf.Class, create:() => StartSideStep()), });