mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-10-28 10:48:49 -04:00
added wanted list reads to sonarr and radarr
This commit is contained in:
1 parent
3f29613499
commit
00a1cdeda7
9 files changed
+286
No files matched your search
@@ -0,0 +1,17 @@
|
||||
namespace Cleanuparr.Domain.Entities.Arr;
|
||||
|
||||
/// <summary>
|
||||
/// One page of a paged *arr list response (e.g. wanted/missing, wanted/cutoff).
|
||||
/// </summary>
|
||||
public record ArrPagedResponse<T>
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of items in the list, on this page and on the other pages.
|
||||
/// </summary>
|
||||
public int TotalRecords { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The items on this page.
|
||||
/// </summary>
|
||||
public IReadOnlyList<T> Records { get; init; } = [];
|
||||
}
|
||||
@@ -4,6 +4,8 @@ public sealed record SearchableEpisode
|
||||
{
|
||||
public long Id { get; init; }
|
||||
|
||||
public long SeriesId { get; init; }
|
||||
|
||||
public int SeasonNumber { get; init; }
|
||||
|
||||
public int EpisodeNumber { get; init; }
|
||||
|
||||
Reference in new issue
Block a user