Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.61 KB

File metadata and controls

47 lines (38 loc) · 1.61 KB

Monitor

Properties

Name Type Description Notes
id int [optional]
project_id int [optional]
name str [optional]
type str [optional]
target str [optional]
port int [optional]
settings MonitorSettings [optional]
ping_servers_ids List[int] [optional]
is_ok int [optional]
uptime float [optional]
downtime float [optional]
average_response_time int [optional]
total_checks int [optional]
total_ok_checks int [optional]
total_not_ok_checks int [optional]
last_check_datetime datetime [optional]
notifications MonitorNotifications [optional]
is_enabled bool [optional]
datetime datetime [optional]

Example

from openapi_client.models.monitor import Monitor

# TODO update the JSON string below
json = "{}"
# create an instance of Monitor from a JSON string
monitor_instance = Monitor.from_json(json)
# print the JSON string representation of the object
print(Monitor.to_json())

# convert the object into a dict
monitor_dict = monitor_instance.to_dict()
# create an instance of Monitor from a dict
monitor_from_dict = Monitor.from_dict(monitor_dict)

[Back to Model list] [Back to API list] [Back to README]