From 282dce7f1060bcaa49ba54f7cf91cd6a7cf3c3a4 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 9 Jun 2017 15:26:54 -0400 Subject: normalize session object --- MediaBrowser.Model/Entities/BaseItemInfo.cs | 178 ---------------------------- 1 file changed, 178 deletions(-) delete mode 100644 MediaBrowser.Model/Entities/BaseItemInfo.cs (limited to 'MediaBrowser.Model/Entities') diff --git a/MediaBrowser.Model/Entities/BaseItemInfo.cs b/MediaBrowser.Model/Entities/BaseItemInfo.cs deleted file mode 100644 index db6c4b3fa7..0000000000 --- a/MediaBrowser.Model/Entities/BaseItemInfo.cs +++ /dev/null @@ -1,178 +0,0 @@ -using MediaBrowser.Model.Dto; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using MediaBrowser.Model.Serialization; - -namespace MediaBrowser.Model.Entities -{ - /// - /// This is a stub class containing only basic information about an item - /// - [DebuggerDisplay("Name = {Name}, ID = {Id}, Type = {Type}")] - public class BaseItemInfo - { - /// - /// Gets or sets the name. - /// - /// The name. - public string Name { get; set; } - - /// - /// Gets or sets the id. - /// - /// The id. - public string Id { get; set; } - - /// - /// Gets or sets the type. - /// - /// The type. - public string Type { get; set; } - - /// - /// Gets or sets the type of the media. - /// - /// The type of the media. - public string MediaType { get; set; } - - /// - /// Gets or sets the run time ticks. - /// - /// The run time ticks. - public long? RunTimeTicks { get; set; } - - /// - /// Gets or sets the primary image tag. - /// - /// The primary image tag. - public string PrimaryImageTag { get; set; } - - /// - /// Gets or sets the primary image item identifier. - /// - /// The primary image item identifier. - public string PrimaryImageItemId { get; set; } - - /// - /// Gets or sets the logo image tag. - /// - /// The logo image tag. - public string LogoImageTag { get; set; } - - /// - /// Gets or sets the logo item identifier. - /// - /// The logo item identifier. - public string LogoItemId { get; set; } - - /// - /// Gets or sets the thumb image tag. - /// - /// The thumb image tag. - public string ThumbImageTag { get; set; } - - /// - /// Gets or sets the thumb item identifier. - /// - /// The thumb item identifier. - public string ThumbItemId { get; set; } - - /// - /// Gets or sets the thumb image tag. - /// - /// The thumb image tag. - public string BackdropImageTag { get; set; } - - /// - /// Gets or sets the thumb item identifier. - /// - /// The thumb item identifier. - public string BackdropItemId { get; set; } - - /// - /// Gets or sets the premiere date. - /// - /// The premiere date. - public DateTime? PremiereDate { get; set; } - - /// - /// Gets or sets the production year. - /// - /// The production year. - public int? ProductionYear { get; set; } - - /// - /// Gets or sets the index number. - /// - /// The index number. - public int? IndexNumber { get; set; } - - /// - /// Gets or sets the index number end. - /// - /// The index number end. - public int? IndexNumberEnd { get; set; } - - /// - /// Gets or sets the parent index number. - /// - /// The parent index number. - public int? ParentIndexNumber { get; set; } - - /// - /// Gets or sets the name of the series. - /// - /// The name of the series. - public string SeriesName { get; set; } - - /// - /// Gets or sets the album. - /// - /// The album. - public string Album { get; set; } - - public bool IsThemeMedia { get; set; } - - /// - /// Gets or sets the artists. - /// - /// The artists. - public List Artists { get; set; } - - /// - /// Gets or sets the media streams. - /// - /// The media streams. - public List MediaStreams { get; set; } - - /// - /// Gets or sets the chapter images item identifier. - /// - /// The chapter images item identifier. - public string ChapterImagesItemId { get; set; } - - /// - /// Gets or sets the chapters. - /// - /// The chapters. - public List Chapters { get; set; } - - /// - /// Gets a value indicating whether this instance has primary image. - /// - /// true if this instance has primary image; otherwise, false. - [IgnoreDataMember] - public bool HasPrimaryImage - { - get { return PrimaryImageTag != null; } - } - - public BaseItemInfo() - { - Artists = new List(); - MediaStreams = new List(); - Chapters = new List(); - } - } -} -- cgit v1.2.3