thousandeyes-sdk-instant-tests 1.3.0__py3-none-any.whl → 2.0.0rc1__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 (122) hide show
  1. thousandeyes_sdk/instant_tests/__init__.py +28 -18
  2. thousandeyes_sdk/instant_tests/api/__init__.py +13 -13
  3. thousandeyes_sdk/instant_tests/api/{agent_to_agent_api.py → agent_to_agent_instant_tests_api.py} +15 -15
  4. thousandeyes_sdk/instant_tests/api/{agent_to_server_api.py → agent_to_server_instant_tests_api.py} +15 -15
  5. thousandeyes_sdk/instant_tests/api/{api_api.py → api_instant_tests_api.py} +15 -15
  6. thousandeyes_sdk/instant_tests/api/{dns_server_api.py → dns_server_instant_tests_api.py} +15 -15
  7. thousandeyes_sdk/instant_tests/api/{dns_trace_api.py → dns_trace_instant_tests_api.py} +15 -15
  8. thousandeyes_sdk/instant_tests/api/{dns_security_api.py → dnssec_instant_tests_api.py} +21 -21
  9. thousandeyes_sdk/instant_tests/api/{ftp_server_api.py → ftp_server_instant_tests_api.py} +31 -31
  10. thousandeyes_sdk/instant_tests/api/{http_page_load_api.py → http_page_load_instant_tests_api.py} +15 -15
  11. thousandeyes_sdk/instant_tests/api/{http_server_api.py → http_server_instant_tests_api.py} +15 -15
  12. thousandeyes_sdk/instant_tests/api/{run_api.py → instant_tests_api.py} +2 -2
  13. thousandeyes_sdk/instant_tests/api/{sip_server_api.py → sip_server_instant_tests_api.py} +9 -9
  14. thousandeyes_sdk/instant_tests/api/{voice_api.py → voice_instant_tests_api.py} +15 -15
  15. thousandeyes_sdk/instant_tests/api/{web_transaction_api.py → web_transaction_instant_tests_api.py} +15 -15
  16. thousandeyes_sdk/instant_tests/models/__init__.py +15 -5
  17. thousandeyes_sdk/instant_tests/models/agent_base.py +1 -1
  18. thousandeyes_sdk/instant_tests/models/agent_interfaces.py +1 -1
  19. thousandeyes_sdk/instant_tests/models/{agent.py → agent_response.py} +5 -5
  20. thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test.py +3 -15
  21. thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_request.py +1 -1
  22. thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_response.py +195 -0
  23. thousandeyes_sdk/instant_tests/models/agent_to_agent_properties.py +1 -1
  24. thousandeyes_sdk/instant_tests/models/agent_to_agent_test_protocol.py +6 -1
  25. thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test.py +3 -15
  26. thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_request.py +1 -1
  27. thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_response.py +200 -0
  28. thousandeyes_sdk/instant_tests/models/agent_to_server_properties.py +1 -1
  29. thousandeyes_sdk/instant_tests/models/api_instant_test.py +8 -14
  30. thousandeyes_sdk/instant_tests/models/api_instant_test_request.py +11 -5
  31. thousandeyes_sdk/instant_tests/models/api_instant_test_response.py +217 -0
  32. thousandeyes_sdk/instant_tests/models/api_predefined_variable.py +1 -1
  33. thousandeyes_sdk/instant_tests/models/api_properties.py +8 -2
  34. thousandeyes_sdk/instant_tests/models/api_request.py +1 -1
  35. thousandeyes_sdk/instant_tests/models/api_request_assertion.py +1 -1
  36. thousandeyes_sdk/instant_tests/models/api_request_assertion_name.py +6 -1
  37. thousandeyes_sdk/instant_tests/models/api_request_assertion_operator.py +6 -1
  38. thousandeyes_sdk/instant_tests/models/api_request_auth_type.py +6 -1
  39. thousandeyes_sdk/instant_tests/models/api_request_header.py +1 -1
  40. thousandeyes_sdk/instant_tests/models/api_request_method.py +6 -1
  41. thousandeyes_sdk/instant_tests/models/api_request_variable.py +1 -1
  42. thousandeyes_sdk/instant_tests/models/cloud_enterprise_agent_type.py +6 -1
  43. thousandeyes_sdk/instant_tests/models/dns_query_class.py +6 -1
  44. thousandeyes_sdk/instant_tests/models/dns_sec_instant_test.py +3 -15
  45. thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_request.py +1 -1
  46. thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_response.py +167 -0
  47. thousandeyes_sdk/instant_tests/models/dns_sec_properties.py +1 -1
  48. thousandeyes_sdk/instant_tests/models/dns_server_instant_test.py +3 -15
  49. thousandeyes_sdk/instant_tests/models/dns_server_instant_test_request.py +1 -1
  50. thousandeyes_sdk/instant_tests/models/{sip_server_instant_test_request1.py → dns_server_instant_test_response.py} +36 -27
  51. thousandeyes_sdk/instant_tests/models/dns_server_properties.py +1 -1
  52. thousandeyes_sdk/instant_tests/models/dns_servers_request.py +1 -1
  53. thousandeyes_sdk/instant_tests/models/dns_trace_instant_test.py +3 -15
  54. thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_request.py +1 -1
  55. thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_response.py +170 -0
  56. thousandeyes_sdk/instant_tests/models/dns_trace_properties.py +1 -1
  57. thousandeyes_sdk/instant_tests/models/error.py +1 -1
  58. thousandeyes_sdk/instant_tests/models/expand_instant_test_options.py +42 -0
  59. thousandeyes_sdk/instant_tests/models/ftp_server_instant_test.py +3 -15
  60. thousandeyes_sdk/instant_tests/models/{server_instant_test_request.py → ftp_server_instant_test_request.py} +5 -5
  61. thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_response.py +204 -0
  62. thousandeyes_sdk/instant_tests/models/ftp_server_properties.py +1 -1
  63. thousandeyes_sdk/instant_tests/models/ftp_server_request_type.py +6 -1
  64. thousandeyes_sdk/instant_tests/models/http_server_base_properties.py +3 -3
  65. thousandeyes_sdk/instant_tests/models/http_server_instant_test.py +5 -17
  66. thousandeyes_sdk/instant_tests/models/http_server_instant_test_request.py +3 -3
  67. thousandeyes_sdk/instant_tests/models/http_server_instant_test_response.py +257 -0
  68. thousandeyes_sdk/instant_tests/models/http_server_properties.py +3 -3
  69. thousandeyes_sdk/instant_tests/models/instant_test.py +1 -1
  70. thousandeyes_sdk/instant_tests/models/instant_test_request.py +1 -1
  71. thousandeyes_sdk/instant_tests/models/link.py +1 -1
  72. thousandeyes_sdk/instant_tests/models/o_auth.py +1 -1
  73. thousandeyes_sdk/instant_tests/models/page_load_instant_test.py +5 -17
  74. thousandeyes_sdk/instant_tests/models/page_load_instant_test_request.py +3 -3
  75. thousandeyes_sdk/instant_tests/models/page_load_instant_test_response.py +269 -0
  76. thousandeyes_sdk/instant_tests/models/page_load_properties.py +3 -3
  77. thousandeyes_sdk/instant_tests/models/request_method.py +6 -1
  78. thousandeyes_sdk/instant_tests/models/shared_with_account.py +1 -1
  79. thousandeyes_sdk/instant_tests/models/simple_agent.py +1 -1
  80. thousandeyes_sdk/instant_tests/models/sip_server_instant_test.py +3 -15
  81. thousandeyes_sdk/instant_tests/models/sip_server_instant_test_request.py +1 -1
  82. thousandeyes_sdk/instant_tests/models/sip_server_instant_test_response.py +6 -8
  83. thousandeyes_sdk/instant_tests/models/sip_server_properties.py +1 -1
  84. thousandeyes_sdk/instant_tests/models/sip_test_protocol.py +6 -1
  85. thousandeyes_sdk/instant_tests/models/test_agent.py +1 -1
  86. thousandeyes_sdk/instant_tests/models/test_auth_type.py +6 -1
  87. thousandeyes_sdk/instant_tests/models/test_custom_headers.py +1 -1
  88. thousandeyes_sdk/instant_tests/models/test_direction.py +6 -1
  89. thousandeyes_sdk/instant_tests/models/test_dns_server.py +1 -1
  90. thousandeyes_sdk/instant_tests/models/test_dns_transport_protocol.py +6 -1
  91. thousandeyes_sdk/instant_tests/models/test_dscp_id.py +6 -1
  92. thousandeyes_sdk/instant_tests/models/test_ipv6_policy.py +6 -1
  93. thousandeyes_sdk/instant_tests/models/test_label.py +1 -1
  94. thousandeyes_sdk/instant_tests/models/test_links.py +1 -1
  95. thousandeyes_sdk/instant_tests/models/test_page_loading_strategy.py +6 -1
  96. thousandeyes_sdk/instant_tests/models/test_path_trace_mode.py +6 -1
  97. thousandeyes_sdk/instant_tests/models/test_probe_mode.py +6 -1
  98. thousandeyes_sdk/instant_tests/models/test_protocol.py +6 -1
  99. thousandeyes_sdk/instant_tests/models/test_self_link.py +1 -1
  100. thousandeyes_sdk/instant_tests/models/test_sip_credentials.py +1 -1
  101. thousandeyes_sdk/instant_tests/models/test_ssl_version_id.py +6 -1
  102. thousandeyes_sdk/instant_tests/models/test_type.py +6 -1
  103. thousandeyes_sdk/instant_tests/models/unauthorized_error.py +1 -1
  104. thousandeyes_sdk/instant_tests/models/unexpanded_instant_test.py +1 -1
  105. thousandeyes_sdk/instant_tests/models/validation_error.py +1 -1
  106. thousandeyes_sdk/instant_tests/models/validation_error_item.py +1 -1
  107. thousandeyes_sdk/instant_tests/models/voice_instant_test.py +3 -15
  108. thousandeyes_sdk/instant_tests/models/voice_instant_test_request.py +1 -1
  109. thousandeyes_sdk/instant_tests/models/voice_instant_test_response.py +186 -0
  110. thousandeyes_sdk/instant_tests/models/voice_properties.py +1 -1
  111. thousandeyes_sdk/instant_tests/models/web_transaction_instant_test.py +4 -16
  112. thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_request.py +7 -7
  113. thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_response.py +273 -0
  114. thousandeyes_sdk/instant_tests/models/web_transaction_properties.py +3 -3
  115. {thousandeyes_sdk_instant_tests-1.3.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info}/METADATA +36 -26
  116. thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info/RECORD +121 -0
  117. {thousandeyes_sdk_instant_tests-1.3.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info}/WHEEL +1 -1
  118. thousandeyes_sdk/instant_tests/models/expand.py +0 -37
  119. thousandeyes_sdk_instant_tests-1.3.0.dist-info/RECORD +0 -111
  120. {thousandeyes_sdk_instant_tests-1.3.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info}/LICENSE +0 -0
  121. {thousandeyes_sdk_instant_tests-1.3.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info}/NOTICE +0 -0
  122. {thousandeyes_sdk_instant_tests-1.3.0.dist-info → thousandeyes_sdk_instant_tests-2.0.0rc1.dist-info}/top_level.txt +0 -0
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Instant Tests API
5
5
 
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.
6
+ The Instant Tests API operations 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
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
9
9
 
