namespace API.DTOs.Update;
///
/// Update Notification denoting a new release available for user to update to
///
public class UpdateNotificationDto
{
///
/// Current installed Version
///
public required string CurrentVersion { get; init; }
///
/// Semver of the release version
/// 0.4.3
///
public required string UpdateVersion { get; init; }
///
/// Release body in HTML
///
public required string UpdateBody { get; init; }
///
/// Title of the release
///
public required string UpdateTitle { get; init; }
///
/// Github Url
///
public required string UpdateUrl { get; init; }
///
/// If this install is within Docker
///
public bool IsDocker { get; init; }
///
/// Is this a pre-release
///
public bool IsPrerelease { get; init; }
///
/// Date of the publish
///
public required string PublishDate { get; init; }
///
/// Is the server on a nightly within this release
///
public bool IsOnNightlyInRelease { get; set; }
///
/// Is the server on an older version
///
public bool IsReleaseNewer { get; set; }
///
/// Is the server on this version
///
public bool IsReleaseEqual { get; set; }
}