jellyfin-server/MediaBrowser.Model/DTO/IBNItem.cs

49 lines
1.2 KiB
C#
Raw Normal View History

using MediaBrowser.Model.Entities;
2012-08-23 12:50:41 +00:00
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>
2012-08-23 12:50:41 +00:00
public class IBNItem
{
/// <summary>
2012-08-23 12:50:41 +00:00
/// The name of the person, genre, etc
/// </summary>
2012-08-23 12:50:41 +00:00
public string Name { get; set; }
/// <summary>
/// The id of the person, genre, etc
/// </summary>
public Guid Id { get; set; }
public bool HasImage { 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 string Name { get; set; }
public string Overview { get; set; }
public string Type { 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; }
}
}