@@ -21,16 +21,16 @@ import thousandeyes_sdk.instant_tests.models
21
21
  from pydantic import Field, StrictStr
22
22
  from typing import List, Optional
23
23
  from typing_extensions import Annotated
24
- from thousandeyes_sdk.instant_tests.models.dns_server_instant_test import DnsServerInstantTest
25
24
  from thousandeyes_sdk.instant_tests.models.dns_server_instant_test_request import DnsServerInstantTestRequest
26
- from thousandeyes_sdk.instant_tests.models.expand import Expand
25
+ from thousandeyes_sdk.instant_tests.models.dns_server_instant_test_response import DnsServerInstantTestResponse
26
+ from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
27
27
 
28
28
  from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
29
29
  from thousandeyes_sdk.core.api_response import ApiResponse
30
30
  from thousandeyes_sdk.core.rest import RESTResponseType
31
31
 
32
32
 
33
- class DNSServerApi:
33
+ class DNSServerInstantTestsApi:
34
34
  """NOTE: This class is auto generated by OpenAPI Generator
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -49,7 +49,7 @@ class DNSServerApi:
49
49
  self,
50
50
  dns_server_instant_test_request: DnsServerInstantTestRequest,
51
51
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
52
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
52
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
53
53
  _request_timeout: Union[
54
54
  None,
55
55
  Annotated[StrictFloat, Field(gt=0)],
@@ -62,7 +62,7 @@ class DNSServerApi:
62
62
  _content_type: Optional[StrictStr] = None,
63
63
  _headers: Optional[Dict[StrictStr, Any]] = None,
64
64
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
65
- ) -> DnsServerInstantTest:
65
+ ) -> DnsServerInstantTestResponse:
66
66
  """Create DNS server instant test
