/* Options: Date: 2026-11-07 03:13:21 Version: 10.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bettor.webhop.biz //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FindAppEventsSummary.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RecordDictionary extends Map implements IConvertible { RecordDictionary(); RecordDictionary.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "RecordDictionary<$TKey,$TVal>"; TypeContext? context = _ctx; } class QueryRequest implements IConvertible { RecordDictionary? qry; QueryRequest({this.qry}); QueryRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { qry = JsonConverters.fromJson(json['qry'],'RecordDictionary',context!); return this; } Map toJson() => { 'qry': JsonConverters.toJson(qry,'RecordDictionary',context!) }; getTypeName() => "QueryRequest"; TypeContext? context = _ctx; } class PaginatedQueryRequest extends QueryRequest implements IConvertible { int currentPage = 0; int pageSize = 0; PaginatedQueryRequest({this.currentPage=0,this.pageSize=0}); PaginatedQueryRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); currentPage = json['currentPage'] ?? 0; pageSize = json['pageSize'] ?? 0; return this; } Map toJson() => super.toJson()..addAll({ 'currentPage': currentPage, 'pageSize': pageSize }); getTypeName() => "PaginatedQueryRequest"; TypeContext? context = _ctx; } class EventsSummary implements IConvertible { int n = 0; int s = 0; int i = 0; int w = 0; int e = 0; int? lastCheckpoint; EventsSummary({this.n=0,this.s=0,this.i=0,this.w=0,this.e=0,this.lastCheckpoint}); EventsSummary.fromJson(Map json) { fromMap(json); } fromMap(Map json) { n = json['n'] ?? 0; s = json['s'] ?? 0; i = json['i'] ?? 0; w = json['w'] ?? 0; e = json['e'] ?? 0; lastCheckpoint = json['lastCheckpoint']; return this; } Map toJson() => { 'n': n, 's': s, 'i': i, 'w': w, 'e': e, 'lastCheckpoint': lastCheckpoint }; getTypeName() => "EventsSummary"; TypeContext? context = _ctx; } // @Route("/qry/app-events-summary") class FindAppEventsSummary extends PaginatedQueryRequest implements IReturn, IConvertible, IPost { FindAppEventsSummary(); FindAppEventsSummary.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => EventsSummary(); getResponseTypeName() => "EventsSummary"; getTypeName() => "FindAppEventsSummary"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bettor.webhop.biz', types: { 'RecordDictionary': TypeInfo(TypeOf.GenericDef,create:() => RecordDictionary()), 'QueryRequest': TypeInfo(TypeOf.Class, create:() => QueryRequest()), 'RecordDictionary': TypeInfo(TypeOf.Class, create:() => RecordDictionary()), 'PaginatedQueryRequest': TypeInfo(TypeOf.Class, create:() => PaginatedQueryRequest()), 'EventsSummary': TypeInfo(TypeOf.Class, create:() => EventsSummary()), 'FindAppEventsSummary': TypeInfo(TypeOf.Class, create:() => FindAppEventsSummary()), });