mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
936 B
936 B
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] |
Example
from test_results_api.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_form_dict = agent.from_dict(agent_dict)