You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
443 B
21 lines
443 B
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]
|
|
required public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the password.
|
|
/// </summary>
|
|
public string? Password { get; set; }
|
|
}
|