/* Options: Date: 2024-12-23 11:57:49 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: TestLogRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class TestLogResponse implements IConvertible { String? sentinel; TestLogResponse({this.sentinel}); TestLogResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sentinel = json['sentinel']; return this; } Map toJson() => { 'sentinel': sentinel }; getTypeName() => "TestLogResponse"; TypeContext? context = _ctx; } // @Route("/log/test", "POST") class TestLogRequest implements IReturn, IPost, IConvertible { TestLogRequest(); TestLogRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => TestLogResponse(); getResponseTypeName() => "TestLogResponse"; getTypeName() => "TestLogRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'TestLogResponse': TypeInfo(TypeOf.Class, create:() => TestLogResponse()), 'TestLogRequest': TypeInfo(TypeOf.Class, create:() => TestLogRequest()), });