Jackett/src/Jackett.Common/Models/DTO/TorrentPotatoResponse.cs

21 lines
426 B
C#

using System.Collections.Generic;
using System.Linq;
namespace Jackett.Common.Models.DTO
{
public class TorrentPotatoResponse
{
public IEnumerable<TorrentPotatoResponseItem> results { get; set; }
public int total_results
{
get
{
if (results == null)
return 0;
return results.Count();
}
}
}
}