aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Dto/PlaylistDto.cs
blob: d4de75a784fc042960ddcdfb23519664dbb4ce43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using MediaBrowser.Model.Entities;

namespace MediaBrowser.Model.Dto;

/// <summary>
/// DTO for playlists.
/// </summary>
public class PlaylistDto
{
    /// <summary>
    /// Gets or sets a value indicating whether the playlist is publicly readable.
    /// </summary>
    public bool OpenAccess { get; set; }

    /// <summary>
    /// Gets or sets the share permissions.
    /// </summary>
    public required IReadOnlyList<PlaylistUserPermissions> Shares { get; set; }

    /// <summary>
    /// Gets or sets the item ids.
    /// </summary>
    public required IReadOnlyList<Guid> ItemIds { get; set; }
}