MarketData SDK

ServiceStatus
in package

Represents the status of a service.

Table of Contents

Properties

$service  : string
$status  : string
$updated  : Carbon
$uptime_percentage_30d  : float
$uptime_percentage_90d  : float

Methods

__construct()  : mixed
ServiceStatus constructor.

Properties

Methods

__construct()

ServiceStatus constructor.

public __construct(string $service, string $status, float $uptime_percentage_30d, float $uptime_percentage_90d, Carbon $updated) : mixed
Parameters
$service : string

The service being monitored.

$status : string

The current status of each service (online or offline).

$uptime_percentage_30d : float

The uptime percentage of each service over the last 30 days.

$uptime_percentage_90d : float

The uptime percentage of each service over the last 90 days.

$updated : Carbon

The timestamp of the last update for each service's status.


        
On this page

Search results