/* Options: Date: 2025-08-04 04:11:45 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: ChangeEmail.* //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 ChangeEmailResponse extends ResponseBase implements IConvertible { ChangeEmailResponse(); ChangeEmailResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "ChangeEmailResponse"; TypeContext? context = _ctx; } // @Route("/user/{userid}/email", "POST") class ChangeEmail implements IReturn, IPost, IConvertible { int? UserId; String? NewEmail; ChangeEmail({this.UserId,this.NewEmail}); ChangeEmail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { UserId = json['UserId']; NewEmail = json['NewEmail']; return this; } Map toJson() => { 'UserId': UserId, 'NewEmail': NewEmail }; createResponse() => ChangeEmailResponse(); getResponseTypeName() => "ChangeEmailResponse"; getTypeName() => "ChangeEmail"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'ChangeEmailResponse': TypeInfo(TypeOf.Class, create:() => ChangeEmailResponse()), 'ChangeEmail': TypeInfo(TypeOf.Class, create:() => ChangeEmail()), });