/* Options: Date: 2025-12-11 09:16:59 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://reservation.api.dev.86degrees.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: TestLogging.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class TestResult implements IConvertible { bool? wasSuccessful; String? description; TestResult({this.wasSuccessful,this.description}); TestResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { wasSuccessful = json['wasSuccessful']; description = json['description']; return this; } Map toJson() => { 'wasSuccessful': wasSuccessful, 'description': description }; getTypeName() => "TestResult"; TypeContext? context = _ctx; } class TestResponse implements IConvertible { String? environment; Map? tests; bool? wasSuccessful; String? db; bool? debugMode; bool? serverGC; TestResponse({this.environment,this.tests,this.wasSuccessful,this.db,this.debugMode,this.serverGC}); TestResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { environment = json['environment']; tests = JsonConverters.fromJson(json['tests'],'Map',context!); wasSuccessful = json['wasSuccessful']; db = json['db']; debugMode = json['debugMode']; serverGC = json['serverGC']; return this; } Map toJson() => { 'environment': environment, 'tests': JsonConverters.toJson(tests,'Map',context!), 'wasSuccessful': wasSuccessful, 'db': db, 'debugMode': debugMode, 'serverGC': serverGC }; getTypeName() => "TestResponse"; TypeContext? context = _ctx; } // @Route("/test/logging", "GET") class TestLogging implements IReturn, IConvertible, IGet { TestLogging(); TestLogging.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => TestResponse(); getResponseTypeName() => "TestResponse"; getTypeName() => "TestLogging"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'reservation.api.dev.86degrees.com', types: { 'TestResult': TypeInfo(TypeOf.Class, create:() => TestResult()), 'TestResponse': TypeInfo(TypeOf.Class, create:() => TestResponse()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'TestLogging': TypeInfo(TypeOf.Class, create:() => TestLogging()), });