using System;
namespace MediaBrowser.Model.SyncPlay;
/// 
/// Group update without data.
/// 
/// The type of the update data.
public abstract class GroupUpdate
{
    /// 
    /// Initializes a new instance of the  class.
    /// 
    /// The group identifier.
    /// The update data.
    protected GroupUpdate(Guid groupId, T data)
    {
        GroupId = groupId;
        Data = data;
    }
    /// 
    /// Gets the group identifier.
    /// 
    /// The group identifier.
    public Guid GroupId { get; }
    /// 
    /// Gets the update data.
    /// 
    /// The update data.
    public T Data { get; }
    /// 
    /// Gets the update type.
    /// 
    /// The update type.
    public abstract GroupUpdateType Type { get; }
}