/* Options: Date: 2026-10-01 12:30:24 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: OwnerCardTypePopularityRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class OwnerCardTypePopularityItem implements IConvertible { int? ownerCardTypeId; String? name; int? activeHolders; OwnerCardTypePopularityItem({this.ownerCardTypeId,this.name,this.activeHolders}); OwnerCardTypePopularityItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ownerCardTypeId = json['ownerCardTypeId']; name = json['name']; activeHolders = json['activeHolders']; return this; } Map toJson() => { 'ownerCardTypeId': ownerCardTypeId, 'name': name, 'activeHolders': activeHolders }; getTypeName() => "OwnerCardTypePopularityItem"; TypeContext? context = _ctx; } class OwnerCardTypePopularityResult implements IConvertible { int? statusCode; String? message; List? items; OwnerCardTypePopularityResult({this.statusCode,this.message,this.items}); OwnerCardTypePopularityResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { statusCode = json['statusCode']; message = json['message']; items = JsonConverters.fromJson(json['items'],'List',context!); return this; } Map toJson() => { 'statusCode': statusCode, 'message': message, 'items': JsonConverters.toJson(items,'List',context!) }; getTypeName() => "OwnerCardTypePopularityResult"; TypeContext? context = _ctx; } // @Route("/ownerCardType/popularity/{OwnerId}", "GET") class OwnerCardTypePopularityRequest implements IReturn, IConvertible { int? ownerId; OwnerCardTypePopularityRequest({this.ownerId}); OwnerCardTypePopularityRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ownerId = json['ownerId']; return this; } Map toJson() => { 'ownerId': ownerId }; createResponse() => OwnerCardTypePopularityResult(); getResponseTypeName() => "OwnerCardTypePopularityResult"; getTypeName() => "OwnerCardTypePopularityRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'OwnerCardTypePopularityItem': TypeInfo(TypeOf.Class, create:() => OwnerCardTypePopularityItem()), 'OwnerCardTypePopularityResult': TypeInfo(TypeOf.Class, create:() => OwnerCardTypePopularityResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'OwnerCardTypePopularityRequest': TypeInfo(TypeOf.Class, create:() => OwnerCardTypePopularityRequest()), });