Class TenantStatus
OptimaJet.Workflow.Api.Models.TenantStatus
Tenant Status.
Namespace: OptimaJet.Workflow.Api.Models
public record TenantStatus : IEquatable<TenantStatus>Type Hierarchy
- TenantStatus Current type
- Implemented interfaces
Constructors
public TenantStatus(string tenantId, DatabaseStatus databaseStatus, ExceptionModel? databaseException, RuntimeRunningStatus workflowRuntimeRunningStatus, ExceptionModel? workflowRuntimeException) #Parameters
Name
Type
Description
tenantIdStringdatabaseStatusDatabaseStatusdatabaseExceptionExceptionModelworkflowRuntimeRunningStatusRuntimeRunningStatusworkflowRuntimeExceptionExceptionModelProperties
public string TenantId { get; init; } #Gets the tenant id value.
public bool IsHealthy { get; } #Gets the is healthy value.
[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(JsonStringEnumConverter))] public DatabaseStatus DatabaseStatus { get; init; } #Gets the database status value.
public ExceptionModel? DatabaseException { get; init; } #Gets the database exception value.
[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(JsonStringEnumConverter))] public RuntimeRunningStatus WorkflowRuntimeRunningStatus { get; init; } #Gets the workflow runtime running status value.
public ExceptionModel? WorkflowRuntimeException { get; init; } #Gets the workflow runtime exception value.