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.
24 lines
995 B
24 lines
995 B
using System.Diagnostics.CodeAnalysis;
|
|
using Recyclarr.Cli.Pipelines.Generic;
|
|
using Recyclarr.Cli.Pipelines.QualityProfile.Models;
|
|
using Recyclarr.Cli.Pipelines.QualityProfile.PipelinePhases;
|
|
using Recyclarr.TrashGuide;
|
|
|
|
namespace Recyclarr.Cli.Pipelines.QualityProfile;
|
|
|
|
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification =
|
|
"Context objects are similar to DTOs; for usability we want to assign not append")]
|
|
public class QualityProfilePipelineContext : IPipelineContext
|
|
{
|
|
public string PipelineDescription => "Quality Definition";
|
|
public IReadOnlyCollection<SupportedServices> SupportedServiceTypes { get; } =
|
|
[
|
|
SupportedServices.Sonarr,
|
|
SupportedServices.Radarr
|
|
];
|
|
|
|
public IList<ProcessedQualityProfileData> ConfigOutput { get; set; } = default!;
|
|
public QualityProfileServiceData ApiFetchOutput { get; set; } = default!;
|
|
public QualityProfileTransactionData TransactionOutput { get; set; } = default!;
|
|
}
|