Assembly: OptimaJet.Workflow.Api

Class TenantStatus

OptimaJet.Workflow.Api.Models.TenantStatus

Tenant Status.

public record TenantStatus : IEquatable<TenantStatus>

Type Hierarchy

Constructors

public TenantStatus(string tenantId, DatabaseStatus databaseStatus, ExceptionModel? databaseException, RuntimeRunningStatus workflowRuntimeRunningStatus, ExceptionModel? workflowRuntimeException) #

Parameters

Name
Type
Description
tenantId
String
databaseStatus
DatabaseStatus
databaseException
ExceptionModel
workflowRuntimeRunningStatus
RuntimeRunningStatus
workflowRuntimeException
ExceptionModel

Properties

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.