using System; namespace MediaBrowser.Model.Tasks { /// /// Class TaskInfo /// public class TaskInfo { /// /// Gets or sets the name. /// /// The name. public string Name { get; set; } /// /// Gets or sets the state of the task. /// /// The state of the task. public TaskState State { get; set; } /// /// Gets or sets the progress. /// /// The progress. public double? CurrentProgressPercentage { get; set; } /// /// Gets or sets the id. /// /// The id. public Guid Id { get; set; } /// /// Gets or sets the last execution result. /// /// The last execution result. public TaskResult LastExecutionResult { get; set; } /// /// Gets or sets the triggers. /// /// The triggers. public TaskTriggerInfo[] Triggers { get; set; } /// /// Gets or sets the description. /// /// The description. public string Description { get; set; } /// /// Gets or sets the category. /// /// The category. public string Category { get; set; } } }