mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 23:13:06 +03:00
removed unused attributes
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using MediaBrowser.Model.Drawing;
|
||||
using ProtoBuf;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -8,7 +7,6 @@ namespace MediaBrowser.Model.Entities
|
||||
/// <summary>
|
||||
/// Defines the display preferences for any item that supports them (usually Folders)
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public class DisplayPreferences
|
||||
{
|
||||
/// <summary>
|
||||
@@ -31,67 +29,56 @@ namespace MediaBrowser.Model.Entities
|
||||
/// Gets or sets the user id.
|
||||
/// </summary>
|
||||
/// <value>The user id.</value>
|
||||
[ProtoMember(1)]
|
||||
public Guid Id { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the view.
|
||||
/// </summary>
|
||||
/// <value>The type of the view.</value>
|
||||
[ProtoMember(2)]
|
||||
public string ViewType { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the sort by.
|
||||
/// </summary>
|
||||
/// <value>The sort by.</value>
|
||||
[ProtoMember(4)]
|
||||
public string SortBy { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the index by.
|
||||
/// </summary>
|
||||
/// <value>The index by.</value>
|
||||
[ProtoMember(5)]
|
||||
public string IndexBy { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [remember indexing].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [remember indexing]; otherwise, <c>false</c>.</value>
|
||||
[ProtoMember(6)]
|
||||
public bool RememberIndexing { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the height of the primary image.
|
||||
/// </summary>
|
||||
/// <value>The height of the primary image.</value>
|
||||
[ProtoMember(7)]
|
||||
public int PrimaryImageHeight { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the width of the primary image.
|
||||
/// </summary>
|
||||
/// <value>The width of the primary image.</value>
|
||||
[ProtoMember(8)]
|
||||
public int PrimaryImageWidth { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the custom prefs.
|
||||
/// </summary>
|
||||
/// <value>The custom prefs.</value>
|
||||
[ProtoMember(9)]
|
||||
public Dictionary<string, string> CustomPrefs { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the scroll direction.
|
||||
/// </summary>
|
||||
/// <value>The scroll direction.</value>
|
||||
[ProtoMember(10)]
|
||||
public ScrollDirection ScrollDirection { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [remember sorting].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [remember sorting]; otherwise, <c>false</c>.</value>
|
||||
[ProtoMember(11)]
|
||||
public bool RememberSorting { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the sort order.
|
||||
/// </summary>
|
||||
/// <value>The sort order.</value>
|
||||
[ProtoMember(12)]
|
||||
public SortOrder SortOrder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user