mirror of https://github.com/Jackett/Jackett
21 lines
426 B
C#
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();
|
|
}
|
|
}
|
|
}
|
|
}
|