/* Options: Date: 2025-08-04 04:07:06 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://szallitoiportal-be.veolia.hu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EditUser.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ResponseBase { ResponseStatus? ResponseStatus; ResponseBase({this.ResponseStatus}); ResponseBase.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() => "ResponseBase"; TypeContext? context = _ctx; } class ModifyEntityResponse extends ResponseBase implements IConvertible { int? Id; ModifyEntityResponse({this.Id}); ModifyEntityResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id }); getTypeName() => "ModifyEntityResponse"; TypeContext? context = _ctx; } // @Route("/user/{userid}", "PUT") class EditUser implements IReturn, IPut, IConvertible { int? UserId; String? PhoneNumber; String? DisplayName; String? PhoneNumberExtension; int? PhoneNumberCountryCodeId; String? MobilePhoneNumber; int? MobilePhoneNumberCountryCodeId; String? OrganizationUnit; String? Position; EditUser({this.UserId,this.PhoneNumber,this.DisplayName,this.PhoneNumberExtension,this.PhoneNumberCountryCodeId,this.MobilePhoneNumber,this.MobilePhoneNumberCountryCodeId,this.OrganizationUnit,this.Position}); EditUser.fromJson(Map json) { fromMap(json); } fromMap(Map json) { UserId = json['UserId']; PhoneNumber = json['PhoneNumber']; DisplayName = json['DisplayName']; PhoneNumberExtension = json['PhoneNumberExtension']; PhoneNumberCountryCodeId = json['PhoneNumberCountryCodeId']; MobilePhoneNumber = json['MobilePhoneNumber']; MobilePhoneNumberCountryCodeId = json['MobilePhoneNumberCountryCodeId']; OrganizationUnit = json['OrganizationUnit']; Position = json['Position']; return this; } Map toJson() => { 'UserId': UserId, 'PhoneNumber': PhoneNumber, 'DisplayName': DisplayName, 'PhoneNumberExtension': PhoneNumberExtension, 'PhoneNumberCountryCodeId': PhoneNumberCountryCodeId, 'MobilePhoneNumber': MobilePhoneNumber, 'MobilePhoneNumberCountryCodeId': MobilePhoneNumberCountryCodeId, 'OrganizationUnit': OrganizationUnit, 'Position': Position }; createResponse() => ModifyEntityResponse(); getResponseTypeName() => "ModifyEntityResponse"; getTypeName() => "EditUser"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'ModifyEntityResponse': TypeInfo(TypeOf.Class, create:() => ModifyEntityResponse()), 'EditUser': TypeInfo(TypeOf.Class, create:() => EditUser()), });