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.
|
|
|
|
using ProtoBuf;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Tasks
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class TaskExecutionInfo
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ProtoContract]
|
|
|
|
|
public class TaskResult
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the start time UTC.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The start time UTC.</value>
|
|
|
|
|
[ProtoMember(1)]
|
|
|
|
|
public DateTime StartTimeUtc { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the end time UTC.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The end time UTC.</value>
|
|
|
|
|
[ProtoMember(2)]
|
|
|
|
|
public DateTime EndTimeUtc { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the status.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The status.</value>
|
|
|
|
|
[ProtoMember(3)]
|
|
|
|
|
public TaskCompletionStatus Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the name.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The name.</value>
|
|
|
|
|
[ProtoMember(4)]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the id.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The id.</value>
|
|
|
|
|
[ProtoMember(5)]
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|