/* Options: Date: 2025-12-06 05:24:28 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sbbet.ath.cx //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: Heartbeat.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/cmd/heartbeat") // @Route("/cmd/heartbeat/{Id}") class Heartbeat implements IReturn, IConvertible, IPost { String? id; Heartbeat({this.id}); Heartbeat.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "Heartbeat"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: { 'Heartbeat': TypeInfo(TypeOf.Class, create:() => Heartbeat()), });