/* Options: Date: 2025-12-06 06:22:51 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://galaxymobile.api.client.prod.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; TestResponse({this.Environment,this.Tests,this.WasSuccessful,this.DB}); 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']; return this; } Map toJson() => { 'Environment': Environment, 'Tests': JsonConverters.toJson(Tests,'Map',context!), 'WasSuccessful': WasSuccessful, 'DB': DB }; getTypeName() => "TestResponse"; TypeContext? context = _ctx; } // @Route("/test", "GET") class Test implements IReturn, IConvertible, IGet { Test(); Test.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => TestResponse(); getResponseTypeName() => "TestResponse"; getTypeName() => "Test"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'galaxymobile.api.client.prod.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()), });