mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-11-30 02:05:00 -05:00
* Add all websocket messages to generated openapi spec * Use oneOf * JsonIgnore ServerId * Oops * Add discriminators * Add WebSocketMessage container for Inbound and Outbound messages
25 lines
782 B
C#
25 lines
782 B
C#
using System.ComponentModel;
|
|
using MediaBrowser.Controller.LiveTv;
|
|
using MediaBrowser.Model.Session;
|
|
|
|
namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound;
|
|
|
|
/// <summary>
|
|
/// Series timer created message.
|
|
/// </summary>
|
|
public class SeriesTimerCreatedMessage : WebSocketMessage<TimerEventInfo>, IOutboundWebSocketMessage
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="SeriesTimerCreatedMessage"/> class.
|
|
/// </summary>
|
|
/// <param name="data">timer event info.</param>
|
|
public SeriesTimerCreatedMessage(TimerEventInfo data)
|
|
: base(data)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
[DefaultValue(SessionMessageType.SeriesTimerCreated)]
|
|
public override SessionMessageType MessageType => SessionMessageType.SeriesTimerCreated;
|
|
}
|