thousandeyes-sdk-python/thousandeyes-sdk-instant-tests/docs/InstantTestRequest.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.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)

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