mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-14 03:30:25 +01:00
Add PrimaryImageAspectRatio to user dto
This commit is contained in:
@@ -12,7 +12,7 @@ namespace MediaBrowser.Model.Dto
|
||||
/// This holds information about a BaseItem in a format that is convenient for the client.
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public class BaseItemDto : IHasProviderIds, INotifyPropertyChanged
|
||||
public class BaseItemDto : IHasProviderIds, INotifyPropertyChanged, IItemDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace MediaBrowser.Model.Dto
|
||||
/// Class UserDto
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public class UserDto : INotifyPropertyChanged
|
||||
public class UserDto : INotifyPropertyChanged, IItemDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
@@ -61,6 +61,13 @@ namespace MediaBrowser.Model.Dto
|
||||
[ProtoMember(7)]
|
||||
public UserConfiguration Configuration { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the primary image aspect ratio.
|
||||
/// </summary>
|
||||
/// <value>The primary image aspect ratio.</value>
|
||||
[ProtoMember(8)]
|
||||
public double? PrimaryImageAspectRatio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance has primary image.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user