aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/SyncPlayDtos/MovePlaylistItemRequestDto.cs
blob: 3af25f3e3e5716a3da0fa2a72fadd333c113afcd (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
27
28
29
30
using System;

namespace Jellyfin.Api.Models.SyncPlayDtos
{
    /// <summary>
    /// Class MovePlaylistItemRequestDto.
    /// </summary>
    public class MovePlaylistItemRequestDto
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MovePlaylistItemRequestDto"/> class.
        /// </summary>
        public MovePlaylistItemRequestDto()
        {
            PlaylistItemId = Guid.Empty;
        }

        /// <summary>
        /// Gets or sets the playlist identifier of the item.
        /// </summary>
        /// <value>The playlist identifier of the item.</value>
        public Guid PlaylistItemId { get; set; }

        /// <summary>
        /// Gets or sets the new position.
        /// </summary>
        /// <value>The new position.</value>
        public int NewIndex { get; set; }
    }
}