using ProtoBuf; using System; namespace MediaBrowser.Model.Tasks { /// /// Class TaskInfo /// [ProtoContract] public class TaskInfo { /// /// Gets or sets the name. /// /// The name. [ProtoMember(1)] public string Name { get; set; } /// /// Gets or sets the state of the task. /// /// The state of the task. [ProtoMember(2)] public TaskState State { get; set; } /// /// Gets or sets the progress. /// /// The progress. [ProtoMember(3)] public TaskProgress CurrentProgress { get; set; } /// /// Gets or sets the id. /// /// The id. [ProtoMember(4)] public Guid Id { get; set; } /// /// Gets or sets the last execution result. /// /// The last execution result. [ProtoMember(5)] public TaskResult LastExecutionResult { get; set; } /// /// Gets or sets the triggers. /// /// The triggers. [ProtoMember(6)] public TaskTriggerInfo[] Triggers { get; set; } /// /// Gets or sets the description. /// /// The description. [ProtoMember(7)] public string Description { get; set; } /// /// Gets or sets the category. /// /// The category. [ProtoMember(8)] public string Category { get; set; } } }