diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-10 23:25:05 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-10 23:25:05 -0400 |
| commit | c2ad6f83d300cd3f4f760eca7a8266e8dfd5550a (patch) | |
| tree | 285d01cfa26b2378e5fa6c78649bb78713819722 | |
| parent | a08ae466a2129c1c38f89baeb46de048bc4002bd (diff) | |
add RegistrationInfo
4 files changed, 35 insertions, 0 deletions
diff --git a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj index 557d29071..4f56f828b 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.csproj index dbe7099bd..b49cef740 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.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; } + } +} |
