2020-11-15 16:03:27 +00:00
|
|
|
using System;
|
2020-06-03 09:54:01 +00:00
|
|
|
|
2023-06-10 13:28:21 +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>
|
2023-06-10 13:28:21 +00:00
|
|
|
/// Initializes a new instance of the <see cref="GroupUpdate"/> class.
|
2020-04-01 15:52:42 +00:00
|
|
|
/// </summary>
|
2023-06-10 13:28:21 +00:00
|
|
|
/// <param name="groupId">The group identifier.</param>
|
|
|
|
protected GroupUpdate(Guid groupId)
|
2020-04-01 15:52:42 +00:00
|
|
|
{
|
2023-06-10 13:28:21 +00:00
|
|
|
GroupId = groupId;
|
|
|
|
}
|
2020-04-01 15:52:42 +00:00
|
|
|
|
2023-06-10 13:28:21 +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
|
|
|
|
2023-06-10 13:28:21 +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
|
|
|
}
|