You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Model/DTO/IBNItem.cs

49 lines
1.3 KiB

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 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 the api to get information about a Person within a BaseItem
/// </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 the api to get information about a studio within a BaseItem
/// </summary>
public class BaseItemStudio
{
public string Name { get; set; }
public bool HasImage { get; set; }
}
}