21 lines
475 B
C#
21 lines
475 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Jellyfin.Plugin.Jellypod.Api.Models;
|
|
|
|
/// <summary>
|
|
/// Request to add a new podcast.
|
|
/// </summary>
|
|
public class AddPodcastRequest
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the RSS feed URL.
|
|
/// </summary>
|
|
[Required]
|
|
public string FeedUrl { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets whether to enable auto-download.
|
|
/// </summary>
|
|
public bool? AutoDownload { get; set; }
|
|
}
|