67
67
 
68
68
  Creates and runs a new DNS server instant test.
@@ -72,7 +72,7 @@ class DNSServerApi:
72
72
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
73
73
  :type aid: str
74
74
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
75
- :type expand: List[Expand]
75
+ :type expand: List[ExpandInstantTestOptions]
76
76
  :param _request_timeout: timeout setting for this request. If one
77
77
  number provided, it will be total request
78
78
  timeout. It can also be a pair (tuple) of
@@ -106,7 +106,7 @@ class DNSServerApi:
106
106
  )
107
107
 
108
108
  _response_types_map: Dict[str, Optional[str]] = {
109
- '201': "DnsServerInstantTest",
109
+ '201': "DnsServerInstantTestResponse",
110
110
  '400': "ValidationError",
111
111
  '401': "UnauthorizedError",
112
112
  '403': "Error",
@@ -132,7 +132,7 @@ class DNSServerApi:
132
132
  self,
133
133
  dns_server_instant_test_request: DnsServerInstantTestRequest,
134
134
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
135
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
135
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
136
136
  _request_timeout: Union[
137
137
  None,
138
138
  Annotated[StrictFloat, Field(gt=0)],
@@ -145,7 +145,7 @@ class DNSServerApi:
145
145
  _content_type: Optional[StrictStr] = None,
146
146
  _headers: Optional[Dict[StrictStr, Any]] = None,
147
147
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
148
- ) -> ApiResponse[DnsServerInstantTest]:
148
+ ) -> ApiResponse[DnsServerInstantTestResponse]:
149
149
  """Create DNS server instant test
150
150
 
151
151
  Creates and runs a new DNS server instant test.
@@ -155,7 +155,7 @@ class DNSServerApi:
155
155
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
156
156
  :type aid: str
157
157
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
158
- :type expand: List[Expand]
158
+ :type expand: List[ExpandInstantTestOptions]
159
159
  :param _request_timeout: timeout setting for this request. If one
160
160
  number provided, it will be total request
161
161
  timeout. It can also be a pair (tuple) of
@@ -189,7 +189,7 @@ class DNSServerApi:
189
189
  )
190
190
 
191
191
  _response_types_map: Dict[str, Optional[str]] = {
192
- '201': "DnsServerInstantTest",
192
+ '201': "DnsServerInstantTestResponse",
193
193
  '400': "ValidationError",
194
194
  '401': "UnauthorizedError",
195
195
  '403': "Error",
@@ -215,7 +215,7 @@ class DNSServerApi:
215
215
  self,
216
216
  dns_server_instant_test_request: DnsServerInstantTestRequest,
217
217
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
218
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
218
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
219
219
  _request_timeout: Union[
220
220
  None,
221
221
  Annotated[StrictFloat, Field(gt=0)],
@@ -238,7 +238,7 @@ class DNSServerApi:
238
238
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
239
239
  :type aid: str
240
240
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
241
- :type expand: List[Expand]
241
+ :type expand: List[ExpandInstantTestOptions]
242
242
  :param _request_timeout: timeout setting for this request. If one
243
243
  number provided, it will be total request
244
244
  timeout. It can also be a pair (tuple) of
@@ -272,7 +272,7 @@ class DNSServerApi:
272
272
  )
273
273
 
274
274
  _response_types_map: Dict[str, Optional[str]] = {
275
- '201': "DnsServerInstantTest",
275
+ '201': "DnsServerInstantTestResponse",
276
276
  '400': "ValidationError",
277
277
  '401': "UnauthorizedError",
278
278
  '403': "Error",
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Instant Tests API
5
5
 
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.
6
+ The Instant Tests API operations 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
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
9
9
 
@@ -21,16 +21,16 @@ import thousandeyes_sdk.instant_tests.models
21
21
  from pydantic import Field, StrictStr
22
22
  from typing import List, Optional
23
23
  from typing_extensions import Annotated
24
- from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test import DnsTraceInstantTest
25
24
  from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test_request import DnsTraceInstantTestRequest
26
- from thousandeyes_sdk.instant_tests.models.expand import Expand
25
+ from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test_response import DnsTraceInstantTestResponse
26
+ from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
27
27
 
28
28
  from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
29
29
  from thousandeyes_sdk.core.api_response import ApiResponse
30
30
  from thousandeyes_sdk.core.rest import RESTResponseType
31
31
 
32
32
 
33
- class DNSTraceApi:
33
+ class DNSTraceInstantTestsApi:
34
34
  """NOTE: This class is auto generated by OpenAPI Generator
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -49,7 +49,7 @@ class DNSTraceApi:
49
49
  self,
