mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 22:36:52 +00:00
1.2 KiB
1.2 KiB
TestAgentRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| agent_id | str | The agent ID. Get `agentId` from `/agents` endpoint. | |
| source_ip_address | str | The IP address from the `ipAddresses` field in agent details, used for interface selection. Get `ipAddresses` from the `/agents` endpoint. | [optional] |
Example
from thousandeyes_sdk.tests.models.test_agent_request import TestAgentRequest
# TODO update the JSON string below
json = "{}"
# create an instance of TestAgentRequest from a JSON string
test_agent_request_instance = TestAgentRequest.from_json(json)
# print the JSON string representation of the object
print(TestAgentRequest.to_json())
# convert the object into a dict
test_agent_request_dict = test_agent_request_instance.to_dict()
# create an instance of TestAgentRequest from a dict
test_agent_request_from_dict = TestAgentRequest.from_dict(test_agent_request_dict)