/* Options: Date: 2026-05-09 19:52:27 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://chienbinhdevias-admin-api-sandbox.adnx.vn //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ConfigListRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PagingRequest implements IConvertible { int? page; int? limit; int? offSet; PagingRequest({this.page,this.limit,this.offSet}); PagingRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { page = json['page']; limit = json['limit']; offSet = json['offSet']; return this; } Map toJson() => { 'page': page, 'limit': limit, 'offSet': offSet }; getTypeName() => "PagingRequest"; TypeContext? context = _ctx; } class PageResponse implements IResponseRequest, IConvertible { int? code; int? totalValue; String? message; List? data; Pagination? pagination; PageResponse({this.code,this.totalValue,this.message,this.data,this.pagination}); PageResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { code = json['code']; totalValue = json['totalValue']; message = json['message']; data = JsonConverters.fromJson(json['data'],'List<${runtimeGenericTypeDefs(this,[0]).join(",")}>',context!); pagination = JsonConverters.fromJson(json['pagination'],'Pagination',context!); return this; } Map toJson() => { 'code': code, 'totalValue': totalValue, 'message': message, 'data': JsonConverters.toJson(data,'List',context!), 'pagination': JsonConverters.toJson(pagination,'Pagination',context!) }; getTypeName() => "PageResponse<$SystemConfig>"; TypeContext? context = _ctx; } // @Route("/configurations", "GET") class ConfigListRequest extends PagingRequest implements IReturn>, IConvertible, IGet { String? name; ConfigListRequest({this.name}); ConfigListRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); name = json['name']; return this; } Map toJson() => super.toJson()..addAll({ 'name': name }); createResponse() => PageResponse(); getResponseTypeName() => "PageResponse"; getTypeName() => "ConfigListRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'chienbinhdevias_admin_api_sandbox.adnx.vn', types: { 'PagingRequest': TypeInfo(TypeOf.Class, create:() => PagingRequest()), 'PageResponse': TypeInfo(TypeOf.Class, create:() => PageResponse()), 'Pagination': TypeInfo(TypeOf.Class, create:() => Pagination()), 'ConfigListRequest': TypeInfo(TypeOf.Class, create:() => ConfigListRequest()), });