thousandeyes-sdk-python/thousandeyes-sdk-test-results/docs/Agent.md
Jack Browne 92b9a0126c
CP-2126 Refactor HTTP client into shared package (#5)
* CP-2126 Refactor HTTP client into shared package

* CP-2126 Regenerate Python SDK
2024-05-23 11:57:23 +01:00

1.0 KiB

Agent

Properties

Name Type Description Notes
agent_id str Unique agent ID [optional] [readonly]
agent_name str Agent name [optional] [readonly]
country_id str 2-digit ISO country code [optional] [readonly]
location str Location of the agent. [optional] [readonly]

Example

from thousandeyes_sdk.test_results.models.agent import Agent

# TODO update the JSON string below
json = "{}"
# create an instance of Agent from a JSON string
agent_instance = Agent.from_json(json)
# print the JSON string representation of the object
print(Agent.to_json())

# convert the object into a dict
agent_dict = agent_instance.to_dict()
# create an instance of Agent from a dict
agent_from_dict = Agent.from_dict(agent_dict)

[Back to Model list] [Back to API list] [Back to README]