45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
using System.Collections.ObjectModel;
|
|
|
|
namespace Jellyfin.Plugin.Jellypod.Api.Models;
|
|
|
|
/// <summary>
|
|
/// Result of an OPML import operation.
|
|
/// </summary>
|
|
public class OpmlImportResult
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the total number of feeds found in the OPML.
|
|
/// </summary>
|
|
public int TotalFeeds { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the number of feeds successfully imported.
|
|
/// </summary>
|
|
public int ImportedCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the number of feeds skipped (already subscribed).
|
|
/// </summary>
|
|
public int SkippedCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the number of feeds that failed to import.
|
|
/// </summary>
|
|
public int FailedCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets the list of imported podcast titles.
|
|
/// </summary>
|
|
public Collection<string> ImportedPodcasts { get; } = new();
|
|
|
|
/// <summary>
|
|
/// Gets the list of skipped feed URLs (already subscribed).
|
|
/// </summary>
|
|
public Collection<string> SkippedFeeds { get; } = new();
|
|
|
|
/// <summary>
|
|
/// Gets the list of failed imports with error details.
|
|
/// </summary>
|
|
public Collection<OpmlImportError> Errors { get; } = new();
|
|
}
|