/* Options: Date: 2025-09-22 22:15: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: GetApplication.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ApplicationDto implements IConvertible { String? id; String? name; String? token; String? purchaseUrl; bool? isActive; ApplicationDto({this.id,this.name,this.token,this.purchaseUrl,this.isActive}); ApplicationDto.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() => "ApplicationDto"; TypeContext? context = _ctx; } // @Route("/applications/{id}", "GET") class GetApplication implements IReturn, IConvertible { String? id; GetApplication({this.id}); GetApplication.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => ApplicationDto(); getResponseTypeName() => "ApplicationDto"; getTypeName() => "GetApplication"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'accounts.dev.healthmonix.com', types: { 'ApplicationDto': TypeInfo(TypeOf.Class, create:() => ApplicationDto()), 'GetApplication': TypeInfo(TypeOf.Class, create:() => GetApplication()), });