/* Options: Date: 2026-08-12 18:54:27 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: MappingRuleRunRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class MappingRuleRunResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Matched = []; MappingRuleRunResponse({this.ResponseStatus,this.Matched}); MappingRuleRunResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Matched = JsonConverters.fromJson(json['Matched'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Matched': JsonConverters.toJson(Matched,'List',context!) }; getTypeName() => "MappingRuleRunResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/mapping-rules/{RuleId}/run", "POST,OPTIONS") class MappingRuleRunRequest implements IReturn, IConvertible, IPost { int? RuleId; bool? DryRun; MappingRuleRunRequest({this.RuleId,this.DryRun}); MappingRuleRunRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RuleId = json['RuleId']; DryRun = json['DryRun']; return this; } Map toJson() => { 'RuleId': RuleId, 'DryRun': DryRun }; createResponse() => MappingRuleRunResponse(); getResponseTypeName() => "MappingRuleRunResponse"; getTypeName() => "MappingRuleRunRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'MappingRuleRunResponse': TypeInfo(TypeOf.Class, create:() => MappingRuleRunResponse()), 'MappingRuleRunRequest': TypeInfo(TypeOf.Class, create:() => MappingRuleRunRequest()), });