From c2ad6f83d300cd3f4f760eca7a8266e8dfd5550a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 10 Mar 2015 23:25:05 -0400 Subject: add RegistrationInfo --- MediaBrowser.Model/MediaBrowser.Model.csproj | 1 + .../Registration/RegistrationInfo.cs | 28 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 MediaBrowser.Model/Registration/RegistrationInfo.cs (limited to 'MediaBrowser.Model') 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 @@ + 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 + { + /// + /// Gets or sets the name. + /// + /// The name. + public string Name { get; set; } + /// + /// Gets or sets the expiration date. + /// + /// The expiration date. + public DateTime ExpirationDate { get; set; } + /// + /// Gets or sets a value indicating whether this instance is trial. + /// + /// true if this instance is trial; otherwise, false. + public bool IsTrial { get; set; } + /// + /// Gets or sets a value indicating whether this instance is valid. + /// + /// true if this instance is valid; otherwise, false. + public bool IsValid { get; set; } + } +} -- cgit v1.2.3