/* Options: Date: 2024-12-23 13:07:06 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: LogFrontEndErrorRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class LogFrontEndErrorResponse implements IConvertible { DateTime? loggedAt; LogFrontEndErrorResponse({this.loggedAt}); LogFrontEndErrorResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { loggedAt = JsonConverters.fromJson(json['loggedAt'],'DateTime',context!); return this; } Map toJson() => { 'loggedAt': JsonConverters.toJson(loggedAt,'DateTime',context!) }; getTypeName() => "LogFrontEndErrorResponse"; TypeContext? context = _ctx; } // @Route("/log/error", "POST") class LogFrontEndErrorRequest implements IReturn, IPost, IConvertible { String? location; String? message; String? stackTrace; LogFrontEndErrorRequest({this.location,this.message,this.stackTrace}); LogFrontEndErrorRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { location = json['location']; message = json['message']; stackTrace = json['stackTrace']; return this; } Map toJson() => { 'location': location, 'message': message, 'stackTrace': stackTrace }; createResponse() => LogFrontEndErrorResponse(); getResponseTypeName() => "LogFrontEndErrorResponse"; getTypeName() => "LogFrontEndErrorRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'LogFrontEndErrorResponse': TypeInfo(TypeOf.Class, create:() => LogFrontEndErrorResponse()), 'LogFrontEndErrorRequest': TypeInfo(TypeOf.Class, create:() => LogFrontEndErrorRequest()), });