CreatePlaylistDto.cs 728 B

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