/* Options: Date: 2026-10-20 18:12:36 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://mi-waerme-servamw.eras-online.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RegisterTechnician.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RegisterTechnicianResponse implements IConvertible { String? guid; ResponseStatus? responseStatus; RegisterTechnicianResponse({this.guid,this.responseStatus}); RegisterTechnicianResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { guid = json['guid']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'guid': guid, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "RegisterTechnicianResponse"; TypeContext? context = _ctx; } // @Route("/Technician/Register", "POST") // @DataContract class RegisterTechnician implements IReturn, IConvertible, IPost { // @DataMember(Name="Username") String? Username; // @DataMember(Name="Password") String? Password; // @DataMember(Name="Email") String? Email; RegisterTechnician({this.Username,this.Password,this.Email}); RegisterTechnician.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Username = json['username']; Password = json['password']; Email = json['email']; return this; } Map toJson() => { 'username': Username, 'password': Password, 'email': Email }; createResponse() => RegisterTechnicianResponse(); getResponseTypeName() => "RegisterTechnicianResponse"; getTypeName() => "RegisterTechnician"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'mi_waerme_servamw.eras_online.de', types: { 'RegisterTechnicianResponse': TypeInfo(TypeOf.Class, create:() => RegisterTechnicianResponse()), 'RegisterTechnician': TypeInfo(TypeOf.Class, create:() => RegisterTechnician()), });