2012-08-17 16:47:35 +00:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
2012-08-23 12:50:41 +00:00
|
|
|
|
using System;
|
2012-08-17 16:47:35 +00:00
|
|
|
|
|
|
|
|
|
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
|
2012-08-17 16:47:35 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2012-08-23 12:50:41 +00:00
|
|
|
|
/// The name of the person, genre, etc
|
2012-08-17 16:47:35 +00:00
|
|
|
|
/// </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 HasPrimaryImage { get; set; }
|
2012-08-17 16:47:35 +00:00
|
|
|
|
|
|
|
|
|
/// <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; }
|
2012-08-18 08:22:54 +00:00
|
|
|
|
public bool HasImage { get; set; }
|
2012-08-17 16:47:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This is used by BaseItemContainer
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class BaseItemStudio
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
2012-08-18 08:22:54 +00:00
|
|
|
|
public bool HasImage { get; set; }
|
2012-08-17 16:47:35 +00:00
|
|
|
|
}
|
|
|
|
|
}
|