Class HealthCheck

A health check response.

Hierarchy

Constructors

  • Creates a new HealthCheck object.

    Parameters

    • __namedParameters: { data?: Record<string, any>; dbAvailable: boolean; errors?: string[]; isMigrating: boolean; message: string; round: number | bigint; version: string }
      • Optional data?: Record<string, any>
      • dbAvailable: boolean
      • Optional errors?: string[]
      • isMigrating: boolean
      • message: string
      • round: number | bigint
      • version: string

    Returns indexerModels.HealthCheck

Properties

attribute_map: Record<string, string>
data?: Record<string, any>
dbAvailable: boolean
errors?: string[]
isMigrating: boolean
message: string
round: number | bigint
version: string

Current version.

Methods

  • Get an object ready for encoding to either JSON or msgpack.

    Parameters

    • binary: boolean = false

      Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.

    Returns Record<string, any>

Generated using TypeDoc