mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-03-22 01:25:29 +00:00
2.5 KiB
2.5 KiB
EndpointTest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| links | EndpointTestLinks | [optional] | |
| agent_selector_config | EndpointAgentSelectorConfig | [optional] | |
| created_date | datetime | UTC created date (ISO date-time format). | [optional] [readonly] |
| interval | TestInterval | [optional] | |
| is_enabled | bool | Indicates if test is enabled. | [optional] [readonly] [default to True] |
| is_saved_event | bool | Indicates if the test is a saved event. | [optional] [readonly] |
| has_path_trace_in_session | bool | Enables "in session" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session. | [optional] |
| modified_date | datetime | UTC last modification date (ISO date-time format). | [optional] [readonly] |
| network_measurements | bool | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] |
| port | int | Port number, if not specified, the port is selected based on a protocol (HTTP 80, HTTPS 443). | [optional] |
| protocol | EndpointTestProtocol | [optional] | |
| server | str | Target domain name or IP address. | [optional] |
| test_id | str | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] |
| aid | EndpointTestAid | [optional] | |
| test_name | str | Name of the test. | [optional] |
| type | EndpointScheduledTestType | [optional] |
Example
from instant_tests_api.models.endpoint_test import EndpointTest
# TODO update the JSON string below
json = "{}"
# create an instance of EndpointTest from a JSON string
endpoint_test_instance = EndpointTest.from_json(json)
# print the JSON string representation of the object
print EndpointTest.to_json()
# convert the object into a dict
endpoint_test_dict = endpoint_test_instance.to_dict()
# create an instance of EndpointTest from a dict
endpoint_test_form_dict = endpoint_test.from_dict(endpoint_test_dict)