aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Tasks/TaskResult.cs
blob: 39eacdf66484d0417b2ab301ffd7a779675eb690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
using System;

namespace MediaBrowser.Model.Tasks
{
    /// <summary>
    /// Class TaskExecutionInfo
    /// </summary>
    public class TaskResult
    {
        /// <summary>
        /// Gets or sets the start time UTC.
        /// </summary>
        /// <value>The start time UTC.</value>
        public DateTime StartTimeUtc { get; set; }

        /// <summary>
        /// Gets or sets the end time UTC.
        /// </summary>
        /// <value>The end time UTC.</value>
        public DateTime EndTimeUtc { get; set; }

        /// <summary>
        /// Gets or sets the status.
        /// </summary>
        /// <value>The status.</value>
        public TaskCompletionStatus Status { get; set; }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the key.
        /// </summary>
        /// <value>The key.</value>
        public string Key { get; set; }
        
        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>The id.</value>
        public string Id { get; set; }

        /// <summary>
        /// Gets or sets the error message.
        /// </summary>
        /// <value>The error message.</value>
        public string ErrorMessage { get; set; }

        /// <summary>
        /// Gets or sets the long error message.
        /// </summary>
        /// <value>The long error message.</value>
        public string LongErrorMessage { get; set; }
    }
}