using System;
namespace MediaBrowser.Model.Updates
{
///
/// Class CheckForUpdateResult
///
public class CheckForUpdateResult
{
///
/// Gets or sets a value indicating whether this instance is update available.
///
/// true if this instance is update available; otherwise, false.
public bool IsUpdateAvailable { get; set; }
///
/// Gets or sets the available version.
///
/// The available version.
public Version AvailableVersion
{
get { return Package != null ? Package.version : new Version(0, 0); }
set { } // need this for the serializer
}
///
/// Get or sets package information for an available update
///
public PackageVersionInfo Package { get; set; }
}
}