From 329980c727cf03587ff5f4011a3af3ef2fa5e4f1 Mon Sep 17 00:00:00 2001
From: ConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com>
Date: Thu, 18 Jun 2020 01:58:58 -0500
Subject: API cleanup
---
.../QuickConnect/QuickConnectResultDto.cs | 41 ----------------------
1 file changed, 41 deletions(-)
delete mode 100644 MediaBrowser.Model/QuickConnect/QuickConnectResultDto.cs
(limited to 'MediaBrowser.Model/QuickConnect')
diff --git a/MediaBrowser.Model/QuickConnect/QuickConnectResultDto.cs b/MediaBrowser.Model/QuickConnect/QuickConnectResultDto.cs
deleted file mode 100644
index 26084caf1..000000000
--- a/MediaBrowser.Model/QuickConnect/QuickConnectResultDto.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using System;
-
-namespace MediaBrowser.Model.QuickConnect
-{
- ///
- /// Stores the non-sensitive results of an incoming quick connect request.
- ///
- public class QuickConnectResultDto
- {
- ///
- /// Gets a value indicating whether this request is authorized.
- ///
- public bool Authenticated { get; private set; }
-
- ///
- /// Gets the user facing code used so the user can quickly differentiate this request from others.
- ///
- public string? Code { get; private set; }
-
- ///
- /// Gets the device friendly name.
- ///
- public string? FriendlyName { get; private set; }
-
- ///
- /// Cast an internal quick connect result to a DTO by removing all sensitive properties.
- ///
- /// QuickConnectResult object to cast.
- public static implicit operator QuickConnectResultDto(QuickConnectResult result)
- {
- QuickConnectResultDto resultDto = new QuickConnectResultDto
- {
- Authenticated = result.Authenticated,
- Code = result.Code,
- FriendlyName = result.FriendlyName,
- };
-
- return resultDto;
- }
- }
-}
--
cgit v1.2.3