namespace Umbraco.Cms.Api.Management.ViewModels.HealthCheck;
public class HealthCheckActionRequestModel
{
///
/// Gets or sets the health check key.
///
public required ReferenceByIdModel HealthCheck { get; set; }
///
/// Gets or sets the alias.
///
///
/// It is used by the Health Check instance to execute the action.
///
public string? Alias { get; set; }
///
/// Gets or sets the name.
///
///
/// It is used to name the "Fix" button.
///
public string? Name { get; set; }
///
/// Gets or sets the description.
///
public string? Description { get; set; }
///
/// Gets or sets a value indicating whether a value is required to rectify the issue.
///
public required bool ValueRequired { get; set; }
///
/// Gets or sets the value to rectify the issue.
///
public string? ProvidedValue { get; set; }
///
/// Gets or sets how the provided value is validated.
///
public string? ProvidedValueValidation { get; set; }
///
/// Gets or sets the regex to use when validating the provided value (if the value can be validated by a regex).
///
public string? ProvidedValueValidationRegex { get; set; }
///
/// Gets or sets the action parameters.
///
public Dictionary? ActionParameters { get; set; }
}