< Summary - Jellyfin

Information
Class: MediaBrowser.Model.Playlists.PlaylistCreationRequest
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 42
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%210%

File(s)

/srv/git/jellyfin/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using Jellyfin.Data.Enums;
 4using MediaBrowser.Model.Entities;
 5
 6namespace MediaBrowser.Model.Playlists;
 7
 8/// <summary>
 9/// A playlist creation request.
 10/// </summary>
 11public class PlaylistCreationRequest
 12{
 13    /// <summary>
 14    /// Gets or sets the name.
 15    /// </summary>
 16    public string? Name { get; set; }
 17
 18    /// <summary>
 19    /// Gets or sets the list of items.
 20    /// </summary>
 21    public IReadOnlyList<Guid> ItemIdList { get; set; } = [];
 22
 23    /// <summary>
 24    /// Gets or sets the media type.
 25    /// </summary>
 26    public MediaType? MediaType { get; set; }
 27
 28    /// <summary>
 29    /// Gets or sets the user id.
 30    /// </summary>
 31    public Guid UserId { get; set; }
 32
 33    /// <summary>
 34    /// Gets or sets the user permissions.
 35    /// </summary>
 36    public IReadOnlyList<PlaylistUserPermissions> Users { get; set; } = [];
 37
 38    /// <summary>
 39    /// Gets or sets a value indicating whether the playlist is public.
 40    /// </summary>
 041    public bool? Public { get; set; } = true;
 42}

Methods/Properties

.ctor()