mirror of
https://github.com/Radarr/Radarr
synced 2026-04-14 09:12:53 +02:00
24 lines
560 B
C#
24 lines
560 B
C#
using NzbDrone.Core.Configuration;
|
|
using Lidarr.Http.REST;
|
|
|
|
namespace Lidarr.Api.V1.Config
|
|
{
|
|
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,
|
|
|
|
};
|
|
}
|
|
}
|
|
}
|