/* Options:
Date: 2025-05-21 20:31:59
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: DeleteUser.*
//ExcludeTypes: 
//DefaultImports: package:servicestack/servicestack.dart
*/

import 'package:servicestack/servicestack.dart';

/**
* Deletes the specified login
*/
// @Route("/users/{userId}", "DELETE")
// @Api(Description="Deletes the specified login")
class DeleteUser implements IReturnVoid, IDelete, IConvertible
{
    /**
    * The ID of the login to delete
    */
    // @ApiMember(Description="The ID of the login to delete")
    String? userId;

    DeleteUser({this.userId});
    DeleteUser.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        userId = json['userId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'userId': userId
    };

    createResponse() {}
    getTypeName() => "DeleteUser";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: <String, TypeInfo> {
    'DeleteUser': TypeInfo(TypeOf.Class, create:() => DeleteUser()),
});