/* Options: Date: 2026-10-20 22:32:40 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://knabrechnung-servdesk.eras-online.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PostCreateCustomerEditor.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class PostCreateCustomerEditorResponse implements IConvertible { String? userId; ResponseStatus? responseStatus; PostCreateCustomerEditorResponse({this.userId,this.responseStatus}); PostCreateCustomerEditorResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { userId = json['userId']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'userId': userId, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "PostCreateCustomerEditorResponse"; TypeContext? context = _ctx; } // @Route("/api/v1/users/customerEditor", "POST") class PostCreateCustomerEditor implements IReturn, IHasBearerToken, IConvertible, IPost { // @ApiMember(IsRequired=true, ParameterType="body") String? bearerToken; // @ApiMember(IsRequired=true, ParameterType="body") String? email; // @ApiMember(IsRequired=true, ParameterType="body") String? customerGuid; PostCreateCustomerEditor({this.bearerToken,this.email,this.customerGuid}); PostCreateCustomerEditor.fromJson(Map json) { fromMap(json); } fromMap(Map json) { bearerToken = json['bearerToken']; email = json['email']; customerGuid = json['customerGuid']; return this; } Map toJson() => { 'bearerToken': bearerToken, 'email': email, 'customerGuid': customerGuid }; createResponse() => PostCreateCustomerEditorResponse(); getResponseTypeName() => "PostCreateCustomerEditorResponse"; getTypeName() => "PostCreateCustomerEditor"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'knabrechnung_servdesk.eras_online.de', types: { 'PostCreateCustomerEditorResponse': TypeInfo(TypeOf.Class, create:() => PostCreateCustomerEditorResponse()), 'PostCreateCustomerEditor': TypeInfo(TypeOf.Class, create:() => PostCreateCustomerEditor()), });