The Free Software Media System - Server Backend & API
add RegistrationInfo
Luke Pulverentic2ad6f83d300
diff --git a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csprojindex 557d290710..4f56f828b4 100644--- a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj+++ b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj@@ -986,6 +986,9 @@<Compile Include="..\MediaBrowser.Model\Querying\UserQuery.cs"><Link>Querying\UserQuery.cs</Link></Compile>+ <Compile Include="..\MediaBrowser.Model\Registration\RegistrationInfo.cs">+ <Link>Registration\RegistrationInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Search\SearchHint.cs"><Link>Search\SearchHint.cs</Link></Compile>diff --git a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csprojindex dbe7099bd8..b49cef7405 100644--- a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj+++ b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj@@ -945,6 +945,9 @@<Compile Include="..\MediaBrowser.Model\Querying\UserQuery.cs"><Link>Querying\UserQuery.cs</Link></Compile>+ <Compile Include="..\mediabrowser.model\registration\RegistrationInfo.cs">+ <Link>Registration\RegistrationInfo.cs</Link>+ </Compile><Compile Include="..\MediaBrowser.Model\Search\SearchHint.cs"><Link>Search\SearchHint.cs</Link></Compile>diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csprojindex 9c13251ad5..662b760022 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.csnew file mode 100644index 0000000000..da4c27fbdf--- /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; }+ }+}