mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-08-04 08:56:50 +00:00
2.5 KiB
2.5 KiB
GatewayEventDetail
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 null for "ongoing" (active) events and is populated once the event is resolved. | [optional] [readonly] |
| severity | EventAlertSeverity | [optional] | |
| aid | str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. | [optional] |
| summary | str | A brief summary describing the cause of the event. | [optional] [readonly] |
| agent_type | EventAgentType | [optional] | |
| affected_tests | AffectedTests | [optional] | |
| affected_targets | AffectedTargets | [optional] | |
| affected_agents | AffectedAgents | [optional] | |
| cause | List[str] | The cause of the error. | [optional] |
| links | SelfLinks | [optional] | |
| type | str | Gateway event type. | |
| grouping | GatewayEventGrouping | [optional] |
Example
from thousandeyes_sdk.event_detection.models.gateway_event_detail import GatewayEventDetail
# TODO update the JSON string below
json = "{}"
# create an instance of GatewayEventDetail from a JSON string
gateway_event_detail_instance = GatewayEventDetail.from_json(json)
# print the JSON string representation of the object
print(GatewayEventDetail.to_json())
# convert the object into a dict
gateway_event_detail_dict = gateway_event_detail_instance.to_dict()
# create an instance of GatewayEventDetail from a dict
gateway_event_detail_from_dict = GatewayEventDetail.from_dict(gateway_event_detail_dict)