From 48facb797ed912e4ea6b04b17d1ff190ac2daac4 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Sep 2018 19:26:21 +0200 Subject: Update to 3.5.2 and .net core 2.1 --- .../ApiClient/ConnectSignupResponse.cs | 10 ------- .../ApiClient/GeneralCommandEventArgs.cs | 22 --------------- .../ApiClient/HttpResponseEventArgs.cs | 33 ---------------------- .../ApiClient/ServerDiscoveryInfo.cs | 27 ------------------ .../ApiClient/SessionUpdatesEventArgs.cs | 12 -------- MediaBrowser.Model/ApiClient/WakeOnLanInfo.cs | 13 --------- 6 files changed, 117 deletions(-) delete mode 100644 MediaBrowser.Model/ApiClient/ConnectSignupResponse.cs delete mode 100644 MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.cs delete mode 100644 MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs delete mode 100644 MediaBrowser.Model/ApiClient/ServerDiscoveryInfo.cs delete mode 100644 MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs delete mode 100644 MediaBrowser.Model/ApiClient/WakeOnLanInfo.cs (limited to 'MediaBrowser.Model/ApiClient') diff --git a/MediaBrowser.Model/ApiClient/ConnectSignupResponse.cs b/MediaBrowser.Model/ApiClient/ConnectSignupResponse.cs deleted file mode 100644 index a34165b23e..0000000000 --- a/MediaBrowser.Model/ApiClient/ConnectSignupResponse.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace MediaBrowser.Model.ApiClient -{ - public enum ConnectSignupResponse - { - Failure, - Success, - EmailInUse, - UsernameInUser - } -} diff --git a/MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.cs b/MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.cs deleted file mode 100644 index 3c0b09da8f..0000000000 --- a/MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.cs +++ /dev/null @@ -1,22 +0,0 @@ -using MediaBrowser.Model.Session; - -namespace MediaBrowser.Model.ApiClient -{ - /// - /// Class SystemCommandEventArgs - /// - public class GeneralCommandEventArgs - { - /// - /// Gets or sets the command. - /// - /// The command. - public GeneralCommand Command { get; set; } - - /// - /// Gets or sets the type of the known command. - /// - /// The type of the known command. - public GeneralCommandType? KnownCommandType { get; set; } - } -} diff --git a/MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs b/MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs deleted file mode 100644 index b1c19f0566..0000000000 --- a/MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Net; - -namespace MediaBrowser.Model.ApiClient -{ - /// - /// Class HttpResponseEventArgs - /// - public class HttpResponseEventArgs : EventArgs - { - /// - /// Gets or sets the URL. - /// - /// The URL. - public string Url { get; set; } - /// - /// Gets or sets the status code. - /// - /// The status code. - public HttpStatusCode StatusCode { get; set; } - /// - /// Gets or sets the headers. - /// - /// The headers. - public Dictionary Headers { get; set; } - - public HttpResponseEventArgs() - { - Headers = new Dictionary(); - } - } -} diff --git a/MediaBrowser.Model/ApiClient/ServerDiscoveryInfo.cs b/MediaBrowser.Model/ApiClient/ServerDiscoveryInfo.cs deleted file mode 100644 index e2f7806055..0000000000 --- a/MediaBrowser.Model/ApiClient/ServerDiscoveryInfo.cs +++ /dev/null @@ -1,27 +0,0 @@ - -namespace MediaBrowser.Model.ApiClient -{ - public class ServerDiscoveryInfo - { - /// - /// Gets or sets the address. - /// - /// The address. - public string Address { get; set; } - /// - /// Gets or sets the server identifier. - /// - /// The server identifier. - public string Id { get; set; } - /// - /// Gets or sets the name. - /// - /// The name. - public string Name { get; set; } - /// - /// Gets or sets the endpoint address. - /// - /// The endpoint address. - public string EndpointAddress { get; set; } - } -} diff --git a/MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs b/MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs deleted file mode 100644 index af9a0986b1..0000000000 --- a/MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs +++ /dev/null @@ -1,12 +0,0 @@ -using MediaBrowser.Model.Session; - -namespace MediaBrowser.Model.ApiClient -{ - /// - /// Class SessionUpdatesEventArgs - /// - public class SessionUpdatesEventArgs - { - public SessionInfoDto[] Sessions { get; set; } - } -} \ No newline at end of file diff --git a/MediaBrowser.Model/ApiClient/WakeOnLanInfo.cs b/MediaBrowser.Model/ApiClient/WakeOnLanInfo.cs deleted file mode 100644 index f7a3c4ebb9..0000000000 --- a/MediaBrowser.Model/ApiClient/WakeOnLanInfo.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace MediaBrowser.Model.ApiClient -{ - public class WakeOnLanInfo - { - public string MacAddress { get; set; } - public int Port { get; set; } - - public WakeOnLanInfo() - { - Port = 9; - } - } -} \ No newline at end of file -- cgit v1.2.3