mirror of https://github.com/Radarr/Radarr
23 lines
587 B
C#
23 lines
587 B
C#
using NzbDrone.Core.Configuration;
|
|
using NzbDrone.Core.MetadataSource.SkyHook.Resource;
|
|
using Radarr.Http.REST;
|
|
|
|
namespace Radarr.Api.V3.Config
|
|
{
|
|
public class MetadataConfigResource : RestResource
|
|
{
|
|
public TMDbCountryCode CertificationCountry { get; set; }
|
|
}
|
|
|
|
public static class MetadataConfigResourceMapper
|
|
{
|
|
public static MetadataConfigResource ToResource(IConfigService model)
|
|
{
|
|
return new MetadataConfigResource
|
|
{
|
|
CertificationCountry = model.CertificationCountry,
|
|
};
|
|
}
|
|
}
|
|
}
|