43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
namespace Jellyfin.Plugin.Jellypod.Models;
|
|
|
|
/// <summary>
|
|
/// Represents an outline element from an OPML file.
|
|
/// </summary>
|
|
public class OpmlOutline
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the outline title (text attribute).
|
|
/// </summary>
|
|
public string? Text { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the outline title (title attribute).
|
|
/// </summary>
|
|
public string? Title { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the RSS feed URL (xmlUrl attribute).
|
|
/// </summary>
|
|
public string? XmlUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the website URL (htmlUrl attribute).
|
|
/// </summary>
|
|
public string? HtmlUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the description.
|
|
/// </summary>
|
|
public string? Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the category.
|
|
/// </summary>
|
|
public string? Category { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets the display title (prefers Title over Text).
|
|
/// </summary>
|
|
public string DisplayTitle => Title ?? Text ?? "Unknown";
|
|
}
|