mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
20 lines
443 B
C#
20 lines
443 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Jellyfin.Api.Models.UserDtos;
|
|
|
|
/// <summary>
|
|
/// The create user by name request body.
|
|
/// </summary>
|
|
public class CreateUserByName
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the username.
|
|
/// </summary>
|
|
[Required]
|
|
public required string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the password.
|
|
/// </summary>
|
|
public string? Password { get; set; }
|
|
}
|