/* Options: Date: 2026-10-20 13:02:10 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://messdienstservice-stadtwerke-peine-servamw.eras-online.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetTechnicians.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Technician implements IConvertible { String? name; String? tecGuid; Technician({this.name,this.tecGuid}); Technician.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; tecGuid = json['tecGuid']; return this; } Map toJson() => { 'name': name, 'tecGuid': tecGuid }; getTypeName() => "Technician"; TypeContext? context = _ctx; } class GetTechniciansResponse implements IConvertible { // @DataMember(Name="CustomerName") String? CustomerName; // @DataMember(Name="Technicians") List? Technicians; ResponseStatus? responseStatus; GetTechniciansResponse({this.CustomerName,this.Technicians,this.responseStatus}); GetTechniciansResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CustomerName = json['customerName']; Technicians = JsonConverters.fromJson(json['technicians'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'customerName': CustomerName, 'technicians': JsonConverters.toJson(Technicians,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "GetTechniciansResponse"; TypeContext? context = _ctx; } class GetTechniciansResponse implements IConvertible { // @DataMember(Name="Technicians") List? Technicians; ResponseStatus? responseStatus; GetTechniciansResponse({this.Technicians,this.responseStatus}); GetTechniciansResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Technicians = JsonConverters.fromJson(json['technicians'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'technicians': JsonConverters.toJson(Technicians,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "GetTechniciansResponse"; TypeContext? context = _ctx; } // @Route("/WebApp/Technicians", "GET") // @DataContract class GetTechnicians implements IReturn, IConvertible, IGet { GetTechnicians(); GetTechnicians.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetTechniciansResponse(); getResponseTypeName() => "GetTechniciansResponse"; getTypeName() => "GetTechnicians"; TypeContext? context = _ctx; } // @Route("/Technicians", "GET") // @DataContract class GetTechnicians implements IReturn, IConvertible, IGet { GetTechnicians(); GetTechnicians.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetTechniciansResponse(); getResponseTypeName() => "GetTechniciansResponse"; getTypeName() => "GetTechnicians"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'messdienstservice_stadtwerke_peine_servamw.eras_online.de', types: { 'Technician': TypeInfo(TypeOf.Class, create:() => Technician()), 'GetTechniciansResponse': TypeInfo(TypeOf.Class, create:() => GetTechniciansResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetTechnicians': TypeInfo(TypeOf.Class, create:() => GetTechnicians()), });