/* Options: Date: 2025-09-22 21:02:35 Version: 6.21 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://accounts.dev.healthmonix.com/api/ //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetApplications.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Application implements IConvertible { String? id; String? name; String? token; String? purchaseUrl; bool? isActive; Application({this.id,this.name,this.token,this.purchaseUrl,this.isActive}); Application.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; token = json['token']; purchaseUrl = json['purchaseUrl']; isActive = json['isActive']; return this; } Map toJson() => { 'id': id, 'name': name, 'token': token, 'purchaseUrl': purchaseUrl, 'isActive': isActive }; getTypeName() => "Application"; TypeContext? context = _ctx; } class GetApplicationsResponse implements IConvertible { List? results; GetApplicationsResponse({this.results}); GetApplicationsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { results = JsonConverters.fromJson(json['results'],'List',context!); return this; } Map toJson() => { 'results': JsonConverters.toJson(results,'List',context!) }; getTypeName() => "GetApplicationsResponse"; TypeContext? context = _ctx; } // @Route("/applications", "GET") class GetApplications implements IReturn, IConvertible { bool? isActive; GetApplications({this.isActive}); GetApplications.fromJson(Map json) { fromMap(json); } fromMap(Map json) { isActive = json['isActive']; return this; } Map toJson() => { 'isActive': isActive }; createResponse() => GetApplicationsResponse(); getResponseTypeName() => "GetApplicationsResponse"; getTypeName() => "GetApplications"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'accounts.dev.healthmonix.com', types: { 'Application': TypeInfo(TypeOf.Class, create:() => Application()), 'GetApplicationsResponse': TypeInfo(TypeOf.Class, create:() => GetApplicationsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetApplications': TypeInfo(TypeOf.Class, create:() => GetApplications()), });