Files
jellyfin/Jellyfin.Api/Models/SyncPlayDtos/NewGroupRequestDto.cs
2026-03-30 09:40:01 +02:00

25 lines
635 B
C#

using System.ComponentModel.DataAnnotations;
namespace Jellyfin.Api.Models.SyncPlayDtos;
/// <summary>
/// Class NewGroupRequestDto.
/// </summary>
public class NewGroupRequestDto
{
/// <summary>
/// Initializes a new instance of the <see cref="NewGroupRequestDto"/> class.
/// </summary>
public NewGroupRequestDto()
{
GroupName = string.Empty;
}
/// <summary>
/// Gets or sets the group name.
/// </summary>
/// <value>The name of the new group.</value>
[StringLength(200, ErrorMessage = "Group name must not exceed 200 characters.")]
public string GroupName { get; set; }
}