mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-06-19 23:15:30 +00:00
34 lines
1.3 KiB
Markdown
34 lines
1.3 KiB
Markdown
# LocalProblem
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**agent** | [**LocalProblemAgent**](LocalProblemAgent.md) | |
|
|
**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
|
|
|
|
```python
|
|
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)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|