mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
55 lines
1.5 KiB
C#
55 lines
1.5 KiB
C#
using System;
|
|
|
|
namespace MediaBrowser.Controller.Providers
|
|
{
|
|
/// <summary>
|
|
/// Class BaseProviderInfo
|
|
/// </summary>
|
|
public class BaseProviderInfo
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the last refreshed.
|
|
/// </summary>
|
|
/// <value>The last refreshed.</value>
|
|
public DateTime LastRefreshed { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the file system stamp.
|
|
/// </summary>
|
|
/// <value>The file system stamp.</value>
|
|
public Guid FileStamp { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the last refresh status.
|
|
/// </summary>
|
|
/// <value>The last refresh status.</value>
|
|
public ProviderRefreshStatus LastRefreshStatus { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the provider version.
|
|
/// </summary>
|
|
/// <value>The provider version.</value>
|
|
public string ProviderVersion { get; set; }
|
|
/// <summary>
|
|
/// Contains a has of data that can be used to determine if the provider should refresh again
|
|
/// </summary>
|
|
public Guid Data { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Enum ProviderRefreshStatus
|
|
/// </summary>
|
|
public enum ProviderRefreshStatus
|
|
{
|
|
/// <summary>
|
|
/// The success
|
|
/// </summary>
|
|
Success,
|
|
/// <summary>
|
|
/// The failure
|
|
/// </summary>
|
|
Failure,
|
|
/// <summary>
|
|
/// The completed with errors
|
|
/// </summary>
|
|
CompletedWithErrors
|
|
}
|
|
}
|