mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-05 22:16:52 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
* [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.7 KiB
1.7 KiB
ApiAffectedAgent
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| agent_id | str | The ID of the virtual agent. | [optional] [readonly] |
| type | CloudEnterpriseAgentType | [optional] | |
| name | str | The name of the agent as defined in settings. | [optional] [readonly] |
| location | str | The name of the agent's location. | [optional] [readonly] |
| country_code | str | The country code of the agent's location . | [optional] [readonly] |
| affected_target_ids | List[str] | An array of unique target IDs that contributed data points which generated the signal for the event. | [optional] |
| affected_test_ids | List[str] | An array of unique agent IDs that contributed data points which generated the signal for the event. | [optional] |
| links | AgentLinks | [optional] |
Example
from thousandeyes_sdk.event_detection.models.api_affected_agent import ApiAffectedAgent
# TODO update the JSON string below
json = "{}"
# create an instance of ApiAffectedAgent from a JSON string
api_affected_agent_instance = ApiAffectedAgent.from_json(json)
# print the JSON string representation of the object
print(ApiAffectedAgent.to_json())
# convert the object into a dict
api_affected_agent_dict = api_affected_agent_instance.to_dict()
# create an instance of ApiAffectedAgent from a dict
api_affected_agent_from_dict = ApiAffectedAgent.from_dict(api_affected_agent_dict)