/* Options: Date: 2026-10-20 13:16:22 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://mitchell-servamw.eras-online.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateTechnician.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class UpdateTechnicianResponse implements IConvertible { ResponseStatus? responseStatus; UpdateTechnicianResponse({this.responseStatus}); UpdateTechnicianResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "UpdateTechnicianResponse"; TypeContext? context = _ctx; } // @Route("/Technician/Update/{Guid}", "PUT") // @DataContract class UpdateTechnician implements IReturn, IConvertible, IPut { // @DataMember(Name="Guid") String? Guid; // @DataMember(Name="Email") String? Email; // @DataMember(Name="PasswordCurrent") String? PasswordCurrent; // @DataMember(Name="PasswordNew") String? PasswordNew; UpdateTechnician({this.Guid,this.Email,this.PasswordCurrent,this.PasswordNew}); UpdateTechnician.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Guid = json['guid']; Email = json['email']; PasswordCurrent = json['passwordCurrent']; PasswordNew = json['passwordNew']; return this; } Map toJson() => { 'guid': Guid, 'email': Email, 'passwordCurrent': PasswordCurrent, 'passwordNew': PasswordNew }; createResponse() => UpdateTechnicianResponse(); getResponseTypeName() => "UpdateTechnicianResponse"; getTypeName() => "UpdateTechnician"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'mitchell_servamw.eras_online.de', types: { 'UpdateTechnicianResponse': TypeInfo(TypeOf.Class, create:() => UpdateTechnicianResponse()), 'UpdateTechnician': TypeInfo(TypeOf.Class, create:() => UpdateTechnician()), });