PlaylistCreationRequest.cs 830 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using MediaBrowser.Model.Entities;
  4. namespace MediaBrowser.Model.Playlists;
  5. /// <summary>
  6. /// A playlist creation request.
  7. /// </summary>
  8. public class PlaylistCreationRequest
  9. {
  10. /// <summary>
  11. /// Gets or sets the name.
  12. /// </summary>
  13. public string? Name { get; set; }
  14. /// <summary>
  15. /// Gets or sets the list of items.
  16. /// </summary>
  17. public IReadOnlyList<Guid> ItemIdList { get; set; } = Array.Empty<Guid>();
  18. /// <summary>
  19. /// Gets or sets the media type.
  20. /// </summary>
  21. public string? MediaType { get; set; }
  22. /// <summary>
  23. /// Gets or sets the user id.
  24. /// </summary>
  25. public Guid UserId { get; set; }
  26. /// <summary>
  27. /// Gets or sets the shares.
  28. /// </summary>
  29. public Share[]? Shares { get; set; }
  30. }