50
50
  dns_trace_instant_test_request: DnsTraceInstantTestRequest,
51
51
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
52
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
52
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
53
53
  _request_timeout: Union[
54
54
  None,
55
55
  Annotated[StrictFloat, Field(gt=0)],
@@ -62,7 +62,7 @@ class DNSTraceApi:
62
62
  _content_type: Optional[StrictStr] = None,
63
63
  _headers: Optional[Dict[StrictStr, Any]] = None,
64
64
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
65
- ) -> DnsTraceInstantTest:
65
+ ) -> DnsTraceInstantTestResponse:
66
66
  """Create DNS trace instant test
67
67
 
68
68
  Creates and runs a new DNS trace instant test.
@@ -72,7 +72,7 @@ class DNSTraceApi:
72
72
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
73
73
  :type aid: str
74
74
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
75
- :type expand: List[Expand]
75
+ :type expand: List[ExpandInstantTestOptions]
76
76
  :param _request_timeout: timeout setting for this request. If one
77
77
  number provided, it will be total request
78
78
  timeout. It can also be a pair (tuple) of
@@ -106,7 +106,7 @@ class DNSTraceApi:
106
106
  )
107
107
 
108
108
  _response_types_map: Dict[str, Optional[str]] = {
109
- '201': "DnsTraceInstantTest",
109
+ '201': "DnsTraceInstantTestResponse",
110
110
  '400': "ValidationError",
111
111
  '401': "UnauthorizedError",
112
112
  '403': "Error",
@@ -132,7 +132,7 @@ class DNSTraceApi:
132
132
  self,
133
133
  dns_trace_instant_test_request: DnsTraceInstantTestRequest,
134
134
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
135
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
135
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
136
136
  _request_timeout: Union[
137
137
  None,
138
138
  Annotated[StrictFloat, Field(gt=0)],
@@ -145,7 +145,7 @@ class DNSTraceApi:
145
145
  _content_type: Optional[StrictStr] = None,
146
146
  _headers: Optional[Dict[StrictStr, Any]] = None,
147
147
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
148
- ) -> ApiResponse[DnsTraceInstantTest]:
148
+ ) -> ApiResponse[DnsTraceInstantTestResponse]:
149
149
  """Create DNS trace instant test
