jellypod/Jellyfin.Plugin.Jellypod/Api/Models/UpdatePodcastRequest.cs
Duncan Tourolle d890c11a9b
All checks were successful
🏗️ Build Plugin / build (push) Successful in 2m1s
🧪 Test Plugin / test (push) Successful in 1m0s
🚀 Release Plugin / build-and-release (push) Successful in 2m1s
Add a retention timer for podcast
2025-12-30 16:20:26 +01:00

23 lines
598 B
C#

namespace Jellyfin.Plugin.Jellypod.Api.Models;
/// <summary>
/// Request to update a podcast.
/// </summary>
public class UpdatePodcastRequest
{
/// <summary>
/// Gets or sets whether to enable auto-download.
/// </summary>
public bool? AutoDownload { get; set; }
/// <summary>
/// Gets or sets the maximum episodes to keep.
/// </summary>
public int? MaxEpisodesToKeep { get; set; }
/// <summary>
/// Gets or sets the maximum age in days for episodes (0 = use global, -1 = unlimited).
/// </summary>
public int? MaxEpisodeAgeDays { get; set; }
}