using System;
using ProtoBuf;
namespace MediaBrowser.Model.DTO
{
///
/// This is a stub class used by the api to get IBN types along with their item counts
///
[ProtoContract]
public class IBNItem
{
///
/// The name of the person, genre, etc
///
[ProtoMember(1)]
public string Name { get; set; }
///
/// The id of the person, genre, etc
///
[ProtoMember(2)]
public Guid Id { get; set; }
[ProtoMember(3)]
public bool HasImage { get; set; }
///
/// The number of items that have the genre, year, studio, etc
///
[ProtoMember(4)]
public int BaseItemCount { get; set; }
}
///
/// This is used by the api to get information about a Person within a BaseItem
///
[ProtoContract]
public class BaseItemPerson
{
[ProtoMember(1)]
public string Name { get; set; }
[ProtoMember(2)]
public string Overview { get; set; }
[ProtoMember(3)]
public string Type { get; set; }
[ProtoMember(4)]
public bool HasImage { get; set; }
}
///
/// This is used by the api to get information about a studio within a BaseItem
///
[ProtoContract]
public class BaseItemStudio
{
[ProtoMember(1)]
public string Name { get; set; }
[ProtoMember(2)]
public bool HasImage { get; set; }
}
}