aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/SyncPlay/GroupUpdate.cs
blob: ec67d7ea876440b5af8fe3d5c82e0f05b2c279c4 (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 MediaBrowser.Model.SyncPlay;

/// <summary>
/// Group update without data.
/// </summary>
public abstract class GroupUpdate
{
    /// <summary>
    /// Initializes a new instance of the <see cref="GroupUpdate"/> class.
    /// </summary>
    /// <param name="groupId">The group identifier.</param>
    protected GroupUpdate(Guid groupId)
    {
        GroupId = groupId;
    }

    /// <summary>
    /// Gets the group identifier.
    /// </summary>
    /// <value>The group identifier.</value>
    public Guid GroupId { get; }

    /// <summary>
    /// Gets the update type.
    /// </summary>
    /// <value>The update type.</value>
    public GroupUpdateType Type { get; init; }
}