The Free Software Media System - Server Backend & API
Remove some unused model code
Patrick Barron6d8062116cc8
diff --git a/MediaBrowser.Model/ClientLog/ClientLogEvent.cs b/MediaBrowser.Model/ClientLog/ClientLogEvent.csdeleted file mode 100644index 21087b5647..0000000000--- a/MediaBrowser.Model/ClientLog/ClientLogEvent.cs+++ /dev/null@@ -1,75 +0,0 @@-using System;-using Microsoft.Extensions.Logging;--namespace MediaBrowser.Model.ClientLog-{- /// <summary>- /// The client log event.- /// </summary>- public class ClientLogEvent- {- /// <summary>- /// Initializes a new instance of the <see cref="ClientLogEvent"/> class.- /// </summary>- /// <param name="timestamp">The log timestamp.</param>- /// <param name="level">The log level.</param>- /// <param name="userId">The user id.</param>- /// <param name="clientName">The client name.</param>- /// <param name="clientVersion">The client version.</param>- /// <param name="deviceId">The device id.</param>- /// <param name="message">The message.</param>- public ClientLogEvent(- DateTime timestamp,- LogLevel level,- Guid? userId,- string clientName,- string clientVersion,- string deviceId,- string message)- {- Timestamp = timestamp;- UserId = userId;- ClientName = clientName;- ClientVersion = clientVersion;- DeviceId = deviceId;- Message = message;- Level = level;- }-- /// <summary>- /// Gets the event timestamp.- /// </summary>- public DateTime Timestamp { get; }-- /// <summary>- /// Gets the log level.- /// </summary>- public LogLevel Level { get; }-- /// <summary>- /// Gets the user id.- /// </summary>- public Guid? UserId { get; }-- /// <summary>- /// Gets the client name.- /// </summary>- public string ClientName { get; }-- /// <summary>- /// Gets the client version.- /// </summary>- public string ClientVersion { get; }-- ///- /// <summary>- /// Gets the device id.- /// </summary>- public string DeviceId { get; }-- /// <summary>- /// Gets the log message.- /// </summary>- public string Message { get; }- }-}diff --git a/MediaBrowser.Model/Dto/ImageByNameInfo.cs b/MediaBrowser.Model/Dto/ImageByNameInfo.csdeleted file mode 100644index 06cc3e73cf..0000000000--- a/MediaBrowser.Model/Dto/ImageByNameInfo.cs+++ /dev/null@@ -1,38 +0,0 @@-#nullable disable-#pragma warning disable CS1591--namespace MediaBrowser.Model.Dto-{- public class ImageByNameInfo- {- /// <summary>- /// Gets or sets the name.- /// </summary>- /// <value>The name.</value>- public string Name { get; set; }-- /// <summary>- /// Gets or sets the theme.- /// </summary>- /// <value>The theme.</value>- public string Theme { get; set; }-- /// <summary>- /// Gets or sets the context.- /// </summary>- /// <value>The context.</value>- public string Context { get; set; }-- /// <summary>- /// Gets or sets the length of the file.- /// </summary>- /// <value>The length of the file.</value>- public long FileLength { get; set; }-- /// <summary>- /// Gets or sets the format.- /// </summary>- /// <value>The format.</value>- public string Format { get; set; }- }-}diff --git a/MediaBrowser.Model/Entities/SpecialFolder.cs b/MediaBrowser.Model/Entities/SpecialFolder.csdeleted file mode 100644index 2250c5dffb..0000000000--- a/MediaBrowser.Model/Entities/SpecialFolder.cs+++ /dev/null@@ -1,36 +0,0 @@-#pragma warning disable CS1591--namespace MediaBrowser.Model.Entities-{- public static class SpecialFolder- {- public const string TvShowSeries = "TvShowSeries";- public const string TvGenres = "TvGenres";- public const string TvGenre = "TvGenre";- public const string TvLatest = "TvLatest";- public const string TvNextUp = "TvNextUp";- public const string TvResume = "TvResume";- public const string TvFavoriteSeries = "TvFavoriteSeries";- public const string TvFavoriteEpisodes = "TvFavoriteEpisodes";-- public const string MovieLatest = "MovieLatest";- public const string MovieResume = "MovieResume";- public const string MovieMovies = "MovieMovies";- public const string MovieCollections = "MovieCollections";- public const string MovieFavorites = "MovieFavorites";- public const string MovieGenres = "MovieGenres";- public const string MovieGenre = "MovieGenre";-- public const string MusicArtists = "MusicArtists";- public const string MusicAlbumArtists = "MusicAlbumArtists";- public const string MusicAlbums = "MusicAlbums";- public const string MusicGenres = "MusicGenres";- public const string MusicLatest = "MusicLatest";- public const string MusicPlaylists = "MusicPlaylists";- public const string MusicSongs = "MusicSongs";- public const string MusicFavorites = "MusicFavorites";- public const string MusicFavoriteArtists = "MusicFavoriteArtists";- public const string MusicFavoriteAlbums = "MusicFavoriteAlbums";- public const string MusicFavoriteSongs = "MusicFavoriteSongs";- }-}diff --git a/MediaBrowser.Model/Net/SocketReceiveResult.cs b/MediaBrowser.Model/Net/SocketReceiveResult.csdeleted file mode 100644index 1524786ea7..0000000000--- a/MediaBrowser.Model/Net/SocketReceiveResult.cs+++ /dev/null@@ -1,32 +0,0 @@-#nullable disable--using System.Net;--namespace MediaBrowser.Model.Net-{- /// <summary>- /// Used by the sockets wrapper to hold raw data received from a UDP socket.- /// </summary>- public sealed class SocketReceiveResult- {- /// <summary>- /// Gets or sets the buffer to place received data into.- /// </summary>- public byte[] Buffer { get; set; }-- /// <summary>- /// Gets or sets the number of bytes received.- /// </summary>- public int ReceivedBytes { get; set; }-- /// <summary>- /// Gets or sets the <see cref="IPEndPoint"/> the data was received from.- /// </summary>- public IPEndPoint RemoteEndPoint { get; set; }-- /// <summary>- /// Gets or sets the local <see cref="IPAddress"/>.- /// </summary>- public IPAddress LocalIPAddress { get; set; }- }-}