You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.5 KiB
59 lines
1.5 KiB
using System;
|
|
|
|
namespace MediaBrowser.Model.Tasks
|
|
{
|
|
/// <summary>
|
|
/// Class TaskInfo
|
|
/// </summary>
|
|
public class TaskInfo
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the name.
|
|
/// </summary>
|
|
/// <value>The name.</value>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the state of the task.
|
|
/// </summary>
|
|
/// <value>The state of the task.</value>
|
|
public TaskState State { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the progress.
|
|
/// </summary>
|
|
/// <value>The progress.</value>
|
|
public double? CurrentProgressPercentage { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the id.
|
|
/// </summary>
|
|
/// <value>The id.</value>
|
|
public Guid Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the last execution result.
|
|
/// </summary>
|
|
/// <value>The last execution result.</value>
|
|
public TaskResult LastExecutionResult { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the triggers.
|
|
/// </summary>
|
|
/// <value>The triggers.</value>
|
|
public TaskTriggerInfo[] Triggers { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the description.
|
|
/// </summary>
|
|
/// <value>The description.</value>
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the category.
|
|
/// </summary>
|
|
/// <value>The category.</value>
|
|
public string Category { get; set; }
|
|
}
|
|
}
|