/* Options: Date: 2025-05-22 23:44:45 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: ChangeMyPassword.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * Update the authenticated user's password */ // @Route("/my-password", "POST") // @Api(Description="Update the authenticated user's password") class ChangeMyPassword implements IReturnVoid, IPost, IConvertible { /** * The new password for this user */ // @ApiMember(Description="The new password for this user") String? newPassword; ChangeMyPassword({this.newPassword}); ChangeMyPassword.fromJson(Map<String, dynamic> json) { fromMap(json); } fromMap(Map<String, dynamic> json) { newPassword = json['newPassword']; return this; } Map<String, dynamic> toJson() => { 'newPassword': newPassword }; createResponse() {} getTypeName() => "ChangeMyPassword"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: <String, TypeInfo> { 'ChangeMyPassword': TypeInfo(TypeOf.Class, create:() => ChangeMyPassword()), });