mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			943 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			943 B
		
	
	
	
		
			C#
		
	
	
	
	
	
namespace MediaBrowser.Model.Updates
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// Class CheckForUpdateResult
 | 
						|
    /// </summary>
 | 
						|
    public class CheckForUpdateResult
 | 
						|
    {
 | 
						|
        /// <summary>
 | 
						|
        /// Gets or sets a value indicating whether this instance is update available.
 | 
						|
        /// </summary>
 | 
						|
        /// <value><c>true</c> if this instance is update available; otherwise, <c>false</c>.</value>
 | 
						|
        public bool IsUpdateAvailable { get; set; }
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// Gets or sets the available version.
 | 
						|
        /// </summary>
 | 
						|
        /// <value>The available version.</value>
 | 
						|
        public string AvailableVersion
 | 
						|
        {
 | 
						|
            get => Package != null ? Package.versionStr : "0.0.0.1";
 | 
						|
            set { } // need this for the serializer
 | 
						|
        }
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// Get or sets package information for an available update
 | 
						|
        /// </summary>
 | 
						|
        public PackageVersionInfo Package { get; set; }
 | 
						|
    }
 | 
						|
}
 |