mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
* [GitHub Bot] Generated python SDK * Updated README --------- Co-authored-by: API Team <api-team@thousandeyes.com> Co-authored-by: Miguel Pragosa <mpragosa@thousandeyes.com>
41 lines
1.8 KiB
Markdown
41 lines
1.8 KiB
Markdown
# Event
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**id** | **str** | A unique ID for each event. | [optional] [readonly]
|
|
**type_name** | **str** | Event type name. Examples include, Local Agent Issue, Network Path Issue, Network Outage, DNS Issue, Server Issue, and Proxy Issue. | [optional] [readonly]
|
|
**state** | [**EventState**](EventState.md) | | [optional]
|
|
**start_date** | **datetime** | The start date and time (in UTC, ISO 8601 format) when the event was first detected. | [optional] [readonly]
|
|
**end_date** | **datetime** | The end date and time (in UTC, ISO 8601 format) when the event was resolved (due to timeout). This value is populated for \"ongoing\" events. | [optional] [readonly]
|
|
**severity** | [**Severity**](Severity.md) | | [optional]
|
|
**title** | **str** | Event title | [optional] [readonly]
|
|
**type** | [**EventType**](EventType.md) | | [optional]
|
|
**affected_tests** | [**AffectedCount**](AffectedCount.md) | | [optional]
|
|
**affected_targets** | [**AffectedCount**](AffectedCount.md) | | [optional]
|
|
**affected_agents** | [**AffectedCount**](AffectedCount.md) | | [optional]
|
|
**links** | [**SelfLinks**](SelfLinks.md) | | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
from thousandeyes_sdk.event_detection.models.event import Event
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of Event from a JSON string
|
|
event_instance = Event.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print(Event.to_json())
|
|
|
|
# convert the object into a dict
|
|
event_dict = event_instance.to_dict()
|
|
# create an instance of Event from a dict
|
|
event_from_dict = Event.from_dict(event_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)
|
|
|
|
|