talkomatic.py 0.1.2
An easy-to-use Python versatile wrapper for the Talkomatic Bot interface ensuring best practices for making bots, and handling the REST API.
 
Loading...
Searching...
No Matches
talkomatic.api.v1.health.ServerHealth Class Reference

Public Member Functions

"ServerHealth" get (cls)
 

Static Public Attributes

float uptime | None
 
float since_timestamp | None
 
str server_version | None
 

Detailed Description

A class representing the Talkomatic server uptime.

Args:
    status (bool): Whether the server is up.
    uptime (float): The uptime of the server.
    since_timestamp (float): The timestamp of when the server was last restarted.
    server_version (str): The version of the server.

Definition at line 9 of file health.py.

Member Function Documentation

◆ get()

"ServerHealth" talkomatic.api.v1.health.ServerHealth.get ( cls)

Definition at line 26 of file health.py.

Member Data Documentation

◆ server_version

str talkomatic.api.v1.health.ServerHealth.server_version | None
static

Definition at line 23 of file health.py.

◆ since_timestamp

float talkomatic.api.v1.health.ServerHealth.since_timestamp | None
static

Definition at line 22 of file health.py.

◆ uptime

float talkomatic.api.v1.health.ServerHealth.uptime | None
static

Definition at line 21 of file health.py.


The documentation for this class was generated from the following file: