/* Options: Date: 2026-03-22 22:18:51 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://fbihtaapi.bettor.webhop.biz //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FindProductInstances.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PaginatedResult implements IConvertible { List? data; int? currentPage; int? pageSize; int? totalItems; int? totalPages; PaginatedResult({this.data,this.currentPage,this.pageSize,this.totalItems,this.totalPages}); PaginatedResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { data = JsonConverters.fromJson(json['data'],'List<${runtimeGenericTypeDefs(this,[0]).join(",")}>',context!); currentPage = json['currentPage']; pageSize = json['pageSize']; totalItems = json['totalItems']; totalPages = json['totalPages']; return this; } Map toJson() => { 'data': JsonConverters.toJson(data,'List',context!), 'currentPage': currentPage, 'pageSize': pageSize, 'totalItems': totalItems, 'totalPages': totalPages }; getTypeName() => "PaginatedResult<$T>"; TypeContext? context = _ctx; } // @Route("/productInstances", "GET") class FindProductInstances implements IReturn>, IConvertible, IGet { String? id; String? qry; int? currentPage; int? pageSize; FindProductInstances({this.id,this.qry,this.currentPage,this.pageSize}); FindProductInstances.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; qry = json['qry']; currentPage = json['currentPage']; pageSize = json['pageSize']; return this; } Map toJson() => { 'id': id, 'qry': qry, 'currentPage': currentPage, 'pageSize': pageSize }; createResponse() => PaginatedResult(); getResponseTypeName() => "PaginatedResult"; getTypeName() => "FindProductInstances"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'fbihtaapi.bettor.webhop.biz', types: { 'PaginatedResult': TypeInfo(TypeOf.GenericDef,create:() => PaginatedResult()), 'PaginatedResult': TypeInfo(TypeOf.Class, create:() => PaginatedResult()), 'ProductInstance': TypeInfo(TypeOf.Class, create:() => ProductInstance()), 'FindProductInstances': TypeInfo(TypeOf.Class, create:() => FindProductInstances()), });