thousandeyes-sdk-instant-tests 2.1.0__py3-none-any.whl → 2.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.
- thousandeyes_sdk/instant_tests/__init__.py +1 -0
- thousandeyes_sdk/instant_tests/models/__init__.py +1 -0
- thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test.py +3 -1
- thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/agent_to_agent_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/agent_to_agent_properties.py +3 -1
- thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test.py +3 -1
- thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/agent_to_server_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/agent_to_server_properties.py +3 -1
- thousandeyes_sdk/instant_tests/models/api_client_authentication.py +41 -0
- thousandeyes_sdk/instant_tests/models/api_instant_test.py +3 -1
- thousandeyes_sdk/instant_tests/models/api_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/api_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/api_properties.py +3 -1
- thousandeyes_sdk/instant_tests/models/api_request.py +12 -1
- thousandeyes_sdk/instant_tests/models/api_request_auth_type.py +1 -0
- thousandeyes_sdk/instant_tests/models/dns_sec_instant_test.py +4 -2
- thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/dns_sec_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/dns_sec_properties.py +4 -2
- thousandeyes_sdk/instant_tests/models/dns_server_instant_test.py +3 -1
- thousandeyes_sdk/instant_tests/models/dns_server_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/dns_server_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/dns_server_properties.py +3 -1
- thousandeyes_sdk/instant_tests/models/dns_trace_instant_test.py +4 -2
- thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/dns_trace_properties.py +4 -2
- thousandeyes_sdk/instant_tests/models/ftp_server_instant_test.py +3 -1
- thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/ftp_server_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/ftp_server_properties.py +3 -1
- thousandeyes_sdk/instant_tests/models/http_server_instant_test.py +3 -1
- thousandeyes_sdk/instant_tests/models/http_server_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/http_server_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/http_server_properties.py +3 -1
- thousandeyes_sdk/instant_tests/models/page_load_instant_test.py +4 -2
- thousandeyes_sdk/instant_tests/models/page_load_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/page_load_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/page_load_properties.py +3 -1
- thousandeyes_sdk/instant_tests/models/sip_server_instant_test.py +3 -1
- thousandeyes_sdk/instant_tests/models/sip_server_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/sip_server_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/sip_server_properties.py +3 -1
- thousandeyes_sdk/instant_tests/models/voice_instant_test.py +3 -1
- thousandeyes_sdk/instant_tests/models/voice_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/voice_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/voice_properties.py +4 -2
- thousandeyes_sdk/instant_tests/models/web_transaction_instant_test.py +3 -1
- thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_request.py +3 -1
- thousandeyes_sdk/instant_tests/models/web_transaction_instant_test_response.py +3 -1
- thousandeyes_sdk/instant_tests/models/web_transaction_properties.py +3 -1
- {thousandeyes_sdk_instant_tests-2.1.0.dist-info → thousandeyes_sdk_instant_tests-2.2.0.dist-info}/METADATA +17 -16
- {thousandeyes_sdk_instant_tests-2.1.0.dist-info → thousandeyes_sdk_instant_tests-2.2.0.dist-info}/RECORD +59 -58
- {thousandeyes_sdk_instant_tests-2.1.0.dist-info → thousandeyes_sdk_instant_tests-2.2.0.dist-info}/WHEEL +1 -1
- {thousandeyes_sdk_instant_tests-2.1.0.dist-info → thousandeyes_sdk_instant_tests-2.2.0.dist-info}/LICENSE +0 -0
- {thousandeyes_sdk_instant_tests-2.1.0.dist-info → thousandeyes_sdk_instant_tests-2.2.0.dist-info}/NOTICE +0 -0
- {thousandeyes_sdk_instant_tests-2.1.0.dist-info → thousandeyes_sdk_instant_tests-2.2.0.dist-info}/top_level.txt +0 -0
@@ -58,12 +58,13 @@ class DnsServerInstantTestRequest(BaseModel):
|
|
58
58
|
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
59
59
|
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
60
60
|
protocol: Optional[TestProtocol] = None
|
61
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
61
62
|
recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries")
|
62
63
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
63
64
|
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")
|
64
65
|
dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass")
|
65
66
|
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
|
66
|
-
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "agents"]
|
67
|
+
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "agents"]
|
67
68
|
|
68
69
|
model_config = ConfigDict(
|
69
70
|
populate_by_name=True,
|
@@ -166,6 +167,7 @@ class DnsServerInstantTestRequest(BaseModel):
|
|
166
167
|
"pathTraceMode": obj.get("pathTraceMode"),
|
167
168
|
"probeMode": obj.get("probeMode"),
|
168
169
|
"protocol": obj.get("protocol"),
|
170
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
169
171
|
"recursiveQueries": obj.get("recursiveQueries"),
|
170
172
|
"ipv6Policy": obj.get("ipv6Policy"),
|
171
173
|
"fixedPacketRate": obj.get("fixedPacketRate"),
|
@@ -61,12 +61,13 @@ class DnsServerInstantTestResponse(BaseModel):
|
|
61
61
|
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
62
62
|
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
63
63
|
protocol: Optional[TestProtocol] = None
|
64
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
64
65
|
recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries")
|
65
66
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
66
67
|
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")
|
67
68
|
dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass")
|
68
69
|
agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.")
|
69
|
-
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "agents"]
|
70
|
+
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "agents"]
|
70
71
|
|
71
72
|
model_config = ConfigDict(
|
72
73
|
populate_by_name=True,
|
@@ -194,6 +195,7 @@ class DnsServerInstantTestResponse(BaseModel):
|
|
194
195
|
"pathTraceMode": obj.get("pathTraceMode"),
|
195
196
|
"probeMode": obj.get("probeMode"),
|
196
197
|
"protocol": obj.get("protocol"),
|
198
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
197
199
|
"recursiveQueries": obj.get("recursiveQueries"),
|
198
200
|
"ipv6Policy": obj.get("ipv6Policy"),
|
199
201
|
"fixedPacketRate": obj.get("fixedPacketRate"),
|
@@ -43,12 +43,13 @@ class DnsServerProperties(BaseModel):
|
|
43
43
|
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
44
44
|
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
45
45
|
protocol: Optional[TestProtocol] = None
|
46
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
46
47
|
recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries")
|
47
48
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
48
49
|
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")
|
49
50
|
dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass")
|
50
51
|
type: Optional[StrictStr] = None
|
51
|
-
__properties: ClassVar[List[str]] = ["bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "type"]
|
52
|
+
__properties: ClassVar[List[str]] = ["bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "type"]
|
52
53
|
|
53
54
|
model_config = ConfigDict(
|
54
55
|
populate_by_name=True,
|
@@ -121,6 +122,7 @@ class DnsServerProperties(BaseModel):
|
|
121
122
|
"pathTraceMode": obj.get("pathTraceMode"),
|
122
123
|
"probeMode": obj.get("probeMode"),
|
123
124
|
"protocol": obj.get("protocol"),
|
125
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
124
126
|
"recursiveQueries": obj.get("recursiveQueries"),
|
125
127
|
"ipv6Policy": obj.get("ipv6Policy"),
|
126
128
|
"fixedPacketRate": obj.get("fixedPacketRate"),
|
@@ -47,7 +47,8 @@ class DnsTraceInstantTest(BaseModel):
|
|
47
47
|
dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol")
|
48
48
|
domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.")
|
49
49
|
dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass")
|
50
|
-
|
50
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
51
|
+
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime"]
|
51
52
|
|
52
53
|
model_config = ConfigDict(
|
53
54
|
populate_by_name=True,
|
@@ -153,7 +154,8 @@ class DnsTraceInstantTest(BaseModel):
|
|
153
154
|
"sharedWithAccounts": [SharedWithAccount.from_dict(_item) for _item in obj["sharedWithAccounts"]] if obj.get("sharedWithAccounts") is not None else None,
|
154
155
|
"dnsTransportProtocol": obj.get("dnsTransportProtocol"),
|
155
156
|
"domain": obj.get("domain"),
|
156
|
-
"dnsQueryClass": obj.get("dnsQueryClass")
|
157
|
+
"dnsQueryClass": obj.get("dnsQueryClass"),
|
158
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False
|
157
159
|
})
|
158
160
|
return _obj
|
159
161
|
|
@@ -46,8 +46,9 @@ class DnsTraceInstantTestRequest(BaseModel):
|
|
46
46
|
dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol")
|
47
47
|
domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.")
|
48
48
|
dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass")
|
49
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
49
50
|
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
|
50
|
-
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "agents"]
|
51
|
+
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime", "agents"]
|
51
52
|
|
52
53
|
model_config = ConfigDict(
|
53
54
|
populate_by_name=True,
|
@@ -143,6 +144,7 @@ class DnsTraceInstantTestRequest(BaseModel):
|
|
143
144
|
"dnsTransportProtocol": obj.get("dnsTransportProtocol"),
|
144
145
|
"domain": obj.get("domain"),
|
145
146
|
"dnsQueryClass": obj.get("dnsQueryClass"),
|
147
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
146
148
|
"agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
|
147
149
|
})
|
148
150
|
return _obj
|
@@ -48,8 +48,9 @@ class DnsTraceInstantTestResponse(BaseModel):
|
|
48
48
|
dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol")
|
49
49
|
domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.")
|
50
50
|
dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass")
|
51
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
51
52
|
agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.")
|
52
|
-
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "agents"]
|
53
|
+
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime", "agents"]
|
53
54
|
|
54
55
|
model_config = ConfigDict(
|
55
56
|
populate_by_name=True,
|
@@ -163,6 +164,7 @@ class DnsTraceInstantTestResponse(BaseModel):
|
|
163
164
|
"dnsTransportProtocol": obj.get("dnsTransportProtocol"),
|
164
165
|
"domain": obj.get("domain"),
|
165
166
|
"dnsQueryClass": obj.get("dnsQueryClass"),
|
167
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
166
168
|
"agents": [AgentResponse.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
|
167
169
|
})
|
168
170
|
return _obj
|
@@ -16,7 +16,7 @@ import pprint
|
|
16
16
|
import re # noqa: F401
|
17
17
|
import json
|
18
18
|
|
19
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
19
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
20
20
|
from typing import Any, ClassVar, Dict, List, Optional
|
21
21
|
from thousandeyes_sdk.instant_tests.models.dns_query_class import DnsQueryClass
|
22
22
|
from thousandeyes_sdk.instant_tests.models.test_dns_transport_protocol import TestDnsTransportProtocol
|
@@ -30,8 +30,9 @@ class DnsTraceProperties(BaseModel):
|
|
30
30
|
dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol")
|
31
31
|
domain: StrictStr = Field(description="The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.")
|
32
32
|
dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass")
|
33
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
33
34
|
type: Optional[StrictStr] = None
|
34
|
-
__properties: ClassVar[List[str]] = ["dnsTransportProtocol", "domain", "dnsQueryClass", "type"]
|
35
|
+
__properties: ClassVar[List[str]] = ["dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime", "type"]
|
35
36
|
|
36
37
|
model_config = ConfigDict(
|
37
38
|
populate_by_name=True,
|
@@ -90,6 +91,7 @@ class DnsTraceProperties(BaseModel):
|
|
90
91
|
"dnsTransportProtocol": obj.get("dnsTransportProtocol"),
|
91
92
|
"domain": obj.get("domain"),
|
92
93
|
"dnsQueryClass": obj.get("dnsQueryClass"),
|
94
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
93
95
|
"type": obj.get("type")
|
94
96
|
})
|
95
97
|
return _obj
|
@@ -59,6 +59,7 @@ class FtpServerInstantTest(BaseModel):
|
|
59
59
|
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
60
60
|
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
61
61
|
protocol: Optional[TestProtocol] = None
|
62
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
62
63
|
request_type: FtpServerRequestType = Field(alias="requestType")
|
63
64
|
url: StrictStr = Field(description="Target for the test.")
|
64
65
|
use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp")
|
@@ -66,7 +67,7 @@ class FtpServerInstantTest(BaseModel):
|
|
66
67
|
username: StrictStr = Field(description="Username for Basic/NTLM authentication.")
|
67
68
|
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")
|
68
69
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
69
|
-
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy"]
|
70
|
+
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy"]
|
70
71
|
|
71
72
|
model_config = ConfigDict(
|
72
73
|
populate_by_name=True,
|
@@ -181,6 +182,7 @@ class FtpServerInstantTest(BaseModel):
|
|
181
182
|
"pathTraceMode": obj.get("pathTraceMode"),
|
182
183
|
"probeMode": obj.get("probeMode"),
|
183
184
|
"protocol": obj.get("protocol"),
|
185
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
184
186
|
"requestType": obj.get("requestType"),
|
185
187
|
"url": obj.get("url"),
|
186
188
|
"useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False,
|
@@ -58,6 +58,7 @@ class FtpServerInstantTestRequest(BaseModel):
|
|
58
58
|
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
59
59
|
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
60
60
|
protocol: Optional[TestProtocol] = None
|
61
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
61
62
|
request_type: FtpServerRequestType = Field(alias="requestType")
|
62
63
|
url: StrictStr = Field(description="Target for the test.")
|
63
64
|
use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp")
|
@@ -66,7 +67,7 @@ class FtpServerInstantTestRequest(BaseModel):
|
|
66
67
|
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")
|
67
68
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
68
69
|
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
|
69
|
-
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "agents"]
|
70
|
+
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "agents"]
|
70
71
|
|
71
72
|
model_config = ConfigDict(
|
72
73
|
populate_by_name=True,
|
@@ -170,6 +171,7 @@ class FtpServerInstantTestRequest(BaseModel):
|
|
170
171
|
"pathTraceMode": obj.get("pathTraceMode"),
|
171
172
|
"probeMode": obj.get("probeMode"),
|
172
173
|
"protocol": obj.get("protocol"),
|
174
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
173
175
|
"requestType": obj.get("requestType"),
|
174
176
|
"url": obj.get("url"),
|
175
177
|
"useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False,
|
@@ -60,6 +60,7 @@ class FtpServerInstantTestResponse(BaseModel):
|
|
60
60
|
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
61
61
|
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
62
62
|
protocol: Optional[TestProtocol] = None
|
63
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
63
64
|
request_type: FtpServerRequestType = Field(alias="requestType")
|
64
65
|
url: StrictStr = Field(description="Target for the test.")
|
65
66
|
use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp")
|
@@ -68,7 +69,7 @@ class FtpServerInstantTestResponse(BaseModel):
|
|
68
69
|
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")
|
69
70
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
70
71
|
agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.")
|
71
|
-
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "agents"]
|
72
|
+
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "agents"]
|
72
73
|
|
73
74
|
model_config = ConfigDict(
|
74
75
|
populate_by_name=True,
|
@@ -190,6 +191,7 @@ class FtpServerInstantTestResponse(BaseModel):
|
|
190
191
|
"pathTraceMode": obj.get("pathTraceMode"),
|
191
192
|
"probeMode": obj.get("probeMode"),
|
192
193
|
"protocol": obj.get("protocol"),
|
194
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
193
195
|
"requestType": obj.get("requestType"),
|
194
196
|
"url": obj.get("url"),
|
195
197
|
"useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False,
|
@@ -42,6 +42,7 @@ class FtpServerProperties(BaseModel):
|
|
42
42
|
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
43
43
|
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
44
44
|
protocol: Optional[TestProtocol] = None
|
45
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
45
46
|
request_type: FtpServerRequestType = Field(alias="requestType")
|
46
47
|
url: StrictStr = Field(description="Target for the test.")
|
47
48
|
use_active_ftp: Optional[StrictBool] = Field(default=False, description="Explicitly set the flag to use active FTP.", alias="useActiveFtp")
|
@@ -50,7 +51,7 @@ class FtpServerProperties(BaseModel):
|
|
50
51
|
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")
|
51
52
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
52
53
|
type: Optional[StrictStr] = None
|
53
|
-
__properties: ClassVar[List[str]] = ["bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "type"]
|
54
|
+
__properties: ClassVar[List[str]] = ["bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "type"]
|
54
55
|
|
55
56
|
model_config = ConfigDict(
|
56
57
|
populate_by_name=True,
|
@@ -117,6 +118,7 @@ class FtpServerProperties(BaseModel):
|
|
117
118
|
"pathTraceMode": obj.get("pathTraceMode"),
|
118
119
|
"probeMode": obj.get("probeMode"),
|
119
120
|
"protocol": obj.get("protocol"),
|
121
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
120
122
|
"requestType": obj.get("requestType"),
|
121
123
|
"url": obj.get("url"),
|
122
124
|
"useActiveFtp": obj.get("useActiveFtp") if obj.get("useActiveFtp") is not None else False,
|
@@ -87,9 +87,10 @@ class HttpServerInstantTest(BaseModel):
|
|
87
87
|
override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId")
|
88
88
|
collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData")
|
89
89
|
headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.")
|
90
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
90
91
|
post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody")
|
91
92
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
92
|
-
__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", "headers", "postBody", "ipv6Policy"]
|
93
|
+
__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", "headers", "randomizedStartTime", "postBody", "ipv6Policy"]
|
93
94
|
|
94
95
|
model_config = ConfigDict(
|
95
96
|
populate_by_name=True,
|
@@ -239,6 +240,7 @@ class HttpServerInstantTest(BaseModel):
|
|
239
240
|
"overrideProxyId": obj.get("overrideProxyId"),
|
240
241
|
"collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False,
|
241
242
|
"headers": obj.get("headers"),
|
243
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
242
244
|
"postBody": obj.get("postBody"),
|
243
245
|
"ipv6Policy": obj.get("ipv6Policy")
|
244
246
|
})
|
@@ -86,10 +86,11 @@ class HttpServerInstantTestRequest(BaseModel):
|
|
86
86
|
override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId")
|
87
87
|
collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData")
|
88
88
|
headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.")
|
89
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
89
90
|
post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody")
|
90
91
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
91
92
|
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
|
92
|
-
__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", "headers", "postBody", "ipv6Policy", "agents"]
|
93
|
+
__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", "headers", "randomizedStartTime", "postBody", "ipv6Policy", "agents"]
|
93
94
|
|
94
95
|
model_config = ConfigDict(
|
95
96
|
populate_by_name=True,
|
@@ -228,6 +229,7 @@ class HttpServerInstantTestRequest(BaseModel):
|
|
228
229
|
"overrideProxyId": obj.get("overrideProxyId"),
|
229
230
|
"collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False,
|
230
231
|
"headers": obj.get("headers"),
|
232
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
231
233
|
"postBody": obj.get("postBody"),
|
232
234
|
"ipv6Policy": obj.get("ipv6Policy"),
|
233
235
|
"agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
|
@@ -88,10 +88,11 @@ class HttpServerInstantTestResponse(BaseModel):
|
|
88
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
89
|
collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData")
|
90
90
|
headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.")
|
91
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
91
92
|
post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody")
|
92
93
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
93
94
|
agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.")
|
94
|
-
__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", "headers", "postBody", "ipv6Policy", "agents"]
|
95
|
+
__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", "headers", "randomizedStartTime", "postBody", "ipv6Policy", "agents"]
|
95
96
|
|
96
97
|
model_config = ConfigDict(
|
97
98
|
populate_by_name=True,
|
@@ -248,6 +249,7 @@ class HttpServerInstantTestResponse(BaseModel):
|
|
248
249
|
"overrideProxyId": obj.get("overrideProxyId"),
|
249
250
|
"collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False,
|
250
251
|
"headers": obj.get("headers"),
|
252
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
251
253
|
"postBody": obj.get("postBody"),
|
252
254
|
"ipv6Policy": obj.get("ipv6Policy"),
|
253
255
|
"agents": [AgentResponse.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
|
@@ -70,10 +70,11 @@ class HttpServerProperties(BaseModel):
|
|
70
70
|
override_proxy_id: Optional[StrictStr] = Field(default=None, description="ID of the proxy to be used if the default proxy is overridden.", alias="overrideProxyId")
|
71
71
|
collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData")
|
72
72
|
headers: Optional[List[StrictStr]] = Field(default=None, description="HTTP request headers used.")
|
73
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
73
74
|
post_body: Optional[StrictStr] = Field(default=None, description="Enter the body for the HTTP POST request in this field. No special escaping is necessary. If the post body is provided with content, the `requestMethod` is automatically set to POST.", alias="postBody")
|
74
75
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
75
76
|
type: Optional[StrictStr] = None
|
76
|
-
__properties: ClassVar[List[str]] = ["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", "headers", "postBody", "ipv6Policy", "type"]
|
77
|
+
__properties: ClassVar[List[str]] = ["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", "headers", "randomizedStartTime", "postBody", "ipv6Policy", "type"]
|
77
78
|
|
78
79
|
model_config = ConfigDict(
|
79
80
|
populate_by_name=True,
|
@@ -175,6 +176,7 @@ class HttpServerProperties(BaseModel):
|
|
175
176
|
"overrideProxyId": obj.get("overrideProxyId"),
|
176
177
|
"collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False,
|
177
178
|
"headers": obj.get("headers"),
|
179
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
178
180
|
"postBody": obj.get("postBody"),
|
179
181
|
"ipv6Policy": obj.get("ipv6Policy"),
|
180
182
|
"type": obj.get("type")
|
@@ -95,7 +95,8 @@ class PageLoadInstantTest(BaseModel):
|
|
95
95
|
allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation")
|
96
96
|
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")
|
97
97
|
page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy")
|
98
|
-
|
98
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
99
|
+
__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", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime"]
|
99
100
|
|
100
101
|
model_config = ConfigDict(
|
101
102
|
populate_by_name=True,
|
@@ -252,7 +253,8 @@ class PageLoadInstantTest(BaseModel):
|
|
252
253
|
"allowMicAndCamera": obj.get("allowMicAndCamera") if obj.get("allowMicAndCamera") is not None else False,
|
253
254
|
"allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False,
|
254
255
|
"browserLanguage": obj.get("browserLanguage"),
|
255
|
-
"pageLoadingStrategy": obj.get("pageLoadingStrategy")
|
256
|
+
"pageLoadingStrategy": obj.get("pageLoadingStrategy"),
|
257
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False
|
256
258
|
})
|
257
259
|
return _obj
|
258
260
|
|
@@ -94,8 +94,9 @@ class PageLoadInstantTestRequest(BaseModel):
|
|
94
94
|
allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation")
|
95
95
|
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")
|
96
96
|
page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy")
|
97
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
97
98
|
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
|
98
|
-
__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", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "agents"]
|
99
|
+
__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", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "agents"]
|
99
100
|
|
100
101
|
model_config = ConfigDict(
|
101
102
|
populate_by_name=True,
|
@@ -242,6 +243,7 @@ class PageLoadInstantTestRequest(BaseModel):
|
|
242
243
|
"allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False,
|
243
244
|
"browserLanguage": obj.get("browserLanguage"),
|
244
245
|
"pageLoadingStrategy": obj.get("pageLoadingStrategy"),
|
246
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
245
247
|
"agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
|
246
248
|
})
|
247
249
|
return _obj
|
@@ -96,8 +96,9 @@ class PageLoadInstantTestResponse(BaseModel):
|
|
96
96
|
allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation")
|
97
97
|
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")
|
98
98
|
page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy")
|
99
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
99
100
|
agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.")
|
100
|
-
__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", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "agents"]
|
101
|
+
__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", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "agents"]
|
101
102
|
|
102
103
|
model_config = ConfigDict(
|
103
104
|
populate_by_name=True,
|
@@ -262,6 +263,7 @@ class PageLoadInstantTestResponse(BaseModel):
|
|
262
263
|
"allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False,
|
263
264
|
"browserLanguage": obj.get("browserLanguage"),
|
264
265
|
"pageLoadingStrategy": obj.get("pageLoadingStrategy"),
|
266
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
265
267
|
"agents": [AgentResponse.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
|
266
268
|
})
|
267
269
|
return _obj
|
@@ -78,8 +78,9 @@ class PageLoadProperties(BaseModel):
|
|
78
78
|
allow_geolocation: Optional[StrictBool] = Field(default=False, description="Set true to use the agent’s geolocation by the web page.", alias="allowGeolocation")
|
79
79
|
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")
|
80
80
|
page_loading_strategy: Optional[TestPageLoadingStrategy] = Field(default=None, alias="pageLoadingStrategy")
|
81
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
81
82
|
type: Optional[StrictStr] = None
|
82
|
-
__properties: ClassVar[List[str]] = ["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", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "type"]
|
83
|
+
__properties: ClassVar[List[str]] = ["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", "pageLoadTargetTime", "pageLoadTimeLimit", "blockDomains", "disableScreenshot", "allowMicAndCamera", "allowGeolocation", "browserLanguage", "pageLoadingStrategy", "randomizedStartTime", "type"]
|
83
84
|
|
84
85
|
model_config = ConfigDict(
|
85
86
|
populate_by_name=True,
|
@@ -189,6 +190,7 @@ class PageLoadProperties(BaseModel):
|
|
189
190
|
"allowGeolocation": obj.get("allowGeolocation") if obj.get("allowGeolocation") is not None else False,
|
190
191
|
"browserLanguage": obj.get("browserLanguage"),
|
191
192
|
"pageLoadingStrategy": obj.get("pageLoadingStrategy"),
|
193
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
192
194
|
"type": obj.get("type")
|
193
195
|
})
|
194
196
|
return _obj
|
@@ -52,12 +52,13 @@ class SipServerInstantTest(BaseModel):
|
|
52
52
|
options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex")
|
53
53
|
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
54
54
|
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
55
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
55
56
|
register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled")
|
56
57
|
sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime")
|
57
58
|
sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit")
|
58
59
|
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")
|
59
60
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
60
|
-
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy"]
|
61
|
+
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy"]
|
61
62
|
|
62
63
|
model_config = ConfigDict(
|
63
64
|
populate_by_name=True,
|
@@ -167,6 +168,7 @@ class SipServerInstantTest(BaseModel):
|
|
167
168
|
"optionsRegex": obj.get("optionsRegex"),
|
168
169
|
"pathTraceMode": obj.get("pathTraceMode"),
|
169
170
|
"probeMode": obj.get("probeMode"),
|
171
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
170
172
|
"registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False,
|
171
173
|
"sipTargetTime": obj.get("sipTargetTime"),
|
172
174
|
"sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5,
|
@@ -52,6 +52,7 @@ class SipServerInstantTestRequest(BaseModel):
|
|
52
52
|
options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex")
|
53
53
|
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
54
54
|
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
55
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
55
56
|
register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled")
|
56
57
|
sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime")
|
57
58
|
sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit")
|
@@ -59,7 +60,7 @@ class SipServerInstantTestRequest(BaseModel):
|
|
59
60
|
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
|
60
61
|
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
|
61
62
|
target_sip_credentials: TestSipCredentials = Field(alias="targetSipCredentials")
|
62
|
-
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "agents", "targetSipCredentials"]
|
63
|
+
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "agents", "targetSipCredentials"]
|
63
64
|
|
64
65
|
model_config = ConfigDict(
|
65
66
|
populate_by_name=True,
|
@@ -161,6 +162,7 @@ class SipServerInstantTestRequest(BaseModel):
|
|
161
162
|
"optionsRegex": obj.get("optionsRegex"),
|
162
163
|
"pathTraceMode": obj.get("pathTraceMode"),
|
163
164
|
"probeMode": obj.get("probeMode"),
|
165
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
164
166
|
"registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False,
|
165
167
|
"sipTargetTime": obj.get("sipTargetTime"),
|
166
168
|
"sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5,
|
@@ -54,6 +54,7 @@ class SipServerInstantTestResponse(BaseModel):
|
|
54
54
|
options_regex: Optional[StrictStr] = Field(default=None, description="Options regex, this field does not require escaping.", alias="optionsRegex")
|
55
55
|
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
|
56
56
|
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
|
57
|
+
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
|
57
58
|
register_enabled: Optional[StrictBool] = Field(default=False, description="Set to true to perform SIP registration on the test target with the SIP REGISTER command.", alias="registerEnabled")
|
58
59
|
sip_target_time: Optional[Annotated[int, Field(le=5000, strict=True, ge=100)]] = Field(default=None, description="Target time for test completion in milliseconds.", alias="sipTargetTime")
|
59
60
|
sip_time_limit: Optional[Annotated[int, Field(le=10, strict=True, ge=5)]] = Field(default=5, description="Time limit in milliseconds.", alias="sipTimeLimit")
|
@@ -66,7 +67,7 @@ class SipServerInstantTestResponse(BaseModel):
|
|
66
67
|
sip_registrar: Optional[StrictStr] = Field(default=None, description="SIP server to be tested, specified by domain name or IP address.", alias="sipRegistrar")
|
67
68
|
user: Optional[StrictStr] = Field(default=None, description="Username for SIP registration, should be unique within a ThousandEyes account group.")
|
68
69
|
agents: Optional[List[AgentResponse]] = Field(default=None, description="Contains list of agents.")
|
69
|
-
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "authUser", "password", "port", "protocol", "sipRegistrar", "user", "agents"]
|
70
|
+
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "mtuMeasurements", "networkMeasurements", "numPathTraces", "optionsRegex", "pathTraceMode", "probeMode", "randomizedStartTime", "registerEnabled", "sipTargetTime", "sipTimeLimit", "fixedPacketRate", "ipv6Policy", "authUser", "password", "port", "protocol", "sipRegistrar", "user", "agents"]
|
70
71
|
|
71
72
|
model_config = ConfigDict(
|
72
73
|
populate_by_name=True,
|
@@ -183,6 +184,7 @@ class SipServerInstantTestResponse(BaseModel):
|
|
183
184
|
"optionsRegex": obj.get("optionsRegex"),
|
184
185
|
"pathTraceMode": obj.get("pathTraceMode"),
|
185
186
|
"probeMode": obj.get("probeMode"),
|
187
|
+
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
|
186
188
|
"registerEnabled": obj.get("registerEnabled") if obj.get("registerEnabled") is not None else False,
|
187
189
|
"sipTargetTime": obj.get("sipTargetTime"),
|
188
190
|
"sipTimeLimit": obj.get("sipTimeLimit") if obj.get("sipTimeLimit") is not None else 5,
|