mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
3.6 KiB
3.6 KiB
VoiceTest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| interval | TestInterval | ||
| alerts_enabled | bool | Indicates if alerts are enabled. | [optional] |
| enabled | bool | Test is enabled. | [optional] [default to True] |
| alert_rules | **List[AlertRule]** | Contains list of enabled alert rule objects. | [optional] |
| created_by | str | User that created the test. | [optional] [readonly] |
| created_date | datetime | UTC created date (ISO date-time format). | [optional] [readonly] |
| description | str | A description of the test. | [optional] |
| live_share | bool | Indicates if the test is shared with the account group. | [optional] [readonly] |
| modified_by | str | User that modified the test. | [optional] [readonly] |
| modified_date | datetime | UTC last modification date (ISO date-time format). | [optional] [readonly] |
| saved_event | bool | Indicates if the test is a saved event. | [optional] [readonly] |
| test_id | str | Each test is assigned an unique ID; this is used to access test information and results from other endpoints. | [optional] [readonly] |
| test_name | str | The name of the test. Test name must be unique. | [optional] |
| type | str | [optional] [readonly] | |
| links | UnexpandedInstantTestLinks | [optional] | |
| labels | **List[TestLabelsInner]** | [optional] [readonly] | |
| shared_with_accounts | **List[TestSharedAccountsInner]** | [optional] [readonly] | |
| codec | str | Codec label | [optional] [readonly] |
| codec_id | str | Coded ID, see the list of acceptable values | [optional] |
| dscp | str | DSCP label. | [optional] [readonly] |
| dscp_id | TestDscpId | [optional] | |
| duration | int | Duration of the test in seconds. | [optional] [default to 5] |
| jitter_buffer | int | De-jitter buffer size in seconds. | [optional] [default to 40] |
| num_path_traces | int | Number of path traces executed by the agent. | [optional] [default to 3] |
| port | int | Port number for the chosen protocol. | [optional] |
| target_agent_id | str | Agent ID of the target agent for the test. | |
| agents | **List[Agent]** | Contains list of agents. | [optional] [readonly] |
| bgp_measurements | bool | Set to `true` to enable bgp measurements. | [optional] [default to True] |
| use_public_bgp | bool | Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. | [optional] [default to True] |
| monitors | **List[Monitor]** | Contains list of enabled BGP monitors. | [optional] [readonly] |
Example
from tests.models.voice_test import VoiceTest
# TODO update the JSON string below
json = "{}"
# create an instance of VoiceTest from a JSON string
voice_test_instance = VoiceTest.from_json(json)
# print the JSON string representation of the object
print(VoiceTest.to_json())
# convert the object into a dict
voice_test_dict = voice_test_instance.to_dict()
# create an instance of VoiceTest from a dict
voice_test_from_dict = VoiceTest.from_dict(voice_test_dict)