add RegistrationInfo

pull/702/head
Luke Pulverenti 10 years ago
parent a08ae466a2
commit c2ad6f83d3

@ -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>

@ -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>

@ -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" />

@ -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; }
}
}
Loading…
Cancel
Save