thousandeyes-sdk-instant-tests 1.0.0__py3-none-any.whl → 1.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. thousandeyes_sdk/instant_tests/__init__.py +4 -1
  2. thousandeyes_sdk/instant_tests/api/agent_to_agent_api.py +0 -1
  3. thousandeyes_sdk/instant_tests/api/agent_to_server_api.py +0 -1
  4. thousandeyes_sdk/instant_tests/api/api_api.py +0 -1
  5. thousandeyes_sdk/instant_tests/api/dns_security_api.py +0 -1
  6. thousandeyes_sdk/instant_tests/api/dns_server_api.py +0 -1
  7. thousandeyes_sdk/instant_tests/api/dns_trace_api.py +0 -1
  8. thousandeyes_sdk/instant_tests/api/ftp_server_api.py +0 -1
  9. thousandeyes_sdk/instant_tests/api/http_page_load_api.py +0 -1
  10. thousandeyes_sdk/instant_tests/api/http_server_api.py +0 -1
  11. thousandeyes_sdk/instant_tests/api/run_api.py +0 -1
  12. thousandeyes_sdk/instant_tests/api/sip_server_api.py +0 -1
  13. thousandeyes_sdk/instant_tests/api/voice_api.py +0 -1
  14. thousandeyes_sdk/instant_tests/api/web_transaction_api.py +0 -1
  15. thousandeyes_sdk/instant_tests/models/__init__.py +4 -1
  16. thousandeyes_sdk/instant_tests/models/agent.py +0 -1
  17. thousandeyes_sdk/instant_tests/models/agent_base.py +0 -1
  18. thousandeyes_sdk/instant_tests/models/agent_interfaces.py +89 -0
  19. thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test.py +0 -1
  20. thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_request.py +0 -1
  21. thousandeyes_sdk/instant_tests/models/agent_to_agent_properties.py +0 -1
  22. thousandeyes_sdk/instant_tests/models/agent_to_agent_test_protocol.py +0 -1
  23. thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test.py +0 -1
  24. thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_request.py +0 -1
  25. thousandeyes_sdk/instant_tests/models/agent_to_server_properties.py +0 -1
  26. thousandeyes_sdk/instant_tests/models/api_instant_test.py +0 -1
  27. thousandeyes_sdk/instant_tests/models/api_instant_test_request.py +0 -1
  28. thousandeyes_sdk/instant_tests/models/api_predefined_variable.py +0 -1
  29. thousandeyes_sdk/instant_tests/models/api_properties.py +0 -1
  30. thousandeyes_sdk/instant_tests/models/api_request.py +0 -1
  31. thousandeyes_sdk/instant_tests/models/api_request_assertion.py +0 -1
  32. thousandeyes_sdk/instant_tests/models/api_request_assertion_name.py +0 -1
  33. thousandeyes_sdk/instant_tests/models/api_request_assertion_operator.py +0 -1
  34. thousandeyes_sdk/instant_tests/models/api_request_auth_type.py +0 -1
  35. thousandeyes_sdk/instant_tests/models/api_request_header.py +0 -1
  36. thousandeyes_sdk/instant_tests/models/api_request_method.py +0 -1
  37. thousandeyes_sdk/instant_tests/models/api_request_variable.py +0 -1
  38. thousandeyes_sdk/instant_tests/models/cloud_enterprise_agent_type.py +0 -1
  39. thousandeyes_sdk/instant_tests/models/dns_query_class.py +0 -1
  40. thousandeyes_sdk/instant_tests/models/dns_sec_instant_test.py +0 -1
  41. thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_request.py +0 -1
  42. thousandeyes_sdk/instant_tests/models/dns_sec_properties.py +0 -1
  43. thousandeyes_sdk/instant_tests/models/dns_server_instant_test.py +0 -1
  44. thousandeyes_sdk/instant_tests/models/dns_server_instant_test_request.py +0 -1
  45. thousandeyes_sdk/instant_tests/models/dns_server_properties.py +0 -1
  46. thousandeyes_sdk/instant_tests/models/dns_servers_request.py +0 -1
  47. thousandeyes_sdk/instant_tests/models/dns_trace_instant_test.py +0 -1
  48. thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_request.py +0 -1
  49. thousandeyes_sdk/instant_tests/models/dns_trace_properties.py +0 -1
  50. thousandeyes_sdk/instant_tests/models/error.py +0 -1
  51. thousandeyes_sdk/instant_tests/models/expand.py +0 -1
  52. thousandeyes_sdk/instant_tests/models/ftp_server_instant_test.py +0 -1
  53. thousandeyes_sdk/instant_tests/models/ftp_server_properties.py +0 -1
  54. thousandeyes_sdk/instant_tests/models/ftp_server_request_type.py +0 -1
  55. thousandeyes_sdk/instant_tests/models/http_server_base_properties.py +173 -0
  56. thousandeyes_sdk/instant_tests/models/http_server_instant_test.py +21 -8
  57. thousandeyes_sdk/instant_tests/models/http_server_instant_test_request.py +21 -8
  58. thousandeyes_sdk/instant_tests/models/http_server_properties.py +21 -8
  59. thousandeyes_sdk/instant_tests/models/instant_test.py +0 -1
  60. thousandeyes_sdk/instant_tests/models/instant_test_request.py +0 -1
  61. thousandeyes_sdk/instant_tests/models/link.py +0 -1
  62. thousandeyes_sdk/instant_tests/models/o_auth.py +103 -0
  63. thousandeyes_sdk/instant_tests/models/page_load_instant_test.py +35 -18
  64. thousandeyes_sdk/instant_tests/models/page_load_instant_test_request.py +35 -18
  65. thousandeyes_sdk/instant_tests/models/page_load_properties.py +36 -19
  66. thousandeyes_sdk/instant_tests/models/request_method.py +41 -0
  67. thousandeyes_sdk/instant_tests/models/server_instant_test_request.py +0 -1
  68. thousandeyes_sdk/instant_tests/models/shared_with_account.py +0 -1
  69. thousandeyes_sdk/instant_tests/models/simple_agent.py +0 -1
  70. thousandeyes_sdk/instant_tests/models/sip_server_instant_test.py +0 -1
  71. thousandeyes_sdk/instant_tests/models/sip_server_instant_test_request.py +0 -1
  72. thousandeyes_sdk/instant_tests/models/sip_server_instant_test_request1.py +0 -1
  73. thousandeyes_sdk/instant_tests/models/sip_server_instant_test_response.py +0 -1
  74. thousandeyes_sdk/instant_tests/models/sip_server_properties.py +0 -1
  75. thousandeyes_sdk/instant_tests/models/sip_test_protocol.py +0 -1
  76. thousandeyes_sdk/instant_tests/models/test_agent.py +0 -1
  77. thousandeyes_sdk/instant_tests/models/test_auth_type.py +0 -1
  78. thousandeyes_sdk/instant_tests/models/test_custom_headers.py +0 -1
  79. thousandeyes_sdk/instant_tests/models/test_direction.py +0 -1
  80. thousandeyes_sdk/instant_tests/models/test_dns_server.py +0 -1
  81. thousandeyes_sdk/instant_tests/models/test_dns_transport_protocol.py +0 -1
  82. thousandeyes_sdk/instant_tests/models/test_dscp_id.py +0 -1
  83. thousandeyes_sdk/instant_tests/models/test_ipv6_policy.py +0 -1
  84. thousandeyes_sdk/instant_tests/models/test_label.py +0 -1
  85. thousandeyes_sdk/instant_tests/models/test_links.py +0 -1
  86. thousandeyes_sdk/instant_tests/models/test_page_loading_strategy.py +0 -1
  87. thousandeyes_sdk/instant_tests/models/test_path_trace_mode.py +0 -1
  88. thousandeyes_sdk/instant_tests/models/test_probe_mode.py +0 -1
  89. thousandeyes_sdk/instant_tests/models/test_protocol.py +0 -1
  90. thousandeyes_sdk/instant_tests/models/test_self_link.py +0 -1
  91. thousandeyes_sdk/instant_tests/models/test_sip_credentials.py +0 -1
  92. thousandeyes_sdk/instant_tests/models/test_ssl_version_id.py +0 -1
  93. thousandeyes_sdk/instant_tests/models/test_type.py +0 -1
  94. thousandeyes_sdk/instant_tests/models/unauthorized_error.py +0 -1
  95. thousandeyes_sdk/instant_tests/models/unexpanded_instant_test.py +0 -1
  96. thousandeyes_sdk/instant_tests/models/validation_error.py +0 -1
  97. thousandeyes_sdk/instant_tests/models/validation_error_item.py +0 -1
  98. thousandeyes_sdk/instant_tests/models/voice_instant_test.py +0 -1
  99. thousandeyes_sdk/instant_tests/models/voice_instant_test_request.py +0 -1
  100. thousandeyes_sdk/instant_tests/models/voice_properties.py +0 -1
  101. thousandeyes_sdk/instant_tests/models/web_transaction_instant_test.py +37 -20
  102. thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_request.py +37 -20
  103. thousandeyes_sdk/instant_tests/models/web_transaction_properties.py +38 -21
  104. {thousandeyes_sdk_instant_tests-1.0.0.dist-info → thousandeyes_sdk_instant_tests-1.2.0.dist-info}/METADATA +6 -2
  105. thousandeyes_sdk_instant_tests-1.2.0.dist-info/RECORD +111 -0
  106. {thousandeyes_sdk_instant_tests-1.0.0.dist-info → thousandeyes_sdk_instant_tests-1.2.0.dist-info}/WHEEL +1 -1
  107. thousandeyes_sdk_instant_tests-1.0.0.dist-info/RECORD +0 -107
  108. {thousandeyes_sdk_instant_tests-1.0.0.dist-info → thousandeyes_sdk_instant_tests-1.2.0.dist-info}/LICENSE +0 -0
  109. {thousandeyes_sdk_instant_tests-1.0.0.dist-info → thousandeyes_sdk_instant_tests-1.2.0.dist-info}/NOTICE +0 -0
  110. {thousandeyes_sdk_instant_tests-1.0.0.dist-info → thousandeyes_sdk_instant_tests-1.2.0.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -5,7 +5,6 @@
5
5
 
6
6
  The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test.
7
7
 
8
- The version of the OpenAPI document: 7.0.8
9
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
9
 
11
10
  Do not edit the class manually.
@@ -18,10 +17,12 @@ import re # noqa: F401
18
17
  import json
19
18
 
20
19
  from datetime import datetime
21
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
22
21
  from typing import Any, ClassVar, Dict, List, Optional
23
22
  from typing_extensions import Annotated
24
23
  from thousandeyes_sdk.instant_tests.models.agent import Agent
24
+ from thousandeyes_sdk.instant_tests.models.agent_interfaces import AgentInterfaces
25
+ from thousandeyes_sdk.instant_tests.models.o_auth import OAuth
25
26
  from thousandeyes_sdk.instant_tests.models.shared_with_account import SharedWithAccount
26
27
  from thousandeyes_sdk.instant_tests.models.test_auth_type import TestAuthType
27
28
  from thousandeyes_sdk.instant_tests.models.test_custom_headers import TestCustomHeaders
@@ -53,13 +54,14 @@ class WebTransactionInstantTest(BaseModel):
53
54
  labels: Optional[List[TestLabel]] = None
54
55
  shared_with_accounts: Optional[List[SharedWithAccount]] = Field(default=None, alias="sharedWithAccounts")
55
56
  auth_type: Optional[TestAuthType] = Field(default=None, alias="authType")
57
+ agent_interfaces: Optional[AgentInterfaces] = Field(default=None, alias="agentInterfaces")
56
58
  bandwidth_measurements: Optional[StrictBool] = Field(default=None, description="Set to `true` to enable bandwidth measurements, only applies to Enterprise agents assigned to the test.", alias="bandwidthMeasurements")
57
59
  client_certificate: Optional[StrictStr] = Field(default=None, description="String representation (containing newline characters) of client certificate, the private key must be placed first, then the certificate.", alias="clientCertificate")
58
- content_regex: Optional[StrictStr] = Field(default=None, description="Verify content using a regular expression. This field does not require escaping.", alias="contentRegex")
60
+ content_regex: Optional[StrictStr] = Field(default=None, description="Content regex, this field does not require escaping.", alias="contentRegex")
59
61
  custom_headers: Optional[TestCustomHeaders] = Field(default=None, alias="customHeaders")
60
62
  desired_status_code: Optional[StrictStr] = Field(default='200', description="Specify the HTTP status code value that indicates a successful response.", alias="desiredStatusCode")
61
- emulated_device_id: Optional[StrictStr] = Field(default=None, description="id of the emulated device, if one was given when the test was created", alias="emulatedDeviceId")
62
- follow_redirects: Optional[StrictBool] = Field(default=True, description="To disable following HTTP/301 or HTTP/302 redirect directives, set this parameter to `false`.", alias="followRedirects")
63
+ download_limit: Optional[StrictInt] = Field(default=None, description="Specifies maximum number of bytes to download from the target object.", alias="downloadLimit")
64
+ dns_override: Optional[StrictStr] = Field(default=None, description="IP address to use for DNS override.", alias="dnsOverride")
63
65
  http_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for HTTP server completion, specified in milliseconds.", alias="httpTargetTime")
64
66
  http_time_limit: Optional[Annotated[int, Field(le=60, strict=True, ge=5)]] = Field(default=5, description="HTTP time limit in seconds.", alias="httpTimeLimit")
65
67
  http_version: Optional[Annotated[int, Field(le=2, strict=True, ge=1)]] = Field(default=2, description="HTTP protocol version. Set to '2' to prefer HTTP/2, or '1' to use only HTTP/1.1.", alias="httpVersion")
@@ -67,33 +69,37 @@ class WebTransactionInstantTest(BaseModel):
67
69
  mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
68
70
  network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements")
69
71
  num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
72
+ o_auth: Optional[OAuth] = Field(default=None, alias="oAuth")
70
73
  password: Optional[StrictStr] = Field(default=None, description="Password for Basic/NTLM authentication.")
71
74
  path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
72
75
  probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
73
76
  protocol: Optional[TestProtocol] = None
74
77
  ssl_version: Optional[StrictStr] = Field(default=None, description="Reflects the verbose SSL protocol version used by a test.", alias="sslVersion")
75
78
  ssl_version_id: Optional[TestSslVersionId] = Field(default=None, alias="sslVersionId")
76
- target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime")
77
- time_limit: Optional[Annotated[int, Field(le=180, strict=True, ge=5)]] = Field(default=30, description="Time limit for transaction in seconds.", alias="timeLimit")
78
- transaction_script: StrictStr = Field(description="JavaScript of a web transaction test. Quotes must be escaped (precede \" characters with \\ ).", alias="transactionScript")
79
79
  url: StrictStr = Field(description="Target for the test.")
80
80
  use_ntlm: Optional[StrictBool] = Field(default=None, description="Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set.", alias="useNtlm")
81
81
  user_agent: Optional[StrictStr] = Field(default=None, description="User-agent string to be provided during the test.", alias="userAgent")
82
82
  username: Optional[StrictStr] = Field(default=None, description="Username for Basic/NTLM authentication.")
83
83
  verify_certificate: Optional[StrictBool] = Field(default=False, description="Ignore or acknowledge certificate errors. Set to false to ignore certificate errors.", alias="verifyCertificate")
84
84
  allow_unsafe_legacy_renegotiation: Optional[StrictBool] = Field(default=True, description="Allows TLS renegotiation with servers not supporting RFC 5746. Default Set to true to allow unsafe legacy renegotiation.", alias="allowUnsafeLegacyRenegotiation")
85
+ follow_redirects: Optional[StrictBool] = Field(default=True, description="To disable following HTTP/301 or HTTP/302 redirect directives, set this parameter to `false`.", alias="followRedirects")
86
+ fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate")
87
+ override_agent_proxy: Optional[StrictBool] = Field(default=False, description="Flag indicating if a proxy other than the default should be used. To override the default proxy for agents, set to `true` and specify a value for `overrideProxyId`.", alias="overrideAgentProxy")
88
+ override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId")
89
+ collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData")
90
+ emulated_device_id: Optional[StrictStr] = Field(default=None, description="ID of the emulated device, if specified when the test was created.", alias="emulatedDeviceId")
91
+ target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target completion time. The default is 50% of the specified time limit in seconds. (Set to 0 to use the default behavior).", alias="targetTime")
92
+ time_limit: Optional[Annotated[int, Field(le=180, strict=True, ge=5)]] = Field(default=30, description="Time limit for transaction in seconds.", alias="timeLimit")
93
+ transaction_script: StrictStr = Field(description="JavaScript of a web transaction test. Quotes must be escaped (precede \" characters with \\ ).", alias="transactionScript")
85
94
  block_domains: Optional[StrictStr] = Field(default=None, description="Domains or full object URLs to be excluded from metrics and waterfall data for transaction tests.", alias="blockDomains")
86
95
  disable_screenshot: Optional[StrictBool] = Field(default=False, description="Enables or disables screenshots on error. Set true to not capture", alias="disableScreenshot")
87
96
  allow_mic_and_camera: Optional[StrictBool] = Field(default=False, description="Set true allow the use of a fake mic and camera in the browser.", alias="allowMicAndCamera")
88
97
  allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation")
89
98
  browser_language: Optional[StrictStr] = Field(default=None, description="Set one of the available browser language that you want to use to configure the browser.", alias="browserLanguage")
90
99
  page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy")
91
- fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Sets packets rate sent to measure the network in packets per second.", alias="fixedPacketRate")
92
- override_agent_proxy: Optional[StrictBool] = Field(default=False, description="Flag indicating if a proxy other than the default should be used. To override the default proxy for agents, set to `true` and specify a value for `overrideProxyId`.", alias="overrideAgentProxy")
93
- override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId")
94
100
  agents: Optional[List[Agent]] = Field(default=None, description="Contains list of agents.")
95
101
  credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).")
