mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
1.1 KiB
1.1 KiB
TestAgent
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| agent_id | str | Identifier for the agent (get `agentId` from `/agents` endpoint). | [optional] |
| source_ip_address | str | IP address from the agent's `ipAddresses` field (get `ipAddresses` from `/agents` endpoint). Used for interface selection. | [optional] |
Example
from thousandeyes_sdk.instant_tests.models.test_agent import TestAgent
# TODO update the JSON string below
json = "{}"
# create an instance of TestAgent from a JSON string
test_agent_instance = TestAgent.from_json(json)
# print the JSON string representation of the object
print(TestAgent.to_json())
# convert the object into a dict
test_agent_dict = test_agent_instance.to_dict()
# create an instance of TestAgent from a dict
test_agent_from_dict = TestAgent.from_dict(test_agent_dict)