using System;
using System.Collections.Generic;
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 List 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; }
///
/// Gets or sets a value indicating whether this instance is hidden.
///
/// true if this instance is hidden; otherwise, false.
public bool IsHidden { get; set; }
///
/// Initializes a new instance of the class.
///
public TaskInfo()
{
Triggers = new List();
}
}
}