/* Options: Date: 2026-01-12 04:57:15 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://p4.smartdatasolutions.eu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: Status.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Generic implements IConvertible { /** * Api-key. Used to provide credentials to the api. Can also be provided through the request headers with key: X-API-KEY */ // @ApiMember(DataType="String", Description="Api-key. Used to provide credentials to the api. Can also be provided through the request headers with key: X-API-KEY", IsRequired=true, Name="ApiKey") String? apiKey; Generic({this.apiKey}); Generic.fromJson(Map json) { fromMap(json); } fromMap(Map json) { apiKey = json['apiKey']; return this; } Map toJson() => { 'apiKey': apiKey }; getTypeName() => "Generic"; TypeContext? context = _ctx; } class StatusResponse implements IConvertible { String? result; StatusResponse({this.result}); StatusResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { result = json['result']; return this; } Map toJson() => { 'result': result }; getTypeName() => "StatusResponse"; TypeContext? context = _ctx; } // @Route("/status") class Status extends Generic implements IReturn, IGet, IConvertible { Status(); Status.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => StatusResponse(); getResponseTypeName() => "StatusResponse"; getTypeName() => "Status"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'p4.smartdatasolutions.eu', types: { 'Generic': TypeInfo(TypeOf.Class, create:() => Generic()), 'StatusResponse': TypeInfo(TypeOf.Class, create:() => StatusResponse()), 'Status': TypeInfo(TypeOf.Class, create:() => Status()), });