Skip to content

The Free Software Media System - Server Backend & API

635 B
Raw Blame
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; }
}