/* Options: Date: 2026-10-20 21:51:22 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://andreiuologmbh-servdesk.eras-online.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetCustomerUsers.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @DataContract class User implements IConvertible { // @DataMember // @ApiMember(IsRequired=true) String? userName; // @DataMember String? password; // @DataMember String? isConfirmed; // @DataMember String? id; // @DataMember String? role; User({this.userName,this.password,this.isConfirmed,this.id,this.role}); User.fromJson(Map json) { fromMap(json); } fromMap(Map json) { userName = json['userName']; password = json['password']; isConfirmed = json['isConfirmed']; id = json['id']; role = json['role']; return this; } Map toJson() => { 'userName': userName, 'password': password, 'isConfirmed': isConfirmed, 'id': id, 'role': role }; getTypeName() => "User"; TypeContext? context = _ctx; } class GetCustomerUsersResponse implements IConvertible { ResponseStatus? responseStatus; List? users; GetCustomerUsersResponse({this.responseStatus,this.users}); GetCustomerUsersResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); users = JsonConverters.fromJson(json['users'],'List',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'users': JsonConverters.toJson(users,'List',context!) }; getTypeName() => "GetCustomerUsersResponse"; TypeContext? context = _ctx; } // @Route("/api/v1/users/{CustomerGuid}", "GET") class GetCustomerUsers implements IReturn, IHasBearerToken, IConvertible, IGet { // @ApiMember(IsRequired=true, ParameterType="query") String? bearerToken; // @ApiMember(IsRequired=true, ParameterType="path") String? customerGuid; GetCustomerUsers({this.bearerToken,this.customerGuid}); GetCustomerUsers.fromJson(Map json) { fromMap(json); } fromMap(Map json) { bearerToken = json['bearerToken']; customerGuid = json['customerGuid']; return this; } Map toJson() => { 'bearerToken': bearerToken, 'customerGuid': customerGuid }; createResponse() => GetCustomerUsersResponse(); getResponseTypeName() => "GetCustomerUsersResponse"; getTypeName() => "GetCustomerUsers"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'andreiuologmbh_servdesk.eras_online.de', types: { 'User': TypeInfo(TypeOf.Class, create:() => User()), 'GetCustomerUsersResponse': TypeInfo(TypeOf.Class, create:() => GetCustomerUsersResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetCustomerUsers': TypeInfo(TypeOf.Class, create:() => GetCustomerUsers()), });