/* Options: Date: 2025-06-27 00:41:59 Version: 6.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://webservices.mbukdatabase.co.uk/MBPreferencesService //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HeartbeatRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Response implements IConvertible { String? Code; String? Message; Response({this.Code,this.Message}); Response.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Code = json['Code']; Message = json['Message']; return this; } Map toJson() => { 'Code': Code, 'Message': Message }; getTypeName() => "Response"; TypeContext? context = _ctx; } class HeartbeatResponse implements IConvertible { Response? ResponseStatus; HeartbeatResponse({this.ResponseStatus}); HeartbeatResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'Response',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'Response',context!) }; getTypeName() => "HeartbeatResponse"; TypeContext? context = _ctx; } // @Route("/Heartbeat/", "GET") class HeartbeatRequest implements IReturn, IConvertible { HeartbeatRequest(); HeartbeatRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => HeartbeatResponse(); getResponseTypeName() => "HeartbeatResponse"; getTypeName() => "HeartbeatRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'webservices.mbukdatabase.co.uk', types: { 'Response': TypeInfo(TypeOf.Class, create:() => Response()), 'HeartbeatResponse': TypeInfo(TypeOf.Class, create:() => HeartbeatResponse()), 'HeartbeatRequest': TypeInfo(TypeOf.Class, create:() => HeartbeatRequest()), });