mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-05 23:45:30 +00:00
1.4 KiB
1.4 KiB
InstantTestRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| labels | List[str] | A list of test label identifiers (get `labelId` from `/labels` endpoint). | [optional] |
| shared_with_accounts | List[str] | A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint). | [optional] |
| agents | **List[TestAgent]** | A list of objects with `agentId` (required) and `sourceIpAddress` (optional). |
Example
from thousandeyes_sdk.instant_tests.models.instant_test_request import InstantTestRequest
# TODO update the JSON string below
json = "{}"
# create an instance of InstantTestRequest from a JSON string
instant_test_request_instance = InstantTestRequest.from_json(json)
# print the JSON string representation of the object
print(InstantTestRequest.to_json())
# convert the object into a dict
instant_test_request_dict = instant_test_request_instance.to_dict()
# create an instance of InstantTestRequest from a dict
instant_test_request_from_dict = InstantTestRequest.from_dict(instant_test_request_dict)