mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
32 lines
1.4 KiB
Markdown
32 lines
1.4 KiB
Markdown
# 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]**](TestAgent.md) | A list of objects with `agentId` (required) and `sourceIpAddress` (optional). |
|
|
|
|
## Example
|
|
|
|
```python
|
|
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)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|