/* Options: Date: 2025-05-06 16:44:03 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-autoupdates-live.smartnewapis.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: LiveBeatRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class LiveBeatResult implements IConvertible { DateTime? utcCachedLastBeat; LiveBeatResult({this.utcCachedLastBeat}); LiveBeatResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { utcCachedLastBeat = JsonConverters.fromJson(json['utcCachedLastBeat'],'DateTime',context!); return this; } Map toJson() => { 'utcCachedLastBeat': JsonConverters.toJson(utcCachedLastBeat,'DateTime',context!) }; getTypeName() => "LiveBeatResult"; TypeContext? context = _ctx; } // @Route("/system/LiveBeat", "GET POST") class LiveBeatRequest implements IReturn, IConvertible { String? nameOfThread; LiveBeatRequest({this.nameOfThread}); LiveBeatRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { nameOfThread = json['nameOfThread']; return this; } Map toJson() => { 'nameOfThread': nameOfThread }; createResponse() => LiveBeatResult(); getResponseTypeName() => "LiveBeatResult"; getTypeName() => "LiveBeatRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'LiveBeatResult': TypeInfo(TypeOf.Class, create:() => LiveBeatResult()), 'LiveBeatRequest': TypeInfo(TypeOf.Class, create:() => LiveBeatRequest()), });