150
150
 
151
151
  Creates and runs a new DNS trace instant test.
@@ -155,7 +155,7 @@ class DNSTraceApi:
155
155
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
156
156
  :type aid: str
157
157
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
158
- :type expand: List[Expand]
158
+ :type expand: List[ExpandInstantTestOptions]
159
159
  :param _request_timeout: timeout setting for this request. If one
160
160
  number provided, it will be total request
161
161
  timeout. It can also be a pair (tuple) of
@@ -189,7 +189,7 @@ class DNSTraceApi:
189
189
  )
190
190
 
191
191
  _response_types_map: Dict[str, Optional[str]] = {
192
- '201': "DnsTraceInstantTest",
192
+ '201': "DnsTraceInstantTestResponse",
193
193
  '400': "ValidationError",
194
194
  '401': "UnauthorizedError",
195
195
  '403': "Error",
@@ -215,7 +215,7 @@ class DNSTraceApi:
215
215
  self,
216
216
  dns_trace_instant_test_request: DnsTraceInstantTestRequest,
217
217
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
218
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
218
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
219
219
  _request_timeout: Union[
220
220
  None,
221
221
  Annotated[StrictFloat, Field(gt=0)],
@@ -238,7 +238,7 @@ class DNSTraceApi:
238
238
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
239
239
  :type aid: str
240
240
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
241
- :type expand: List[Expand]
241
+ :type expand: List[ExpandInstantTestOptions]
242
242
  :param _request_timeout: timeout setting for this request. If one
243
243
  number provided, it will be total request
244
244
  timeout. It can also be a pair (tuple) of
@@ -272,7 +272,7 @@ class DNSTraceApi:
272
272
  )
273
273
 
274
274
  _response_types_map: Dict[str, Optional[str]] = {
275
- '201': "DnsTraceInstantTest",
275
+ '201': "DnsTraceInstantTestResponse",
276
276
  '400': "ValidationError",
277
277
  '401': "UnauthorizedError",
278
278
  '403': "Error",
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Instant Tests API
5
5
 
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.
6
+ The Instant Tests API operations 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
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
9
9
 
@@ -21,16 +21,16 @@ import thousandeyes_sdk.instant_tests.models
21
21
  from pydantic import Field, StrictStr
22
22
  from typing import List, Optional
23
23
  from typing_extensions import Annotated
24
- from thousandeyes_sdk.instant_tests.models.dns_sec_instant_test import DnsSecInstantTest
25
24
  from thousandeyes_sdk.instant_tests.models.dns_sec_instant_test_request import DnsSecInstantTestRequest
26
- from thousandeyes_sdk.instant_tests.models.expand import Expand
25
+ from thousandeyes_sdk.instant_tests.models.dns_sec_instant_test_response import DnsSecInstantTestResponse
26
+ from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
27
27
 
28
28
  from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
29
29
  from thousandeyes_sdk.core.api_response import ApiResponse
30
30
  from thousandeyes_sdk.core.rest import RESTResponseType
31
31
 
32
32
 
33
- class DNSSecurityApi:
33
+ class DNSSECInstantTestsApi:
34
34
  """NOTE: This class is auto generated by OpenAPI Generator
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -49,7 +49,7 @@ class DNSSecurityApi:
49
49
  self,
50
50
  dns_sec_instant_test_request: DnsSecInstantTestRequest,
51
51
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
52
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
52
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
53
53
  _request_timeout: Union[
54
54
  None,
55
55
  Annotated[StrictFloat, Field(gt=0)],
@@ -62,17 +62,17 @@ class DNSSecurityApi:
62
62
  _content_type: Optional[StrictStr] = None,
63
63
  _headers: Optional[Dict[StrictStr, Any]] = None,
64
64
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
65
- ) -> DnsSecInstantTest:
66
- """Create DNS security instant test
65
+ ) -> DnsSecInstantTestResponse:
66
+ """Create DNSSEC instant test
67
67
 
68
- Creates and runs a new DNS security instant test.
68
+ Creates and runs a new DNSSEC instant test.
69
69
 
70
70
  :param dns_sec_instant_test_request: (required)
71
71
  :type dns_sec_instant_test_request: DnsSecInstantTestRequest
72
72
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
73
73
  :type aid: str
74
74
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
75
- :type expand: List[Expand]
75
+ :type expand: List[ExpandInstantTestOptions]
76
76
  :param _request_timeout: timeout setting for this request. If one
77
77
  number provided, it will be total request
78
78
  timeout. It can also be a pair (tuple) of
@@ -106,7 +106,7 @@ class DNSSecurityApi:
106
106
  )
107
107
 
108
108
  _response_types_map: Dict[str, Optional[str]] = {
109
- '201': "DnsSecInstantTest",
109
+ '201': "DnsSecInstantTestResponse",
110
110
  '400': "ValidationError",
111
111
  '401': "UnauthorizedError",
112
112
  '403': "Error",
@@ -132,7 +132,7 @@ class DNSSecurityApi:
132
132
  self,
133
133
  dns_sec_instant_test_request: DnsSecInstantTestRequest,
134
134
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
135
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
135
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
136
136
  _request_timeout: Union[
137
137
  None,
138
138
  Annotated[StrictFloat, Field(gt=0)],
@@ -145,17 +145,17 @@ class DNSSecurityApi:
145
145
  _content_type: Optional[StrictStr] = None,
146
146
  _headers: Optional[Dict[StrictStr, Any]] = None,
147
147
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
148
- ) -> ApiResponse[DnsSecInstantTest]:
149
- """Create DNS security instant test
148
+ ) -> ApiResponse[DnsSecInstantTestResponse]:
149
+ """Create DNSSEC instant test
150
150
 
151
- Creates and runs a new DNS security instant test.
151
+ Creates and runs a new DNSSEC instant test.
152
152
 
153
153
  :param dns_sec_instant_test_request: (required)
154
154
  :type dns_sec_instant_test_request: DnsSecInstantTestRequest
155
155
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
156
156
  :type aid: str
157
157
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
158
- :type expand: List[Expand]
158
+ :type expand: List[ExpandInstantTestOptions]
159
159
  :param _request_timeout: timeout setting for this request. If one
160
160
  number provided, it will be total request
161
161
  timeout. It can also be a pair (tuple) of
@@ -189,7 +189,7 @@ class DNSSecurityApi:
189
189
  )
190
190
 
191
191
  _response_types_map: Dict[str, Optional[str]] = {
192
- '201': "DnsSecInstantTest",
192
+ '201': "DnsSecInstantTestResponse",
193
193
  '400': "ValidationError",
194
194
  '401': "UnauthorizedError",
195
195
  '403': "Error",
@@ -215,7 +215,7 @@ class DNSSecurityApi:
215
215
  self,
216
216
  dns_sec_instant_test_request: DnsSecInstantTestRequest,
217
217
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
218
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
218
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
219
219
  _request_timeout: Union[
220
220
  None,
221
221
  Annotated[StrictFloat, Field(gt=0)],
@@ -229,16 +229,16 @@ class DNSSecurityApi:
229
229
  _headers: Optional[Dict[StrictStr, Any]] = None,
230
230
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
231
231
  ) -> RESTResponseType:
232
- """Create DNS security instant test
232
+ """Create DNSSEC instant test
233
233
 
234
- Creates and runs a new DNS security instant test.
234
+ Creates and runs a new DNSSEC instant test.
235
235
 
236
236
  :param dns_sec_instant_test_request: (required)
237
237
  :type dns_sec_instant_test_request: DnsSecInstantTestRequest
238
238
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
239
239
  :type aid: str
240
240
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
241
- :type expand: List[Expand]
241
+ :type expand: List[ExpandInstantTestOptions]
242
242
  :param _request_timeout: timeout setting for this request. If one
243
243
  number provided, it will be total request
244
244
  timeout. It can also be a pair (tuple) of
@@ -272,7 +272,7 @@ class DNSSecurityApi:
272
272
  )
273
273
 
274
274
  _response_types_map: Dict[str, Optional[str]] = {
275
- '201': "DnsSecInstantTest",
275
+ '201': "DnsSecInstantTestResponse",
276
276
  '400': "ValidationError",
277
277
  '401': "UnauthorizedError",
278
278
  '403': "Error",
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Instant Tests API
5
5
 
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.
6
+ The Instant Tests API operations 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
8
  Generated by OpenAPI Generator (https://openapi-generator.tech)
9
9
 
@@ -21,16 +21,16 @@ import thousandeyes_sdk.instant_tests.models
21
21
  from pydantic import Field, StrictStr
22
22
  from typing import List, Optional
23
23
  from typing_extensions import Annotated
24
- from thousandeyes_sdk.instant_tests.models.expand import Expand
25
- from thousandeyes_sdk.instant_tests.models.ftp_server_instant_test import FtpServerInstantTest
26
- from thousandeyes_sdk.instant_tests.models.server_instant_test_request import ServerInstantTestRequest
24
+ from thousandeyes_sdk.instant_tests.models.expand_instant_test_options import ExpandInstantTestOptions
25
+ from thousandeyes_sdk.instant_tests.models.ftp_server_instant_test_request import FtpServerInstantTestRequest
26
+ from thousandeyes_sdk.instant_tests.models.ftp_server_instant_test_response import FtpServerInstantTestResponse
27
27
 
28
28
  from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
29
29
  from thousandeyes_sdk.core.api_response import ApiResponse
30
30
  from thousandeyes_sdk.core.rest import RESTResponseType
31
31
 
32
32
 
33
- class FTPServerApi:
33
+ class FTPServerInstantTestsApi:
34
34
  """NOTE: This class is auto generated by OpenAPI Generator
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -47,9 +47,9 @@ class FTPServerApi:
47
47
  @validate_call
