diff --git a/src/Recyclarr.Core/Notifications/Apprise/Dto/AppriseNotification.cs b/src/Recyclarr.Core/Notifications/Apprise/Dto/AppriseNotification.cs index e7f9f391..e1eddfd1 100644 --- a/src/Recyclarr.Core/Notifications/Apprise/Dto/AppriseNotification.cs +++ b/src/Recyclarr.Core/Notifications/Apprise/Dto/AppriseNotification.cs @@ -2,6 +2,7 @@ using System.Collections.ObjectModel; namespace Recyclarr.Notifications.Apprise.Dto; +[UsedImplicitly(ImplicitUseKindFlags.Access, ImplicitUseTargetFlags.WithMembers)] public record AppriseNotification { public string? Body { get; init; } @@ -10,11 +11,13 @@ public record AppriseNotification public AppriseMessageFormat? Format { get; init; } } +[UsedImplicitly(ImplicitUseKindFlags.Access, ImplicitUseTargetFlags.WithMembers)] public record AppriseStatefulNotification : AppriseNotification { public string? Tag { get; init; } } +[UsedImplicitly(ImplicitUseKindFlags.Access, ImplicitUseTargetFlags.WithMembers)] public record AppriseStatelessNotification : AppriseNotification { public Collection Urls { get; init; } = [];