You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/src/NzbDrone.Integration.Test/Client/NotificationClient.cs

21 lines
533 B

using System.Collections.Generic;
using Lidarr.Api.V1.Notifications;
using RestSharp;
namespace NzbDrone.Integration.Test.Client
{
public class NotificationClient : ClientBase<NotificationResource>
{
public NotificationClient(IRestClient restClient, string apiKey)
: base(restClient, apiKey)
{
}
public List<NotificationResource> Schema()
{
var request = BuildRequest("/schema");
return Get<List<NotificationResource>>(request);
}
}
}