48
48
  def create_ftp_server_instant_test(
49
49
  self,
50
- server_instant_test_request: ServerInstantTestRequest,
50
+ ftp_server_instant_test_request: FtpServerInstantTestRequest,
51
51
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
52
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
52
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
53
53
  _request_timeout: Union[
54
54
  None,
55
55
  Annotated[StrictFloat, Field(gt=0)],
@@ -62,17 +62,17 @@ class FTPServerApi:
62
62
  _content_type: Optional[StrictStr] = None,
63
63
  _headers: Optional[Dict[StrictStr, Any]] = None,
64
64
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
65
- ) -> FtpServerInstantTest:
65
+ ) -> FtpServerInstantTestResponse:
66
66
  """Create FTP server instant test
67
67
 
68
68
  Creates and runs a new FTP server instant test.
69
69
 
70
- :param server_instant_test_request: (required)
71
- :type server_instant_test_request: ServerInstantTestRequest
70
+ :param ftp_server_instant_test_request: (required)
71
+ :type ftp_server_instant_test_request: FtpServerInstantTestRequest
72
72
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
73
73
  :type aid: str
74
74
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
75
- :type expand: List[Expand]
75
+ :type expand: List[ExpandInstantTestOptions]
76
76
  :param _request_timeout: timeout setting for this request. If one
77
77
  number provided, it will be total request
78
78
  timeout. It can also be a pair (tuple) of
@@ -96,7 +96,7 @@ class FTPServerApi:
96
96
  """ # noqa: E501
