mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
20 lines
545 B
C#
20 lines
545 B
C#
using System.Collections.Generic;
|
|
using NzbDrone.Api.DownloadClient;
|
|
using RestSharp;
|
|
|
|
namespace NzbDrone.Integration.Test.Client
|
|
{
|
|
public class DownloadClientClient : ClientBase<DownloadClientResource>
|
|
{
|
|
public DownloadClientClient(IRestClient restClient, string apiKey)
|
|
: base(restClient, apiKey)
|
|
{
|
|
}
|
|
|
|
public List<DownloadClientResource> Schema()
|
|
{
|
|
var request = BuildRequest("/schema");
|
|
return Get<List<DownloadClientResource>>(request);
|
|
}
|
|
}
|
|
} |