diff options
| author | Cody Robibero <cody@robibe.ro> | 2023-06-10 07:28:21 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-10 07:28:21 -0600 |
| commit | 9a0dfc00f1e36092476f62984ba66886032f4f89 (patch) | |
| tree | 935482bc811b30913944703fb7b980a78294fc17 /MediaBrowser.Model/Net/WebSocketMessage.cs | |
| parent | 81cf798430a3d8c5504bc30b2d59af26fe5e2b9f (diff) | |
Add all websocket messages to generated openapi spec (#9682)
* Add all websocket messages to generated openapi spec
* Use oneOf
* JsonIgnore ServerId
* Oops
* Add discriminators
* Add WebSocketMessage container for Inbound and Outbound messages
Diffstat (limited to 'MediaBrowser.Model/Net/WebSocketMessage.cs')
| -rw-r--r-- | MediaBrowser.Model/Net/WebSocketMessage.cs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/MediaBrowser.Model/Net/WebSocketMessage.cs b/MediaBrowser.Model/Net/WebSocketMessage.cs deleted file mode 100644 index b00158cb3..000000000 --- a/MediaBrowser.Model/Net/WebSocketMessage.cs +++ /dev/null @@ -1,31 +0,0 @@ -#nullable disable -#pragma warning disable CS1591 - -using System; -using MediaBrowser.Model.Session; - -namespace MediaBrowser.Model.Net -{ - /// <summary> - /// Class WebSocketMessage. - /// </summary> - /// <typeparam name="T">The type of the data.</typeparam> - public class WebSocketMessage<T> - { - /// <summary> - /// Gets or sets the type of the message. - /// </summary> - /// <value>The type of the message.</value> - public SessionMessageType MessageType { get; set; } - - public Guid MessageId { get; set; } - - public string ServerId { get; set; } - - /// <summary> - /// Gets or sets the data. - /// </summary> - /// <value>The data.</value> - public T Data { get; set; } - } -} |