97
97
 
98
98
  _param = self._create_ftp_server_instant_test_serialize(
99
- server_instant_test_request=server_instant_test_request,
99
+ ftp_server_instant_test_request=ftp_server_instant_test_request,
100
100
  aid=aid,
101
101
  expand=expand,
102
102
  _request_auth=_request_auth,
@@ -106,7 +106,7 @@ class FTPServerApi:
106
106
  )
107
107
 
108
108
  _response_types_map: Dict[str, Optional[str]] = {
109
- '201': "FtpServerInstantTest",
109
+ '201': "FtpServerInstantTestResponse",
110
110
  '400': "ValidationError",
111
111
  '401': "UnauthorizedError",
112
112
  '403': "Error",
@@ -130,9 +130,9 @@ class FTPServerApi:
130
130
  @validate_call
131
131
  def create_ftp_server_instant_test_with_http_info(
132
132
  self,
133
- server_instant_test_request: ServerInstantTestRequest,
133
+ ftp_server_instant_test_request: FtpServerInstantTestRequest,
134
134
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
135
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
135
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
136
136
  _request_timeout: Union[
137
137
  None,
138
138
  Annotated[StrictFloat, Field(gt=0)],
@@ -145,17 +145,17 @@ class FTPServerApi:
145
145
  _content_type: Optional[StrictStr] = None,
146
146
  _headers: Optional[Dict[StrictStr, Any]] = None,
147
147
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
148
- ) -> ApiResponse[FtpServerInstantTest]:
148
+ ) -> ApiResponse[FtpServerInstantTestResponse]:
149
149
  """Create FTP server instant test
150
150
 
151
151
  Creates and runs a new FTP server instant test.
152
152
 
153
- :param server_instant_test_request: (required)
154
- :type server_instant_test_request: ServerInstantTestRequest
153
+ :param ftp_server_instant_test_request: (required)
154
+ :type ftp_server_instant_test_request: FtpServerInstantTestRequest
155
155
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
156
156
  :type aid: str
157
157
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
158
- :type expand: List[Expand]
158
+ :type expand: List[ExpandInstantTestOptions]
159
159
  :param _request_timeout: timeout setting for this request. If one
160
160
  number provided, it will be total request
161
161
  timeout. It can also be a pair (tuple) of
@@ -179,7 +179,7 @@ class FTPServerApi:
179
179
  """ # noqa: E501
180
180
 
181
181
  _param = self._create_ftp_server_instant_test_serialize(
182
- server_instant_test_request=server_instant_test_request,
182
+ ftp_server_instant_test_request=ftp_server_instant_test_request,
183
183
  aid=aid,
184
184
  expand=expand,
185
185
  _request_auth=_request_auth,
@@ -189,7 +189,7 @@ class FTPServerApi:
189
189
  )
190
190
 
191
191
  _response_types_map: Dict[str, Optional[str]] = {
192
- '201': "FtpServerInstantTest",
192
+ '201': "FtpServerInstantTestResponse",
193
193
  '400': "ValidationError",
194
194
  '401': "UnauthorizedError",
195
195
  '403': "Error",
@@ -213,9 +213,9 @@ class FTPServerApi:
213
213
  @validate_call
214
214
  def create_ftp_server_instant_test_without_preload_content(
215
215
  self,
216
- server_instant_test_request: ServerInstantTestRequest,
216
+ ftp_server_instant_test_request: FtpServerInstantTestRequest,
217
217
  aid: Annotated[Optional[StrictStr], Field(description="A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.")] = None,
218
- expand: Annotated[Optional[List[Expand]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
218
+ expand: Annotated[Optional[List[ExpandInstantTestOptions]], Field(description="(Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.")] = None,
219
219
  _request_timeout: Union[
220
220
  None,
221
221
  Annotated[StrictFloat, Field(gt=0)],
@@ -233,12 +233,12 @@ class FTPServerApi:
233
233
 
234
234
  Creates and runs a new FTP server instant test.
235
235
 
236
- :param server_instant_test_request: (required)
237
- :type server_instant_test_request: ServerInstantTestRequest
236
+ :param ftp_server_instant_test_request: (required)
237
+ :type ftp_server_instant_test_request: FtpServerInstantTestRequest
238
238
  :param aid: A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.
239
239
  :type aid: str
240
240
  :param expand: (Optional) Indicates if the test sub-resources should be expanded. Defaults to no expansion. To expand the `agents` sub-resource, use the query `?expand=agent`.
241
- :type expand: List[Expand]
241
+ :type expand: List[ExpandInstantTestOptions]
242
242
  :param _request_timeout: timeout setting for this request. If one
243
243
  number provided, it will be total request
244
244
  timeout. It can also be a pair (tuple) of
@@ -262,7 +262,7 @@ class FTPServerApi:
262
262
  """ # noqa: E501
263
263
 
264
264
  _param = self._create_ftp_server_instant_test_serialize(
265
- server_instant_test_request=server_instant_test_request,
265
+ ftp_server_instant_test_request=ftp_server_instant_test_request,
266
266
  aid=aid,
267
267
  expand=expand,
268
268
  _request_auth=_request_auth,
@@ -272,7 +272,7 @@ class FTPServerApi:
272
272
  )
273
273
 
274
274
  _response_types_map: Dict[str, Optional[str]] = {
275
- '201': "FtpServerInstantTest",
275
+ '201': "FtpServerInstantTestResponse",
276
276
  '400': "ValidationError",
277
277
  '401': "UnauthorizedError",
278
278
  '403': "Error",
@@ -290,7 +290,7 @@ class FTPServerApi:
290
290
 
291
291
  def _create_ftp_server_instant_test_serialize(
292
292
  self,
293
- server_instant_test_request,
293
+ ftp_server_instant_test_request,
294
294
  aid,
295
295
  expand,
296
296
  _request_auth,
@@ -325,8 +325,8 @@ class FTPServerApi:
325
325
  # process the header parameters
326
326
  # process the form parameters
327
327
  # process the body parameter
328
- if server_instant_test_request is not None:
329
- _body_params = server_instant_test_request
328
+ if ftp_server_instant_test_request is not None:
329
+ _body_params = ftp_server_instant_test_request
330
330
 
331
331
 
332
332
  # set the HTTP header `Accept`