mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-06-19 17:36:51 +00:00
1.3 KiB
1.3 KiB
LocalProblem
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| agent | LocalProblemAgent | ||
| start_date | datetime | Date and time when the local problem interval started, in UTC. | [readonly] |
| end_date | datetime | Date and time when the local problem interval ended, in UTC. This value is `null` when the local problem is active. | [optional] [readonly] |
| duration | int | Duration of the local problem interval in seconds. | [readonly] |
| active | bool | Indicates whether the local problem is active. | [readonly] |
Example
from thousandeyes_sdk.agents.models.local_problem import LocalProblem
# TODO update the JSON string below
json = "{}"
# create an instance of LocalProblem from a JSON string
local_problem_instance = LocalProblem.from_json(json)
# print the JSON string representation of the object
print(LocalProblem.to_json())
# convert the object into a dict
local_problem_dict = local_problem_instance.to_dict()
# create an instance of LocalProblem from a dict
local_problem_from_dict = LocalProblem.from_dict(local_problem_dict)