mirror of https://github.com/Radarr/Radarr
20 lines
546 B
C#
20 lines
546 B
C#
using System.Collections.Generic;
|
|
using Radarr.Api.V2.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);
|
|
}
|
|
}
|
|
} |