2020-12-06 10:46:04 +01:00
|
|
|
// Copyright (c) Umbraco.
|
|
|
|
|
// See LICENSE for more details.
|
|
|
|
|
|
|
|
|
|
using System;
|
2020-09-14 21:27:31 +02:00
|
|
|
|
2021-02-18 11:06:02 +01:00
|
|
|
namespace Umbraco.Cms.Core.Configuration.Models
|
2020-09-14 21:27:31 +02:00
|
|
|
{
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Typed configuration options for disabled healthcheck settings.
|
|
|
|
|
/// </summary>
|
2020-10-30 13:56:13 +01:00
|
|
|
public class DisabledHealthCheckSettings
|
2020-09-14 21:27:31 +02:00
|
|
|
{
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value for the healthcheck Id to disable.
|
|
|
|
|
/// </summary>
|
2020-09-14 21:27:31 +02:00
|
|
|
public Guid Id { get; set; }
|
2020-10-30 13:56:13 +01:00
|
|
|
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value for the date the healthcheck was disabled.
|
|
|
|
|
/// </summary>
|
2020-09-14 21:27:31 +02:00
|
|
|
public DateTime DisabledOn { get; set; }
|
2020-10-30 13:56:13 +01:00
|
|
|
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value for Id of the user that disabled the healthcheck.
|
|
|
|
|
/// </summary>
|
2020-09-14 21:27:31 +02:00
|
|
|
public int DisabledBy { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|