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