jellyfin-server/MediaBrowser.Model/DTO/IBNItem.cs
LukePulverenti Luke Pulverenti luke pulverenti 4527a18738 Removed generics from IBNItem
2012-08-23 08:50:41 -04:00

47 lines
1.2 KiB
C#

using MediaBrowser.Model.Entities;
using System;
namespace MediaBrowser.Model.DTO
{
/// <summary>
/// This is a stub class used by the api to get IBN types along with their item counts
/// </summary>
public class IBNItem
{
/// <summary>
/// The name of the person, genre, etc
/// </summary>
public string Name { get; set; }
/// <summary>
/// The id of the person, genre, etc
/// </summary>
public Guid Id { get; set; }
public bool HasPrimaryImage { get; set; }
/// <summary>
/// The number of items that have the genre, year, studio, etc
/// </summary>
public int BaseItemCount { get; set; }
}
/// <summary>
/// This is used by BaseItemContainer
/// </summary>
public class BaseItemPerson
{
public PersonInfo PersonInfo { get; set; }
public bool HasImage { get; set; }
}
/// <summary>
/// This is used by BaseItemContainer
/// </summary>
public class BaseItemStudio
{
public string Name { get; set; }
public bool HasImage { get; set; }
}
}