/* Options: Date: 2026-10-26 11:37:51 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: MessagingRecompileRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CompileResult implements IConvertible { String? RuleKey; String? BranchId; String? LineId; String? StepId; int? WorkflowId; int? VersionNum; String? Action; String? Name; String? Note; bool? Customized; CompileResult({this.RuleKey,this.BranchId,this.LineId,this.StepId,this.WorkflowId,this.VersionNum,this.Action,this.Name,this.Note,this.Customized}); CompileResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RuleKey = json['RuleKey']; BranchId = json['BranchId']; LineId = json['LineId']; StepId = json['StepId']; WorkflowId = json['WorkflowId']; VersionNum = json['VersionNum']; Action = json['Action']; Name = json['Name']; Note = json['Note']; Customized = json['Customized']; return this; } Map toJson() => { 'RuleKey': RuleKey, 'BranchId': BranchId, 'LineId': LineId, 'StepId': StepId, 'WorkflowId': WorkflowId, 'VersionNum': VersionNum, 'Action': Action, 'Name': Name, 'Note': Note, 'Customized': Customized }; getTypeName() => "CompileResult"; TypeContext? context = _ctx; } class MessagingCompileResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Results = []; MessagingCompileResponse({this.ResponseStatus,this.Results}); MessagingCompileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Results = JsonConverters.fromJson(json['Results'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Results': JsonConverters.toJson(Results,'List',context!) }; getTypeName() => "MessagingCompileResponse"; TypeContext? context = _ctx; } // @Route("/v1/messaging/recompile", "POST") class MessagingRecompileRequest implements IReturn, IConvertible, IPost { String? BranchId; MessagingRecompileRequest({this.BranchId}); MessagingRecompileRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BranchId = json['BranchId']; return this; } Map toJson() => { 'BranchId': BranchId }; createResponse() => MessagingCompileResponse(); getResponseTypeName() => "MessagingCompileResponse"; getTypeName() => "MessagingRecompileRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'CompileResult': TypeInfo(TypeOf.Class, create:() => CompileResult()), 'MessagingCompileResponse': TypeInfo(TypeOf.Class, create:() => MessagingCompileResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'MessagingRecompileRequest': TypeInfo(TypeOf.Class, create:() => MessagingRecompileRequest()), });