/* Options: Date: 2026-10-20 21:32:02 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stoetzer-servdesk.eras-online.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: Info.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class InfoResponse implements IConvertible { String? status; DateTime? timestamp; Version? version; ResponseStatus? responseStatus; InfoResponse({this.status,this.timestamp,this.version,this.responseStatus}); InfoResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { status = json['status']; timestamp = JsonConverters.fromJson(json['timestamp'],'DateTime',context!); version = JsonConverters.fromJson(json['version'],'Version',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'status': status, 'timestamp': JsonConverters.toJson(timestamp,'DateTime',context!), 'version': JsonConverters.toJson(version,'Version',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "InfoResponse"; TypeContext? context = _ctx; } // @Route("/Info", "GET") class Info implements IReturn, IConvertible, IGet { Info(); Info.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => InfoResponse(); getResponseTypeName() => "InfoResponse"; getTypeName() => "Info"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stoetzer_servdesk.eras_online.de', types: { 'InfoResponse': TypeInfo(TypeOf.Class, create:() => InfoResponse()), 'Version': TypeInfo(TypeOf.Class, create:() => Version()), 'Info': TypeInfo(TypeOf.Class, create:() => Info()), });