/* Options: Date: 2026-10-20 18:30:56 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://fairtherm-servamw.eras-online.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetNutzeinheitPhoto.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @DataContract abstract class Eras2AppServiceModelBase { // @DataMember(Name="UserId") String? UserId; Eras2AppServiceModelBase({this.UserId}); Eras2AppServiceModelBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { UserId = json['userId']; return this; } Map toJson() => { 'userId': UserId }; getTypeName() => "Eras2AppServiceModelBase"; TypeContext? context = _ctx; } abstract class GetImageFileResponse { Map? options; ResponseStatus? responseStatus; GetImageFileResponse({this.options,this.responseStatus}); GetImageFileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { options = JsonConverters.fromJson(json['options'],'Map',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'options': JsonConverters.toJson(options,'Map',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "GetImageFileResponse"; TypeContext? context = _ctx; } class GetNutzeinheitPhotoResponse extends GetImageFileResponse implements IConvertible { GetNutzeinheitPhotoResponse(); GetNutzeinheitPhotoResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "GetNutzeinheitPhotoResponse"; TypeContext? context = _ctx; } class GetNutzeinheitPhotoResponse extends GetImageFileResponse implements IConvertible { GetNutzeinheitPhotoResponse(); GetNutzeinheitPhotoResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "GetNutzeinheitPhotoResponse"; TypeContext? context = _ctx; } class GetNutzeinheitPhotoResponse extends GetImageFileResponse implements IConvertible { GetNutzeinheitPhotoResponse(); GetNutzeinheitPhotoResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "GetNutzeinheitPhotoResponse"; TypeContext? context = _ctx; } // @Route("/WebApp/Nutzeinheit/Photo/{Guid}", "GET") // @DataContract class GetNutzeinheitPhoto implements IReturn, IConvertible, IGet { // @DataMember(Name="Guid") String? Guid; GetNutzeinheitPhoto({this.Guid}); GetNutzeinheitPhoto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Guid = json['guid']; return this; } Map toJson() => { 'guid': Guid }; createResponse() => GetNutzeinheitPhotoResponse(); getResponseTypeName() => "GetNutzeinheitPhotoResponse"; getTypeName() => "GetNutzeinheitPhoto"; TypeContext? context = _ctx; } // @Route("/Nutzeinheit/Photo/{Guid}", "GET") // @DataContract class GetNutzeinheitPhoto implements IReturn, IConvertible, IGet { // @DataMember(Name="Guid") String? Guid; GetNutzeinheitPhoto({this.Guid}); GetNutzeinheitPhoto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Guid = json['guid']; return this; } Map toJson() => { 'guid': Guid }; createResponse() => GetNutzeinheitPhotoResponse(); getResponseTypeName() => "GetNutzeinheitPhotoResponse"; getTypeName() => "GetNutzeinheitPhoto"; TypeContext? context = _ctx; } // @Route("/App/{UserId}/Nutzeinheit/Photo/{Guid}", "GET") // @DataContract class GetNutzeinheitPhoto extends Eras2AppServiceModelBase implements IReturn, IConvertible, IGet { // @DataMember(Name="Guid") String? Guid; GetNutzeinheitPhoto({this.Guid}); GetNutzeinheitPhoto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Guid = json['guid']; return this; } Map toJson() => super.toJson()..addAll({ 'guid': Guid }); createResponse() => GetNutzeinheitPhotoResponse(); getResponseTypeName() => "GetNutzeinheitPhotoResponse"; getTypeName() => "GetNutzeinheitPhoto"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'fairtherm_servamw.eras_online.de', types: { 'Eras2AppServiceModelBase': TypeInfo(TypeOf.AbstractClass), 'GetImageFileResponse': TypeInfo(TypeOf.AbstractClass), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'GetNutzeinheitPhotoResponse': TypeInfo(TypeOf.Class, create:() => GetNutzeinheitPhotoResponse()), 'GetNutzeinheitPhoto': TypeInfo(TypeOf.Class, create:() => GetNutzeinheitPhoto()), });