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.
25 lines
560 B
25 lines
560 B
7 years ago
|
using NzbDrone.Core.Configuration;
|
||
|
using Lidarr.Http.REST;
|
||
|
|
||
7 years ago
|
namespace Lidarr.Api.V1.Config
|
||
7 years ago
|
{
|
||
|
public class MetadataProviderConfigResource : RestResource
|
||
|
{
|
||
|
//Calendar
|
||
|
public string MetadataSource { get; set; }
|
||
|
|
||
|
}
|
||
|
|
||
|
public static class MetadataProviderConfigResourceMapper
|
||
|
{
|
||
|
public static MetadataProviderConfigResource ToResource(IConfigService model)
|
||
|
{
|
||
|
return new MetadataProviderConfigResource
|
||
|
{
|
||
|
MetadataSource = model.MetadataSource,
|
||
|
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
}
|