/* Options: Date: 2025-08-04 03:30:24 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: AddAdminUser.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; 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; } class AddUserResponse extends ModifyEntityResponse implements IConvertible { bool? IsConfirmationEmailSent; bool? IsResetPasswordEmailSent; AddUserResponse({this.IsConfirmationEmailSent,this.IsResetPasswordEmailSent}); AddUserResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); IsConfirmationEmailSent = json['IsConfirmationEmailSent']; IsResetPasswordEmailSent = json['IsResetPasswordEmailSent']; return this; } Map toJson() => super.toJson()..addAll({ 'IsConfirmationEmailSent': IsConfirmationEmailSent, 'IsResetPasswordEmailSent': IsResetPasswordEmailSent }); getTypeName() => "AddUserResponse"; TypeContext? context = _ctx; } // @Route("/adminuser", "POST") class AddAdminUser implements IReturn, IConvertible, IPost { String? Email; String? Password; String? DisplayName; String? OrganizationUnit; String? Position; int? MobilePhoneNumberCountryCodeId; String? MobilePhoneNumber; bool? IsResetPassword; AddAdminUser({this.Email,this.Password,this.DisplayName,this.OrganizationUnit,this.Position,this.MobilePhoneNumberCountryCodeId,this.MobilePhoneNumber,this.IsResetPassword}); AddAdminUser.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Email = json['Email']; Password = json['Password']; DisplayName = json['DisplayName']; OrganizationUnit = json['OrganizationUnit']; Position = json['Position']; MobilePhoneNumberCountryCodeId = json['MobilePhoneNumberCountryCodeId']; MobilePhoneNumber = json['MobilePhoneNumber']; IsResetPassword = json['IsResetPassword']; return this; } Map toJson() => { 'Email': Email, 'Password': Password, 'DisplayName': DisplayName, 'OrganizationUnit': OrganizationUnit, 'Position': Position, 'MobilePhoneNumberCountryCodeId': MobilePhoneNumberCountryCodeId, 'MobilePhoneNumber': MobilePhoneNumber, 'IsResetPassword': IsResetPassword }; createResponse() => AddUserResponse(); getResponseTypeName() => "AddUserResponse"; getTypeName() => "AddAdminUser"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'ModifyEntityResponse': TypeInfo(TypeOf.Class, create:() => ModifyEntityResponse()), 'AddUserResponse': TypeInfo(TypeOf.Class, create:() => AddUserResponse()), 'AddAdminUser': TypeInfo(TypeOf.Class, create:() => AddAdminUser()), });