2020-04-05 09:10:56 -07:00
|
|
|
#nullable disable
|
2020-02-03 17:49:27 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 13:02:23 -07:00
|
|
|
using System;
|
2018-12-27 16:27:57 -07:00
|
|
|
using System.Collections.Generic;
|
2019-01-13 12:26:15 -07:00
|
|
|
using MediaBrowser.Model.Entities;
|
2018-12-27 16:27:57 -07:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Providers
|
|
|
|
{
|
|
|
|
public class RemoteSearchResult : IHasProviderIds
|
|
|
|
{
|
2020-04-05 09:10:56 -07:00
|
|
|
public RemoteSearchResult()
|
|
|
|
{
|
|
|
|
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
|
|
|
Artists = Array.Empty<RemoteSearchResult>();
|
|
|
|
}
|
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the name.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The name.</value>
|
|
|
|
public string Name { get; set; }
|
2020-04-05 09:10:56 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the provider ids.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The provider ids.</value>
|
|
|
|
public Dictionary<string, string> ProviderIds { get; set; }
|
2020-04-05 09:10:56 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the year.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The year.</value>
|
|
|
|
public int? ProductionYear { get; set; }
|
2020-04-05 09:10:56 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
public int? IndexNumber { get; set; }
|
2020-04-05 09:10:56 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
public int? IndexNumberEnd { get; set; }
|
2020-04-05 09:10:56 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
public int? ParentIndexNumber { get; set; }
|
|
|
|
|
|
|
|
public DateTime? PremiereDate { get; set; }
|
|
|
|
|
|
|
|
public string ImageUrl { get; set; }
|
|
|
|
|
|
|
|
public string SearchProviderName { get; set; }
|
2020-04-05 09:10:56 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
public string Overview { get; set; }
|
|
|
|
|
|
|
|
public RemoteSearchResult AlbumArtist { get; set; }
|
2020-04-05 09:10:56 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
public RemoteSearchResult[] Artists { get; set; }
|
|
|
|
}
|
|
|
|
}
|