(* Options: Date: 2024-11-21 03:54:39 Version: 6.00 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://resourcelibrary.api.ashcompanies.com //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: HealthCheckRequest.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace ASH.Services.HealthChecks open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.IO [] [] type HealthStatus = | Healthy = 0 | Degraded = 4 | Unhealthy = 8 [] [] type HealthReportEntry() = [] member val Status:HealthStatus = new HealthStatus() with get,set [] member val Description:String = null with get,set [] member val Duration:TimeSpan = new TimeSpan() with get,set [] member val Exception:Exception = null with get,set [] member val Data:IReadOnlyDictionary = null with get,set [] [] type HealthReport() = [] member val Entries:IReadOnlyDictionary = null with get,set [] member val ApplicationStatus:HealthStatus = new HealthStatus() with get,set [] member val Duration:TimeSpan = new TimeSpan() with get,set [] [] type HealthCheckRequest() = interface IReturn