parent
cfb1a80c58
commit
5f7d063c14
@ -0,0 +1,16 @@
|
||||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.Indexers
|
||||
{
|
||||
public class IndexerQueryEvent : IEvent
|
||||
{
|
||||
public int IndexerId { get; set; }
|
||||
public string Query { get; set; }
|
||||
|
||||
public IndexerQueryEvent(int indexerId, string query)
|
||||
{
|
||||
IndexerId = indexerId;
|
||||
Query = query;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Prowlarr.Api.V1.Search
|
||||
{
|
||||
public class SearchRequest
|
||||
{
|
||||
public List<int> IndexerIds { get; set; }
|
||||
public string Query { get; set; }
|
||||
}
|
||||
}
|
Loading…
Reference in new issue