/* Options: Date: 2025-05-04 23:36:17 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RecoverPassword.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * Reset an account's password using the token sent via email */ // @Route("/auth/recover", "POST") // @Api(Description="Reset an account's password using the token sent via email") class RecoverPassword implements IReturnVoid, IPost, IConvertible { /** * The email address being recovered */ // @ApiMember(Description="The email address being recovered") String? emailAddress; /** * The token sent via email */ // @ApiMember(Description="The token sent via email") String? token; /** * New Password */ // @ApiMember(Description="New Password") String? newPassword; RecoverPassword({this.emailAddress,this.token,this.newPassword}); RecoverPassword.fromJson(Map json) { fromMap(json); } fromMap(Map json) { emailAddress = json['emailAddress']; token = json['token']; newPassword = json['newPassword']; return this; } Map toJson() => { 'emailAddress': emailAddress, 'token': token, 'newPassword': newPassword }; createResponse() {} getTypeName() => "RecoverPassword"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'RecoverPassword': TypeInfo(TypeOf.Class, create:() => RecoverPassword()), });