/* Options: Date: 2025-12-12 22:09:31 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: Test.* //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", "GET") class Test implements IReturn, IConvertible, IGet { /** * An email address a test email will be sent to */ // @ApiMember(Description="An email address a test email will be sent to") String? smtp; Test({this.smtp}); Test.fromJson(Map json) { fromMap(json); } fromMap(Map json) { smtp = json['smtp']; return this; } Map toJson() => { 'smtp': smtp }; createResponse() => TestResponse(); getResponseTypeName() => "TestResponse"; getTypeName() => "Test"; 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()), 'Test': TypeInfo(TypeOf.Class, create:() => Test()), });