PlaylistDto.cs 658 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using MediaBrowser.Model.Entities;
  4. namespace MediaBrowser.Model.Dto;
  5. /// <summary>
  6. /// DTO for playlists.
  7. /// </summary>
  8. public class PlaylistDto
  9. {
  10. /// <summary>
  11. /// Gets or sets a value indicating whether the playlist is publicly readable.
  12. /// </summary>
  13. public bool OpenAccess { get; set; }
  14. /// <summary>
  15. /// Gets or sets the share permissions.
  16. /// </summary>
  17. public required IReadOnlyList<PlaylistUserPermissions> Shares { get; set; }
  18. /// <summary>
  19. /// Gets or sets the item ids.
  20. /// </summary>
  21. public required IReadOnlyList<Guid> ItemIds { get; set; }
  22. }