9a0dfc00f1
* Add all websocket messages to generated openapi spec * Use oneOf * JsonIgnore ServerId * Oops * Add discriminators * Add WebSocketMessage container for Inbound and Outbound messages
31 lines
710 B
C#
31 lines
710 B
C#
using System;
|
|
|
|
namespace MediaBrowser.Model.SyncPlay;
|
|
|
|
/// <summary>
|
|
/// Group update without data.
|
|
/// </summary>
|
|
public abstract class GroupUpdate
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="GroupUpdate"/> class.
|
|
/// </summary>
|
|
/// <param name="groupId">The group identifier.</param>
|
|
protected GroupUpdate(Guid groupId)
|
|
{
|
|
GroupId = groupId;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the group identifier.
|
|
/// </summary>
|
|
/// <value>The group identifier.</value>
|
|
public Guid GroupId { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the update type.
|
|
/// </summary>
|
|
/// <value>The update type.</value>
|
|
public GroupUpdateType Type { get; init; }
|
|
}
|