jellyfin/MediaBrowser.Model/SyncPlay/GroupUpdate.cs

31 lines
710 B
C#
Raw Normal View History

using System;
2020-06-03 09:54:01 +00:00
namespace MediaBrowser.Model.SyncPlay;
/// <summary>
/// Group update without data.
/// </summary>
public abstract class GroupUpdate
2020-04-01 15:52:42 +00:00
{
/// <summary>
/// Initializes a new instance of the <see cref="GroupUpdate"/> class.
2020-04-01 15:52:42 +00:00
/// </summary>
/// <param name="groupId">The group identifier.</param>
protected GroupUpdate(Guid groupId)
2020-04-01 15:52:42 +00:00
{
GroupId = groupId;
}
2020-04-01 15:52:42 +00:00
/// <summary>
/// Gets the group identifier.
/// </summary>
/// <value>The group identifier.</value>
public Guid GroupId { get; }
2020-04-01 15:52:42 +00:00
/// <summary>
/// Gets the update type.
/// </summary>
/// <value>The update type.</value>
public GroupUpdateType Type { get; init; }
2020-04-01 15:52:42 +00:00
}