aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model')
-rw-r--r--MediaBrowser.Model/MediaBrowser.Model.csproj1
-rw-r--r--MediaBrowser.Model/Registration/RegistrationInfo.cs28
2 files changed, 29 insertions, 0 deletions
diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj
index 9c13251ad..662b76002 100644
--- a/MediaBrowser.Model/MediaBrowser.Model.csproj
+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj
@@ -322,6 +322,7 @@
<Compile Include="Querying\SimilarItemsQuery.cs" />
<Compile Include="Querying\UpcomingEpisodesQuery.cs" />
<Compile Include="Querying\UserQuery.cs" />
+ <Compile Include="Registration\RegistrationInfo.cs" />
<Compile Include="Search\SearchQuery.cs" />
<Compile Include="Session\BrowseRequest.cs" />
<Compile Include="Session\ClientCapabilities.cs" />
diff --git a/MediaBrowser.Model/Registration/RegistrationInfo.cs b/MediaBrowser.Model/Registration/RegistrationInfo.cs
new file mode 100644
index 000000000..da4c27fbd
--- /dev/null
+++ b/MediaBrowser.Model/Registration/RegistrationInfo.cs
@@ -0,0 +1,28 @@
+using System;
+
+namespace MediaBrowser.Model.Registration
+{
+ public class RegistrationInfo
+ {
+ /// <summary>
+ /// Gets or sets the name.
+ /// </summary>
+ /// <value>The name.</value>
+ public string Name { get; set; }
+ /// <summary>
+ /// Gets or sets the expiration date.
+ /// </summary>
+ /// <value>The expiration date.</value>
+ public DateTime ExpirationDate { get; set; }
+ /// <summary>
+ /// Gets or sets a value indicating whether this instance is trial.
+ /// </summary>
+ /// <value><c>true</c> if this instance is trial; otherwise, <c>false</c>.</value>
+ public bool IsTrial { get; set; }
+ /// <summary>
+ /// Gets or sets a value indicating whether this instance is valid.
+ /// </summary>
+ /// <value><c>true</c> if this instance is valid; otherwise, <c>false</c>.</value>
+ public bool IsValid { get; set; }
+ }
+}