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>
1.6 KiB
1.6 KiB
SimpleEventDetail
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 | [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 | [optional] |
Example
from thousandeyes_sdk.event_detection.models.simple_event_detail import SimpleEventDetail
# TODO update the JSON string below
json = "{}"
# create an instance of SimpleEventDetail from a JSON string
simple_event_detail_instance = SimpleEventDetail.from_json(json)
# print the JSON string representation of the object
print(SimpleEventDetail.to_json())
# convert the object into a dict
simple_event_detail_dict = simple_event_detail_instance.to_dict()
# create an instance of SimpleEventDetail from a dict
simple_event_detail_from_dict = SimpleEventDetail.from_dict(simple_event_detail_dict)