/* Options: Date: 2026-02-26 07:17:27 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAppConfigsBySection.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum AppConfigSection { AppInfo, Smtp, Keycloak, } // @Route("/app-configs/{Section}", "GET") class GetAppConfigsBySection implements IReturn>, IConvertible, IGet { AppConfigSection? section; GetAppConfigsBySection({this.section}); GetAppConfigsBySection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { section = JsonConverters.fromJson(json['section'],'AppConfigSection',context!); return this; } Map toJson() => { 'section': JsonConverters.toJson(section,'AppConfigSection',context!) }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "GetAppConfigsBySection"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: { 'AppConfigSection': TypeInfo(TypeOf.Enum, enumValues:AppConfigSection.values), 'GetAppConfigsBySection': TypeInfo(TypeOf.Class, create:() => GetAppConfigsBySection()), });