/* Options: Date: 2026-08-12 18:49:34 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: MappingRulesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class MappingRuleDto implements IConvertible { int? RuleId; int? SortOrder; String? Keyword; int? SeriesId; String? SeriesKey; bool? Active; int? MatchedTotal; int? Last90; int? UnschHits; MappingRuleDto({this.RuleId,this.SortOrder,this.Keyword,this.SeriesId,this.SeriesKey,this.Active,this.MatchedTotal,this.Last90,this.UnschHits}); MappingRuleDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RuleId = json['RuleId']; SortOrder = json['SortOrder']; Keyword = json['Keyword']; SeriesId = json['SeriesId']; SeriesKey = json['SeriesKey']; Active = json['Active']; MatchedTotal = json['MatchedTotal']; Last90 = json['Last90']; UnschHits = json['UnschHits']; return this; } Map toJson() => { 'RuleId': RuleId, 'SortOrder': SortOrder, 'Keyword': Keyword, 'SeriesId': SeriesId, 'SeriesKey': SeriesKey, 'Active': Active, 'MatchedTotal': MatchedTotal, 'Last90': Last90, 'UnschHits': UnschHits }; getTypeName() => "MappingRuleDto"; TypeContext? context = _ctx; } class MappingRulesResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Rules = []; MappingRulesResponse({this.ResponseStatus,this.Rules}); MappingRulesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Rules = JsonConverters.fromJson(json['Rules'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Rules': JsonConverters.toJson(Rules,'List',context!) }; getTypeName() => "MappingRulesResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/mapping-rules", "GET,OPTIONS") class MappingRulesRequest implements IReturn, IConvertible, IGet { MappingRulesRequest(); MappingRulesRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => MappingRulesResponse(); getResponseTypeName() => "MappingRulesResponse"; getTypeName() => "MappingRulesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'MappingRuleDto': TypeInfo(TypeOf.Class, create:() => MappingRuleDto()), 'MappingRulesResponse': TypeInfo(TypeOf.Class, create:() => MappingRulesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'MappingRulesRequest': TypeInfo(TypeOf.Class, create:() => MappingRulesRequest()), });