aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Providers/BaseProviderInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Providers/BaseProviderInfo.cs')
-rw-r--r--MediaBrowser.Controller/Providers/BaseProviderInfo.cs75
1 files changed, 60 insertions, 15 deletions
diff --git a/MediaBrowser.Controller/Providers/BaseProviderInfo.cs b/MediaBrowser.Controller/Providers/BaseProviderInfo.cs
index 1538b2262..877ba5c4b 100644
--- a/MediaBrowser.Controller/Providers/BaseProviderInfo.cs
+++ b/MediaBrowser.Controller/Providers/BaseProviderInfo.cs
@@ -1,15 +1,60 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace MediaBrowser.Controller.Providers
-{
- public class BaseProviderInfo
- {
- public Guid ProviderId { get; set; }
- public DateTime LastRefreshed { get; set; }
-
- }
-}
+using System;
+
+namespace MediaBrowser.Controller.Providers
+{
+ /// <summary>
+ /// Class BaseProviderInfo
+ /// </summary>
+ public class BaseProviderInfo
+ {
+ /// <summary>
+ /// Gets or sets the provider id.
+ /// </summary>
+ /// <value>The provider id.</value>
+ public Guid ProviderId { get; set; }
+ /// <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 FileSystemStamp { 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>
+ /// Gets or sets the data hash.
+ /// </summary>
+ /// <value>The data hash.</value>
+ public Guid DataHash { 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
+ }
+}