CreatePlaylistDto.cs 745 B

12345678910111213141516171819202122232425262728293031
  1. #nullable enable
  2. using System;
  3. namespace Jellyfin.Api.Models.PlaylistDtos
  4. {
  5. /// <summary>
  6. /// Create new playlist dto.
  7. /// </summary>
  8. public class CreatePlaylistDto
  9. {
  10. /// <summary>
  11. /// Gets or sets the name of the new playlist.
  12. /// </summary>
  13. public string? Name { get; set; }
  14. /// <summary>
  15. /// Gets or sets item ids to add to the playlist.
  16. /// </summary>
  17. public string? Ids { get; set; }
  18. /// <summary>
  19. /// Gets or sets the user id.
  20. /// </summary>
  21. public Guid UserId { get; set; }
  22. /// <summary>
  23. /// Gets or sets the media type.
  24. /// </summary>
  25. public string? MediaType { get; set; }
  26. }
  27. }