/* Options: Date: 2026-09-27 03:14:16 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; String? MatchScope; MappingRuleDto({this.RuleId,this.SortOrder,this.Keyword,this.SeriesId,this.SeriesKey,this.Active,this.MatchedTotal,this.Last90,this.UnschHits,this.MatchScope}); 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']; MatchScope = json['MatchScope']; return this; } Map toJson() => { 'RuleId': RuleId, 'SortOrder': SortOrder, 'Keyword': Keyword, 'SeriesId': SeriesId, 'SeriesKey': SeriesKey, 'Active': Active, 'MatchedTotal': MatchedTotal, 'Last90': Last90, 'UnschHits': UnschHits, 'MatchScope': MatchScope }; getTypeName() => "MappingRuleDto"; TypeContext? context = _ctx; } class MappingRulesResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Rules = []; int? UnclaimedUnscheduled; MappingRulesResponse({this.ResponseStatus,this.Rules,this.UnclaimedUnscheduled}); MappingRulesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Rules = JsonConverters.fromJson(json['Rules'],'List',context!); UnclaimedUnscheduled = json['UnclaimedUnscheduled']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Rules': JsonConverters.toJson(Rules,'List',context!), 'UnclaimedUnscheduled': UnclaimedUnscheduled }; 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()), });