Ombi/src/Ombi.Schedule/Jobs/Plex/Models/ProcessedContent.cs

14 lines
No EOL
398 B
C#

using System.Collections.Generic;
using System.Linq;
namespace Ombi.Schedule.Jobs.Plex.Models
{
public class ProcessedContent
{
public IEnumerable<string> Content { get; set; }
public IEnumerable<int> Episodes { get; set; }
public bool HasProcessedContent => Content?.Any() ?? false;
public bool HasProcessedEpisodes => Episodes?.Any() ?? false;
}
}