namespace PointlessWaymarks.FeedReader.Feeds.Itunes;
/// <summary>
/// The itunes:category element
/// </summary>
public class ItunesCategory
{
/// <summary>
/// Initializes a new instance of the <see cref="ItunesCategory"/> class.
/// itunes:category element
/// </summary>
/// <param name="text"></param>
/// <param name="children"></param>
internal ItunesCategory(string? text, List<ItunesCategory> children)
{
Text = text;
Children = children;
}
/// <summary>
/// The text attribute
/// </summary>
public string? Text { get; }
/// <summary>
/// All child itunes:category elements
/// </summary>
public List<ItunesCategory> Children { get; }
}