96
- __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "emulatedDeviceId", "followRedirects", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "targetTime", "timeLimit", "transactionScript", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "agents", "credentials"]
102
+ __properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "authType", "agentInterfaces", "bandwidthMeasurements", "clientCertificate", "contentRegex", "customHeaders", "desiredStatusCode", "downloadLimit", "dnsOverride", "httpTargetTime", "httpTimeLimit", "httpVersion", "includeHeaders", "mtuMeasurements", "networkMeasurements", "numPathTraces", "oAuth", "password", "pathTraceMode", "probeMode", "protocol", "sslVersion", "sslVersionId", "url", "useNtlm", "userAgent", "username", "verifyCertificate", "allowUnsafeLegacyRenegotiation", "followRedirects", "fixedPacketRate", "overrideAgentProxy", "overrideProxyId", "collectProxyNetworkData", "emulatedDeviceId", "targetTime", "timeLimit", "transactionScript", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "agents", "credentials"]
97
103
 
98
104
  model_config = ConfigDict(
99
105
  populate_by_name=True,
@@ -176,9 +182,15 @@ class WebTransactionInstantTest(BaseModel):
176
182
  if _item:
177
183
  _items.append(_item.to_dict())
178
184
  _dict['sharedWithAccounts'] = _items
185
+ # override the default output from pydantic by calling `to_dict()` of agent_interfaces
186
+ if self.agent_interfaces:
187
+ _dict['agentInterfaces'] = self.agent_interfaces.to_dict()
179
188
  # override the default output from pydantic by calling `to_dict()` of custom_headers
180
189
  if self.custom_headers:
181
190
  _dict['customHeaders'] = self.custom_headers.to_dict()
191
+ # override the default output from pydantic by calling `to_dict()` of o_auth
192
+ if self.o_auth:
193
+ _dict['oAuth'] = self.o_auth.to_dict()
182
194
  # override the default output from pydantic by calling `to_dict()` of each item in agents (list)
183
195
  _items = []
184
196
  if self.agents:
@@ -212,13 +224,14 @@ class WebTransactionInstantTest(BaseModel):
212
224
  "labels": [TestLabel.from_dict(_item) for _item in obj["labels"]] if obj.get("labels") is not None else None,
213
225
  "sharedWithAccounts": [SharedWithAccount.from_dict(_item) for _item in obj["sharedWithAccounts"]] if obj.get("sharedWithAccounts") is not None else None,
214
226
  "authType": obj.get("authType"),
227
+ "agentInterfaces": AgentInterfaces.from_dict(obj["agentInterfaces"]) if obj.get("agentInterfaces") is not None else None,
215
228
  "bandwidthMeasurements": obj.get("bandwidthMeasurements"),
216
229
  "clientCertificate": obj.get("clientCertificate"),
217
230
  "contentRegex": obj.get("contentRegex"),
218
231
  "customHeaders": TestCustomHeaders.from_dict(obj["customHeaders"]) if obj.get("customHeaders") is not None else None,
219
232
  "desiredStatusCode": obj.get("desiredStatusCode") if obj.get("desiredStatusCode") is not None else '200',
220
- "emulatedDeviceId": obj.get("emulatedDeviceId"),
221
- "followRedirects": obj.get("followRedirects") if obj.get("followRedirects") is not None else True,
233
+ "downloadLimit": obj.get("downloadLimit"),
234
+ "dnsOverride": obj.get("dnsOverride"),
222
235
  "httpTargetTime": obj.get("httpTargetTime"),
223
236
  "httpTimeLimit": obj.get("httpTimeLimit") if obj.get("httpTimeLimit") is not None else 5,
224
237
  "httpVersion": obj.get("httpVersion") if obj.get("httpVersion") is not None else 2,
@@ -226,30 +239,34 @@ class WebTransactionInstantTest(BaseModel):
226
239
  "mtuMeasurements": obj.get("mtuMeasurements"),
227
240
  "networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True,
228
241
  "numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
242
+ "oAuth": OAuth.from_dict(obj["oAuth"]) if obj.get("oAuth") is not None else None,
229
243
  "password": obj.get("password"),
230
244
  "pathTraceMode": obj.get("pathTraceMode"),
231
245
  "probeMode": obj.get("probeMode"),
232
246
  "protocol": obj.get("protocol"),
233
247
  "sslVersion": obj.get("sslVersion"),
234
248
  "sslVersionId": obj.get("sslVersionId"),
235
- "targetTime": obj.get("targetTime"),
236
- "timeLimit": obj.get("timeLimit") if obj.get("timeLimit") is not None else 30,
237
- "transactionScript": obj.get("transactionScript"),
238
249
  "url": obj.get("url"),
239
250
  "useNtlm": obj.get("useNtlm"),
240
251
  "userAgent": obj.get("userAgent"),
241
252
  "username": obj.get("username"),
242
253
  "verifyCertificate": obj.get("verifyCertificate") if obj.get("verifyCertificate") is not None else False,
243
254
  "allowUnsafeLegacyRenegotiation": obj.get("allowUnsafeLegacyRenegotiation") if obj.get("allowUnsafeLegacyRenegotiation") is not None else True,
255
+ "followRedirects": obj.get("followRedirects") if obj.get("followRedirects") is not None else True,
256
+ "fixedPacketRate": obj.get("fixedPacketRate"),
257
+ "overrideAgentProxy": obj.get("overrideAgentProxy") if obj.get("overrideAgentProxy") is not None else False,
258
+ "overrideProxyId": obj.get("overrideProxyId"),
259
+ "collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False,
260
+ "emulatedDeviceId": obj.get("emulatedDeviceId"),
261
+ "targetTime": obj.get("targetTime"),
262
+ "timeLimit": obj.get("timeLimit") if obj.get("timeLimit") is not None else 30,
263
+ "transactionScript": obj.get("transactionScript"),
244
264
  "blockDomains": obj.get("blockDomains"),
245
265
  "disableScreenshot": obj.get("disableScreenshot") if obj.get("disableScreenshot") is not None else False,
246
266
  "allowMicAndCamera": obj.get("allowMicAndCamera") if obj.get("allowMicAndCamera") is not None else False,
247
267
  "allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False,
248
268
  "browserLanguage": obj.get("browserLanguage"),
249
269
  "pageLoadingStrategy": obj.get("pageLoadingStrategy"),
250
- "fixedPacketRate": obj.get("fixedPacketRate"),
251
- "overrideAgentProxy": obj.get("overrideAgentProxy") if obj.get("overrideAgentProxy") is not None else False,
252
- "overrideProxyId": obj.get("overrideProxyId"),
253
270
  "agents": [Agent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None,
254
271
  "credentials": obj.get("credentials")
255
272
  })