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