/* Options: Date: 2025-09-01 05:31:54 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://foundrystage-api-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdatePasswordRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class PostOperationUnTenanted implements IPost { PostOperationUnTenanted(); PostOperationUnTenanted.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PostOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } class UpdatePasswordResponse implements IConvertible { ResponseStatus? responseStatus; UpdatePasswordResponse({this.responseStatus}); UpdatePasswordResponse.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() => "UpdatePasswordResponse"; TypeContext? context = _ctx; } // @Route("/users/passwords/update", "POST") class UpdatePasswordRequest extends PostOperationUnTenanted implements IReturn, IConvertible { String? currentPassword; String? newPassword; UpdatePasswordRequest({this.currentPassword,this.newPassword}); UpdatePasswordRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); currentPassword = json['currentPassword']; newPassword = json['newPassword']; return this; } Map toJson() => super.toJson()..addAll({ 'currentPassword': currentPassword, 'newPassword': newPassword }); createResponse() => UpdatePasswordResponse(); getResponseTypeName() => "UpdatePasswordResponse"; getTypeName() => "UpdatePasswordRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'foundrystage_api_app.azurewebsites.net', types: { 'PostOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'UpdatePasswordResponse': TypeInfo(TypeOf.Class, create:() => UpdatePasswordResponse()), 'UpdatePasswordRequest': TypeInfo(TypeOf.Class, create:() => UpdatePasswordRequest()), });