[GitHub Bot] Generated python SDK

This commit is contained in:
API Team 2026-05-05 16:36:17 +00:00
parent fa5af77369
commit b6012118d1
350 changed files with 1404 additions and 1612 deletions

View File

@ -12,7 +12,7 @@ This API provides the following operations to manage your organization:
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**agent_type** | [**CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | |
## Example

View File

@ -15,8 +15,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
## Example

View File

@ -36,10 +36,10 @@ class AgentResponse(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
agent_type: CloudEnterpriseAgentType = Field(alias="agentType")
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "agentType"]
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix", "agentType"]
model_config = ConfigDict(
populate_by_name=True,
@ -88,8 +88,8 @@ class AgentResponse(BaseModel):
"agent_id",
"location",
"country_id",
"prefix",
"verify_ssl_certificates",
"prefix",
])
_dict = self.model_dump(
@ -121,8 +121,8 @@ class AgentResponse(BaseModel):
"countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"agentType": obj.get("agentType")
})
return _obj

View File

@ -45,8 +45,8 @@ class EnterpriseAgent(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
@ -62,7 +62,7 @@ class EnterpriseAgent(BaseModel):
target_for_tests: Optional[StrictStr] = Field(default=None, description="Test target IP address.", alias="targetForTests")
local_resolution_prefixes: Optional[List[StrictStr]] = Field(default=None, description="To perform rDNS lookups for public IP ranges, this field represents the public IP ranges. The range must be in CIDR notation; for example, 10.1.1.0/24. Maximum of 5 prefixes allowed (Enterprise Agents and Enterprise Agent clusters only).", alias="localResolutionPrefixes")
interface_ip_mapping: Optional[List[InterfaceIpMapping]] = Field(default=None, alias="interfaceIpMapping")
__properties: ClassVar[List[str]] = ["agentType", "ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
__properties: ClassVar[List[str]] = ["agentType", "ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
model_config = ConfigDict(
populate_by_name=True,
@ -119,8 +119,8 @@ class EnterpriseAgent(BaseModel):
"agent_id",
"location",
"country_id",
"prefix",
"verify_ssl_certificates",
"prefix",
"test_ids",
"cluster_members",
"utilization",
@ -196,8 +196,8 @@ class EnterpriseAgent(BaseModel):
"countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"testIds": obj.get("testIds"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,

View File

@ -35,9 +35,9 @@ class SimpleAgent(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates"]
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix"]
model_config = ConfigDict(
populate_by_name=True,
@ -86,8 +86,8 @@ class SimpleAgent(BaseModel):
"agent_id",
"location",
"country_id",
"prefix",
"verify_ssl_certificates",
"prefix",
])
_dict = self.model_dump(
@ -119,8 +119,8 @@ class SimpleAgent(BaseModel):
"countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates")
"verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix")
})
return _obj

View File

@ -127,7 +127,7 @@ class TestAccountGroupsApi(unittest.TestCase):
},
"accountGroupName" : "Account A",
"isDefaultAccountGroup" : true,
"accountToken" : "6j052y4vfgyuhefghue",
"accountToken" : "accountToken",
"aid" : "1234",
"orgId" : "12345",
"users" : [ {
@ -531,7 +531,7 @@ class TestAccountGroupsApi(unittest.TestCase):
},
"accountGroupName" : "Account A",
"isDefaultAccountGroup" : true,
"accountToken" : "6j052y4vfgyuhefghue",
"accountToken" : "accountToken",
"aid" : "1234",
"orgId" : "12345",
"users" : [ {

View File

@ -5,7 +5,7 @@ Manage Cloud and Enterprise Agents available to your account in ThousandEyes.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**agent_type** | **str** | Enterprise Cluster agent type. |
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
**labels** | [**List[AgentLabel]**](AgentLabel.md) | List of labels. See `/labels` for more information. | [optional] [readonly]

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**agent_type** | [**CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | |
## Example

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**agent_type** | **str** | Cloud agent type. |
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
**labels** | [**List[AgentLabel]**](AgentLabel.md) | List of labels - see `/labels` for more information. | [optional] [readonly]

View File

@ -15,8 +15,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]

View File

@ -15,8 +15,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
## Example

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**test_ids** | **List[int]** | List of test IDs assigned to the agent. | [optional] [readonly]
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional]
**cluster_members** | [**List[ClusterMember]**](ClusterMember.md) | If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents. | [optional] [readonly]

View File

@ -36,10 +36,10 @@ class AgentResponse(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
agent_type: CloudEnterpriseAgentType = Field(alias="agentType")
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "agentType"]
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix", "agentType"]
model_config = ConfigDict(
populate_by_name=True,
@ -88,8 +88,8 @@ class AgentResponse(BaseModel):
"agent_id",
"location",
"country_id",
"prefix",
"verify_ssl_certificates",
"prefix",
])
_dict = self.model_dump(
@ -121,8 +121,8 @@ class AgentResponse(BaseModel):
"countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"agentType": obj.get("agentType")
})
return _obj

View File

@ -40,14 +40,14 @@ class CloudAgentDetail(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
agent_type: Annotated[str, Field(strict=True)] = Field(description="Cloud agent type.", alias="agentType")
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
labels: Optional[List[AgentLabel]] = Field(default=None, description="List of labels - see `/labels` for more information.")
tags: Optional[List[AgentTag]] = Field(default=None, description="List of tags. See `/tags` for more information.")
links: Optional[SelfLinks] = Field(default=None, alias="_links")
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "agentType", "tests", "labels", "tags", "_links"]
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix", "agentType", "tests", "labels", "tags", "_links"]
@field_validator('agent_type')
def agent_type_validate_regular_expression(cls, value):
@ -105,8 +105,8 @@ class CloudAgentDetail(BaseModel):
"agent_id",
"location",
"country_id",
"prefix",
"verify_ssl_certificates",
"prefix",
"labels",
"tags",
])
@ -164,8 +164,8 @@ class CloudAgentDetail(BaseModel):
"countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"agentType": obj.get("agentType"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
"labels": [AgentLabel.from_dict(_item) for _item in obj["labels"]] if obj.get("labels") is not None else None,

View File

@ -45,8 +45,8 @@ class EnterpriseAgent(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
@ -62,7 +62,7 @@ class EnterpriseAgent(BaseModel):
target_for_tests: Optional[StrictStr] = Field(default=None, description="Test target IP address.", alias="targetForTests")
local_resolution_prefixes: Optional[List[StrictStr]] = Field(default=None, description="To perform rDNS lookups for public IP ranges, this field represents the public IP ranges. The range must be in CIDR notation; for example, 10.1.1.0/24. Maximum of 5 prefixes allowed (Enterprise Agents and Enterprise Agent clusters only).", alias="localResolutionPrefixes")
interface_ip_mapping: Optional[List[InterfaceIpMapping]] = Field(default=None, alias="interfaceIpMapping")
__properties: ClassVar[List[str]] = ["agentType", "ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
__properties: ClassVar[List[str]] = ["agentType", "ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
model_config = ConfigDict(
populate_by_name=True,
@ -119,8 +119,8 @@ class EnterpriseAgent(BaseModel):
"agent_id",
"location",
"country_id",
"prefix",
"verify_ssl_certificates",
"prefix",
"test_ids",
"cluster_members",
"utilization",
@ -196,8 +196,8 @@ class EnterpriseAgent(BaseModel):
"countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"testIds": obj.get("testIds"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,

View File

@ -48,8 +48,8 @@ class EnterpriseAgentClusterDetail(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
@ -70,7 +70,7 @@ class EnterpriseAgentClusterDetail(BaseModel):
tags: Optional[List[AgentTag]] = Field(default=None, description="List of tags. See `/tags` for more information.")
agent_type: Annotated[str, Field(strict=True)] = Field(description="Enterprise Cluster agent type.", alias="agentType")
links: Optional[SelfLinks] = Field(default=None, alias="_links")
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping", "notificationRules", "labels", "tags", "agentType", "_links"]
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping", "notificationRules", "labels", "tags", "agentType", "_links"]
@field_validator('agent_type')
def agent_type_validate_regular_expression(cls, value):
@ -136,8 +136,8 @@ class EnterpriseAgentClusterDetail(BaseModel):
"agent_id",
"location",
"country_id",
"prefix",
"verify_ssl_certificates",
"prefix",
"test_ids",
"cluster_members",
"utilization",
@ -238,8 +238,8 @@ class EnterpriseAgentClusterDetail(BaseModel):
"countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"testIds": obj.get("testIds"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,

View File

@ -48,8 +48,8 @@ class EnterpriseAgentDetail(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
@ -70,7 +70,7 @@ class EnterpriseAgentDetail(BaseModel):
tags: Optional[List[AgentTag]] = Field(default=None, description="List of tags. See `/tags` for more information.")
agent_type: Annotated[str, Field(strict=True)] = Field(description="Enterprise agent type.", alias="agentType")
links: Optional[SelfLinks] = Field(default=None, alias="_links")
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping", "notificationRules", "labels", "tags", "agentType", "_links"]
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping", "notificationRules", "labels", "tags", "agentType", "_links"]
@field_validator('agent_type')
def agent_type_validate_regular_expression(cls, value):
@ -136,8 +136,8 @@ class EnterpriseAgentDetail(BaseModel):
"agent_id",
"location",
"country_id",
"prefix",
"verify_ssl_certificates",
"prefix",
"test_ids",
"cluster_members",
"utilization",
@ -238,8 +238,8 @@ class EnterpriseAgentDetail(BaseModel):
"countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"testIds": obj.get("testIds"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,

View File

@ -35,9 +35,9 @@ class SimpleAgent(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates"]
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix"]
model_config = ConfigDict(
populate_by_name=True,
@ -86,8 +86,8 @@ class SimpleAgent(BaseModel):
"agent_id",
"location",
"country_id",
"prefix",
"verify_ssl_certificates",
"prefix",
])
_dict = self.model_dump(
@ -119,8 +119,8 @@ class SimpleAgent(BaseModel):
"countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates")
"verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix")
})
return _obj

View File

@ -43,8 +43,8 @@ class SimpleEnterpriseAgent(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
test_ids: Optional[List[StrictInt]] = Field(default=None, description="List of test IDs assigned to the agent.", alias="testIds")
tests: Optional[List[SimpleTest]] = Field(default=None, description="List of tests. See `/tests` for more information.")
cluster_members: Optional[List[ClusterMember]] = Field(default=None, description="If an enterprise agent is clustered, detailed information about each cluster member will be shown as array entries in the clusterMembers field. This field is not shown for Enterprise Agents in standalone mode, or for Cloud Agents.", alias="clusterMembers")
@ -60,7 +60,7 @@ class SimpleEnterpriseAgent(BaseModel):
target_for_tests: Optional[StrictStr] = Field(default=None, description="Test target IP address.", alias="targetForTests")
local_resolution_prefixes: Optional[List[StrictStr]] = Field(default=None, description="To perform rDNS lookups for public IP ranges, this field represents the public IP ranges. The range must be in CIDR notation; for example, 10.1.1.0/24. Maximum of 5 prefixes allowed (Enterprise Agents and Enterprise Agent clusters only).", alias="localResolutionPrefixes")
interface_ip_mapping: Optional[List[InterfaceIpMapping]] = Field(default=None, alias="interfaceIpMapping")
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix", "testIds", "tests", "clusterMembers", "utilization", "accountGroups", "ipv6Policy", "errorDetails", "hostname", "lastSeen", "agentState", "keepBrowserCache", "createdDate", "targetForTests", "localResolutionPrefixes", "interfaceIpMapping"]
model_config = ConfigDict(
populate_by_name=True,
@ -117,8 +117,8 @@ class SimpleEnterpriseAgent(BaseModel):
"agent_id",
"location",
"country_id",
"prefix",
"verify_ssl_certificates",
"prefix",
"test_ids",
"cluster_members",
"utilization",
@ -193,8 +193,8 @@ class SimpleEnterpriseAgent(BaseModel):
"countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"testIds": obj.get("testIds"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None,
"clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,

View File

@ -14,7 +14,7 @@ For more information about the alerts, see [Alerts](https://docs.thousandeyes.co
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -10,7 +10,7 @@ For more information about monitors, see [Inside-Out BGP Visibility](https://doc
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -6,7 +6,7 @@ Manage connectors and operations.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -9,8 +9,8 @@ Name | Type | Description | Notes
**type** | [**ConnectorType**](ConnectorType.md) | |
**name** | **str** | |
**target** | **str** | |
**authentication** | [**GenericConnectorAuth**](GenericConnectorAuth.md) | | [optional]
**last_modified_date** | **int** | The date when the connector was last modified (Unix timestamp in milliseconds). | [optional] [readonly]
**authentication** | [**GenericConnectorAuth**](GenericConnectorAuth.md) | | [optional]
**headers** | [**List[Header]**](Header.md) | | [optional]
## Example

View File

@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
**value** | **str** | The value of the header. Note that this value is obfuscated in the response, even when overwritten. |
**value** | **str** | |
## Example

View File

@ -80,17 +80,17 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/problem+json, application/hal+json, application/json
- **Accept**: application/hal+json, application/json, application/problem+json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**404** | Not found | - |
**200** | A list of assigned connectors. | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Insufficient permissions to query endpoint | - |
**404** | Not found | - |
**500** | Internal server error | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@ -169,17 +169,17 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/problem+json, application/hal+json, application/json
- **Accept**: application/hal+json, application/json, application/problem+json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**404** | Not found | - |
**200** | Operation Connectors updated successfully. | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Insufficient permissions to query endpoint | - |
**404** | Not found | - |
**500** | Internal server error | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

View File

@ -169,7 +169,7 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**204** | No Content | - |
**204** | No Content. | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Insufficient permissions to query endpoint | - |

View File

@ -105,11 +105,11 @@ class OperationConnectorsApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'404': "Error",
'200': "Assignments",
'400': "ValidationError",
'401': "UnauthorizedError",
'403': "Error",
'404': "Error",
'500': "Error",
}
response_data = self.api_client.call_api(
@ -186,11 +186,11 @@ class OperationConnectorsApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'404': "Error",
'200': "Assignments",
'400': "ValidationError",
'401': "UnauthorizedError",
'403': "Error",
'404': "Error",
'500': "Error",
}
response_data = self.api_client.call_api(
@ -267,11 +267,11 @@ class OperationConnectorsApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'404': "Error",
'200': "Assignments",
'400': "ValidationError",
'401': "UnauthorizedError",
'403': "Error",
'404': "Error",
'500': "Error",
}
response_data = self.api_client.call_api(
@ -322,9 +322,9 @@ class OperationConnectorsApi:
# set the HTTP header `Accept`
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/problem+json',
'application/hal+json',
'application/json'
'application/json',
'application/problem+json'
]
)
@ -418,11 +418,11 @@ class OperationConnectorsApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'404': "Error",
'200': "Assignments",
'400': "ValidationError",
'401': "UnauthorizedError",
'403': "Error",
'404': "Error",
'500': "Error",
}
response_data = self.api_client.call_api(
@ -503,11 +503,11 @@ class OperationConnectorsApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'404': "Error",
'200': "Assignments",
'400': "ValidationError",
'401': "UnauthorizedError",
'403': "Error",
'404': "Error",
'500': "Error",
}
response_data = self.api_client.call_api(
@ -588,11 +588,11 @@ class OperationConnectorsApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'404': "Error",
'200': "Assignments",
'400': "ValidationError",
'401': "UnauthorizedError",
'403': "Error",
'404': "Error",
'500': "Error",
}
response_data = self.api_client.call_api(
@ -647,9 +647,9 @@ class OperationConnectorsApi:
# set the HTTP header `Accept`
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/problem+json',
'application/hal+json',
'application/json'
'application/json',
'application/problem+json'
]
)

View File

@ -32,10 +32,10 @@ class GenericConnector(BaseModel):
type: ConnectorType
name: StrictStr
target: StrictStr
authentication: Optional[GenericConnectorAuth] = None
last_modified_date: Optional[StrictInt] = Field(default=None, description="The date when the connector was last modified (Unix timestamp in milliseconds).", alias="lastModifiedDate")
authentication: Optional[GenericConnectorAuth] = None
headers: Optional[List[Header]] = None
__properties: ClassVar[List[str]] = ["id", "type", "name", "target", "authentication", "lastModifiedDate", "headers"]
__properties: ClassVar[List[str]] = ["id", "type", "name", "target", "lastModifiedDate", "authentication", "headers"]
model_config = ConfigDict(
populate_by_name=True,
@ -107,8 +107,8 @@ class GenericConnector(BaseModel):
"type": obj.get("type"),
"name": obj.get("name"),
"target": obj.get("target"),
"authentication": GenericConnectorAuth.from_dict(obj["authentication"]) if obj.get("authentication") is not None else None,
"lastModifiedDate": obj.get("lastModifiedDate"),
"authentication": GenericConnectorAuth.from_dict(obj["authentication"]) if obj.get("authentication") is not None else None,
"headers": [Header.from_dict(_item) for _item in obj["headers"]] if obj.get("headers") is not None else None
})
return _obj

View File

@ -16,7 +16,7 @@ import pprint
import re # noqa: F401
import json
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from pydantic import BaseModel, ConfigDict, StrictStr
from typing import Any, ClassVar, Dict, List
from typing import Optional, Set
from typing_extensions import Self
@ -26,7 +26,7 @@ class Header(BaseModel):
Header
""" # noqa: E501
name: StrictStr
value: StrictStr = Field(description="The value of the header. Note that this value is obfuscated in the response, even when overwritten.")
value: StrictStr
__properties: ClassVar[List[str]] = ["name", "value"]
model_config = ConfigDict(

View File

@ -36,6 +36,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ {
"name" : "Content-Type",
"value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -70,6 +73,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ {
"name" : "Content-Type",
"value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -110,6 +116,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ {
"name" : "Content-Type",
"value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -159,6 +168,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ {
"name" : "Content-Type",
"value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -185,6 +197,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ {
"name" : "Content-Type",
"value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -221,6 +236,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ {
"name" : "Content-Type",
"value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -255,6 +273,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ {
"name" : "Content-Type",
"value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",

View File

@ -13,7 +13,7 @@ For more information about credentials, see [Working With Secure Credentials](ht
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -10,8 +10,6 @@ docs/ApiAgentStatusAgent.md
docs/ApiAgentStatusIpInfo.md
docs/ApiAgentStatusSummary.md
docs/ApiAgentStatusWidget.md
docs/ApiAgentWidgetShow.md
docs/ApiAgentWidgetType.md
docs/ApiAggregateProperty.md
docs/ApiAlertListAlert.md
docs/ApiAlertListWidget.md
@ -59,8 +57,6 @@ docs/ApiWidgetDataSnapshotResponse.md
docs/ApiWidgetFilterApiTestTableFilterKey.md
docs/ApiWidgetFixedYScalePrefix.md
docs/ApiWidgetMeasure.md
docs/ApiWidgetSortDirection.md
docs/ApiWidgetSortProperty.md
docs/ApiWidgetsDataV2.md
docs/AppAndSelfLinks.md
docs/AswRepeat.md
@ -120,7 +116,6 @@ docs/VisualMode.md
docs/Widget.md
docs/WidgetMeasureType.md
docs/WidgetPosition.md
docs/WidgetType.md
pyproject.toml
setup.cfg
src/thousandeyes_sdk/dashboards/__init__.py
@ -138,8 +133,6 @@ src/thousandeyes_sdk/dashboards/models/api_agent_status_agent.py
src/thousandeyes_sdk/dashboards/models/api_agent_status_ip_info.py
src/thousandeyes_sdk/dashboards/models/api_agent_status_summary.py
src/thousandeyes_sdk/dashboards/models/api_agent_status_widget.py
src/thousandeyes_sdk/dashboards/models/api_agent_widget_show.py
src/thousandeyes_sdk/dashboards/models/api_agent_widget_type.py
src/thousandeyes_sdk/dashboards/models/api_aggregate_property.py
src/thousandeyes_sdk/dashboards/models/api_alert_list_alert.py
src/thousandeyes_sdk/dashboards/models/api_alert_list_widget.py
@ -187,8 +180,6 @@ src/thousandeyes_sdk/dashboards/models/api_widget_data_snapshot_response.py
src/thousandeyes_sdk/dashboards/models/api_widget_filter_api_test_table_filter_key.py
src/thousandeyes_sdk/dashboards/models/api_widget_fixed_y_scale_prefix.py
src/thousandeyes_sdk/dashboards/models/api_widget_measure.py
src/thousandeyes_sdk/dashboards/models/api_widget_sort_direction.py
src/thousandeyes_sdk/dashboards/models/api_widget_sort_property.py
src/thousandeyes_sdk/dashboards/models/api_widgets_data_v2.py
src/thousandeyes_sdk/dashboards/models/app_and_self_links.py
src/thousandeyes_sdk/dashboards/models/asw_repeat.py
@ -245,7 +236,6 @@ src/thousandeyes_sdk/dashboards/models/visual_mode.py
src/thousandeyes_sdk/dashboards/models/widget.py
src/thousandeyes_sdk/dashboards/models/widget_measure_type.py
src/thousandeyes_sdk/dashboards/models/widget_position.py
src/thousandeyes_sdk/dashboards/models/widget_type.py
src/thousandeyes_sdk/dashboards/py.typed
test/__init__.py
test/test_dashboard_snapshots_api.py

View File

@ -3,7 +3,7 @@ Manage ThousandEyes Dashboards.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
@ -127,8 +127,6 @@ Class | Method | HTTP request | Description
- [ApiAgentStatusIpInfo](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAgentStatusIpInfo.md)
- [ApiAgentStatusSummary](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAgentStatusSummary.md)
- [ApiAgentStatusWidget](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAgentStatusWidget.md)
- [ApiAgentWidgetShow](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAgentWidgetShow.md)
- [ApiAgentWidgetType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAgentWidgetType.md)
- [ApiAggregateProperty](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAggregateProperty.md)
- [ApiAlertListAlert](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAlertListAlert.md)
- [ApiAlertListWidget](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAlertListWidget.md)
@ -176,8 +174,6 @@ Class | Method | HTTP request | Description
- [ApiWidgetFilterApiTestTableFilterKey](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetFilterApiTestTableFilterKey.md)
- [ApiWidgetFixedYScalePrefix](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetFixedYScalePrefix.md)
- [ApiWidgetMeasure](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetMeasure.md)
- [ApiWidgetSortDirection](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetSortDirection.md)
- [ApiWidgetSortProperty](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetSortProperty.md)
- [ApiWidgetsDataV2](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetsDataV2.md)
- [AppAndSelfLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/AppAndSelfLinks.md)
- [AswRepeat](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/AswRepeat.md)
@ -234,7 +230,6 @@ Class | Method | HTTP request | Description
- [Widget](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/Widget.md)
- [WidgetMeasureType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/WidgetMeasureType.md)
- [WidgetPosition](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/WidgetPosition.md)
- [WidgetType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/WidgetType.md)
<a id="documentation-for-authorization"></a>

View File

@ -1,12 +0,0 @@
# ApiAgentWidgetShow
Ownership of the agent.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,12 +0,0 @@
# ApiAgentWidgetType
Type of the agent.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,12 +0,0 @@
# ApiWidgetSortDirection
Specifies the order in which cards are sorted.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,12 +0,0 @@
# ApiWidgetSortProperty
Determines the card sorting criterion.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,12 +0,0 @@
# WidgetType
Type of the Widget
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -29,8 +29,6 @@ from thousandeyes_sdk.dashboards.models.api_agent_status_agent import ApiAgentSt
from thousandeyes_sdk.dashboards.models.api_agent_status_ip_info import ApiAgentStatusIpInfo
from thousandeyes_sdk.dashboards.models.api_agent_status_summary import ApiAgentStatusSummary
from thousandeyes_sdk.dashboards.models.api_agent_status_widget import ApiAgentStatusWidget
from thousandeyes_sdk.dashboards.models.api_agent_widget_show import ApiAgentWidgetShow
from thousandeyes_sdk.dashboards.models.api_agent_widget_type import ApiAgentWidgetType
from thousandeyes_sdk.dashboards.models.api_aggregate_property import ApiAggregateProperty
from thousandeyes_sdk.dashboards.models.api_alert_list_alert import ApiAlertListAlert
from thousandeyes_sdk.dashboards.models.api_alert_list_widget import ApiAlertListWidget
@ -78,8 +76,6 @@ from thousandeyes_sdk.dashboards.models.api_widget_data_snapshot_response import
from thousandeyes_sdk.dashboards.models.api_widget_filter_api_test_table_filter_key import ApiWidgetFilterApiTestTableFilterKey
from thousandeyes_sdk.dashboards.models.api_widget_fixed_y_scale_prefix import ApiWidgetFixedYScalePrefix
from thousandeyes_sdk.dashboards.models.api_widget_measure import ApiWidgetMeasure
from thousandeyes_sdk.dashboards.models.api_widget_sort_direction import ApiWidgetSortDirection
from thousandeyes_sdk.dashboards.models.api_widget_sort_property import ApiWidgetSortProperty
from thousandeyes_sdk.dashboards.models.api_widgets_data_v2 import ApiWidgetsDataV2
from thousandeyes_sdk.dashboards.models.app_and_self_links import AppAndSelfLinks
from thousandeyes_sdk.dashboards.models.asw_repeat import AswRepeat
@ -136,4 +132,3 @@ from thousandeyes_sdk.dashboards.models.visual_mode import VisualMode
from thousandeyes_sdk.dashboards.models.widget import Widget
from thousandeyes_sdk.dashboards.models.widget_measure_type import WidgetMeasureType
from thousandeyes_sdk.dashboards.models.widget_position import WidgetPosition
from thousandeyes_sdk.dashboards.models.widget_type import WidgetType

View File

@ -22,8 +22,6 @@ from thousandeyes_sdk.dashboards.models.api_agent_status_agent import ApiAgentSt
from thousandeyes_sdk.dashboards.models.api_agent_status_ip_info import ApiAgentStatusIpInfo
from thousandeyes_sdk.dashboards.models.api_agent_status_summary import ApiAgentStatusSummary
from thousandeyes_sdk.dashboards.models.api_agent_status_widget import ApiAgentStatusWidget
from thousandeyes_sdk.dashboards.models.api_agent_widget_show import ApiAgentWidgetShow
from thousandeyes_sdk.dashboards.models.api_agent_widget_type import ApiAgentWidgetType
from thousandeyes_sdk.dashboards.models.api_aggregate_property import ApiAggregateProperty
from thousandeyes_sdk.dashboards.models.api_alert_list_alert import ApiAlertListAlert
from thousandeyes_sdk.dashboards.models.api_alert_list_widget import ApiAlertListWidget
@ -71,8 +69,6 @@ from thousandeyes_sdk.dashboards.models.api_widget_data_snapshot_response import
from thousandeyes_sdk.dashboards.models.api_widget_filter_api_test_table_filter_key import ApiWidgetFilterApiTestTableFilterKey
from thousandeyes_sdk.dashboards.models.api_widget_fixed_y_scale_prefix import ApiWidgetFixedYScalePrefix
from thousandeyes_sdk.dashboards.models.api_widget_measure import ApiWidgetMeasure
from thousandeyes_sdk.dashboards.models.api_widget_sort_direction import ApiWidgetSortDirection
from thousandeyes_sdk.dashboards.models.api_widget_sort_property import ApiWidgetSortProperty
from thousandeyes_sdk.dashboards.models.api_widgets_data_v2 import ApiWidgetsDataV2
from thousandeyes_sdk.dashboards.models.app_and_self_links import AppAndSelfLinks
from thousandeyes_sdk.dashboards.models.asw_repeat import AswRepeat
@ -129,4 +125,3 @@ from thousandeyes_sdk.dashboards.models.visual_mode import VisualMode
from thousandeyes_sdk.dashboards.models.widget import Widget
from thousandeyes_sdk.dashboards.models.widget_measure_type import WidgetMeasureType
from thousandeyes_sdk.dashboards.models.widget_position import WidgetPosition
from thousandeyes_sdk.dashboards.models.widget_type import WidgetType

View File

@ -1,41 +0,0 @@
# coding: utf-8
"""
Dashboards API
Manage ThousandEyes Dashboards.
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self
class ApiAgentWidgetShow(str, Enum):
"""
Ownership of the agent.
"""
"""
allowed enum values
"""
OWNED = 'owned'
ALL = 'all'
UNKNOWN = 'unknown'
@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of ApiAgentWidgetShow from a JSON string"""
return cls(json.loads(json_str))
@classmethod
def _missing_(cls, value):
"""Handle unknown values"""
return cls.UNKNOWN

View File

@ -1,41 +0,0 @@
# coding: utf-8
"""
Dashboards API
Manage ThousandEyes Dashboards.
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self
class ApiAgentWidgetType(str, Enum):
"""
Type of the agent.
"""
"""
allowed enum values
"""
ENTERPRISE = 'enterprise'
ENDPOINT = 'endpoint'
UNKNOWN = 'unknown'
@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of ApiAgentWidgetType from a JSON string"""
return cls(json.loads(json_str))
@classmethod
def _missing_(cls, value):
"""Handle unknown values"""
return cls.UNKNOWN

View File

@ -41,6 +41,7 @@ class ApiAggregateProperty(str, Enum):
TEST_LABEL = 'TEST_LABEL'
TEST_TAG = 'TEST_TAG'
AGENT_LABEL = 'AGENT_LABEL'
AGENT_TAG = 'AGENT_TAG'
TRANSACTION_STEP = 'TRANSACTION_STEP'
TRANSACTION_PAGE = 'TRANSACTION_PAGE'
WEB_TRANSACTION_MARKER = 'WEB_TRANSACTION_MARKER'
@ -101,6 +102,7 @@ class ApiAggregateProperty(str, Enum):
EYEBROW_ORG_NAME = 'EYEBROW_ORG_NAME'
EYEBROW_USER = 'EYEBROW_USER'
EYEBROW_AGENT = 'EYEBROW_AGENT'
EYEBROW_AGENT_TAG = 'EYEBROW_AGENT_TAG'
EYEBROW_COMPUTER_NAME = 'EYEBROW_COMPUTER_NAME'
CLOUD_NATIVE_MONITORING_MINUS_ALL = 'CLOUD_NATIVE_MONITORING-ALL'
CLOUD_NATIVE_MONITORING_MINUS_ACCOUNT = 'CLOUD_NATIVE_MONITORING-ACCOUNT'

View File

@ -1,41 +0,0 @@
# coding: utf-8
"""
Dashboards API
Manage ThousandEyes Dashboards.
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self
class ApiWidgetSortDirection(str, Enum):
"""
Specifies the order in which cards are sorted.
"""
"""
allowed enum values
"""
ASCENDING = 'ascending'
DESCENDING = 'descending'
UNKNOWN = 'unknown'
@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of ApiWidgetSortDirection from a JSON string"""
return cls(json.loads(json_str))
@classmethod
def _missing_(cls, value):
"""Handle unknown values"""
return cls.UNKNOWN

View File

@ -1,41 +0,0 @@
# coding: utf-8
"""
Dashboards API
Manage ThousandEyes Dashboards.
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self
class ApiWidgetSortProperty(str, Enum):
"""
Determines the card sorting criterion.
"""
"""
allowed enum values
"""
ALPHABETICAL = 'alphabetical'
VALUE = 'value'
UNKNOWN = 'unknown'
@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of ApiWidgetSortProperty from a JSON string"""
return cls(json.loads(json_str))
@classmethod
def _missing_(cls, value):
"""Handle unknown values"""
return cls.UNKNOWN

View File

@ -1,54 +0,0 @@
# coding: utf-8
"""
Dashboards API
Manage ThousandEyes Dashboards.
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self
class WidgetType(str, Enum):
"""
Type of the Widget
"""
"""
allowed enum values
"""
BAR_CHART_COLON__STACKED = 'Bar Chart: Stacked'
BAR_CHART_COLON__GROUPED = 'Bar Chart: Grouped'
TIME_SERIES_COLON__LINE = 'Time Series: Line'
TIME_SERIES_COLON__STACKED_AREA = 'Time Series: Stacked Area'
PIE_CHART = 'Pie Chart'
TABLE = 'Table'
MULTI_METRIC_TABLE = 'Multi Metric Table'
NUMBER = 'Number'
AGENT_STATUS = 'Agent Status'
COLOR_GRID = 'Color Grid'
ALERT_LIST = 'Alert List'
LIST = 'List'
TEST_TABLE = 'Test Table'
MAP = 'Map'
BOX_AND_WHISKERS = 'Box and Whiskers'
UNKNOWN = 'unknown'
@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of WidgetType from a JSON string"""
return cls(json.loads(json_str))
@classmethod
def _missing_(cls, value):
"""Handle unknown values"""
return cls.UNKNOWN

View File

@ -130,7 +130,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -167,7 +167,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -247,7 +247,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -284,7 +284,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -434,8 +434,8 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"startTimes" : [ "2023-05-16T10:14:28Z" ]
} ],
"binSize" : 3600,
"previousValue" : 500.0,
"value" : 100.0,
"previousValue" : 500,
"value" : 100,
"startDate" : "2023-05-16T10:14:28Z",
"timestamp" : 1567620000,
"status" : "No data"
@ -476,8 +476,8 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"startTimes" : [ "2023-05-16T10:14:28Z" ]
} ],
"binSize" : 3600,
"previousValue" : 500.0,
"value" : 100.0,
"previousValue" : 500,
"value" : 100,
"startDate" : "2023-05-16T10:14:28Z",
"timestamp" : 1567620000,
"status" : "No data"
@ -582,7 +582,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
}, {
"numberOfDataPoints" : 23304,
@ -593,7 +593,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
} ],
"status" : "No data"
@ -640,7 +640,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
}, {
"numberOfDataPoints" : 23304,
@ -651,7 +651,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
} ],
"status" : "No data"
@ -686,7 +686,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
}, {
"numberOfDataPoints" : 23304,
@ -697,7 +697,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
} ],
"agents" : [ {
@ -849,7 +849,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -886,7 +886,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -966,7 +966,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -1003,7 +1003,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -1113,7 +1113,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -1150,7 +1150,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -1230,7 +1230,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -1267,7 +1267,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",

View File

@ -85,7 +85,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -122,7 +122,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -226,7 +226,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -263,7 +263,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -373,7 +373,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -410,7 +410,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -558,8 +558,8 @@ class TestDashboardsApi(unittest.TestCase):
"startTimes" : [ "2023-05-16T10:14:28Z" ]
} ],
"binSize" : 3600,
"previousValue" : 500.0,
"value" : 100.0,
"previousValue" : 500,
"value" : 100,
"startDate" : "2023-05-16T10:14:28Z",
"timestamp" : 1567620000,
"status" : "No data"
@ -600,8 +600,8 @@ class TestDashboardsApi(unittest.TestCase):
"startTimes" : [ "2023-05-16T10:14:28Z" ]
} ],
"binSize" : 3600,
"previousValue" : 500.0,
"value" : 100.0,
"previousValue" : 500,
"value" : 100,
"startDate" : "2023-05-16T10:14:28Z",
"timestamp" : 1567620000,
"status" : "No data"
@ -706,7 +706,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
}, {
"numberOfDataPoints" : 23304,
@ -717,7 +717,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
} ],
"status" : "No data"
@ -764,7 +764,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
}, {
"numberOfDataPoints" : 23304,
@ -775,7 +775,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
} ],
"status" : "No data"
@ -810,7 +810,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
}, {
"numberOfDataPoints" : 23304,
@ -821,7 +821,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
} ],
"agents" : [ {
@ -956,7 +956,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -993,7 +993,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -1100,7 +1100,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -1137,7 +1137,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -1240,8 +1240,8 @@ class TestDashboardsApi(unittest.TestCase):
"startTimes" : [ "2023-05-16T10:14:28Z" ]
} ],
"binSize" : 3600,
"previousValue" : 500.0,
"value" : 100.0,
"previousValue" : 500,
"value" : 100,
"startDate" : "2023-05-16T10:14:28Z",
"timestamp" : 1567620000,
"status" : "No data"
@ -1298,7 +1298,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
}, {
"numberOfDataPoints" : 23304,
@ -1309,7 +1309,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY",
"groupValue" : "US"
} ],
"value" : 100.0,
"value" : 100,
"timestamp" : 1567620000
} ],
"status" : "No data"
@ -1376,7 +1376,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -1413,7 +1413,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -1517,7 +1517,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",
@ -1554,7 +1554,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status",
"metricGroup" : "BGP",
"measure" : {
"percentileValue" : 95.0,
"percentileValue" : 95,
"type" : "MEAN"
},
"apiLink" : "apiLink",

View File

@ -11,7 +11,7 @@ To access Emulation API operations, the following permissions are required:
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -7,7 +7,7 @@ For more information about Endpoint Agents, see [Endpoint Agents](https://docs.t
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -1,5 +1,4 @@
# thousandeyes-sdk-endpoint-instant-tests
You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data.
The following applies to the Endpoint Instant Scheduled Tests API:
@ -13,7 +12,7 @@ The URLs for these API test data endpoints are provided within the test definiti
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -4,7 +4,7 @@ Manage labels applied to endpoint agents using this API.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -3,7 +3,7 @@ Retrieve results for scheduled and dynamic tests on endpoint agents.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -26,11 +26,11 @@ class CpuUtilization(BaseModel):
"""
CpuUtilization
""" # noqa: E501
min: Optional[Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="The minimum sampled usage value recorded during the monitored period.")
max: Optional[Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="The maximum sampled usage value recorded during the monitored period.")
mean: Optional[Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="The mean (average) sampled usage value recorded during the monitored period.")
median: Optional[Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="The median sampled usage value recorded during the monitored period.")
std_dev: Optional[Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="The standard deviation of sampled usage values recorded during the monitored period.", alias="stdDev")
min: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="The minimum sampled usage value recorded during the monitored period.")
max: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="The maximum sampled usage value recorded during the monitored period.")
mean: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="The mean (average) sampled usage value recorded during the monitored period.")
median: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="The median sampled usage value recorded during the monitored period.")
std_dev: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="The standard deviation of sampled usage values recorded during the monitored period.", alias="stdDev")
count: Optional[StrictInt] = Field(default=None, description="The total number of samples collected during the monitored period.")
__properties: ClassVar[List[str]] = ["min", "max", "mean", "median", "stdDev", "count"]

View File

@ -30,7 +30,7 @@ class RealUserEndpointTest(BaseModel):
agent_id: Optional[StrictStr] = Field(default=None, description="Unique ID of endpoint agent, from `/endpoint/agents` endpoint.", alias="agentId")
committed: Optional[datetime] = Field(default=None, description="UTC date when endpoint real user test was committed to the controller (ISO date-time format).")
var_date: Optional[datetime] = Field(default=None, description="UTC date when endpoint real user test took place (ISO date-time format).", alias="date")
experience_score: Optional[Union[Annotated[float, Field(le=1.0, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="Score rating a users experience when loading a particular page, from 0 (the worst) to 1 (the best). [More details](https://docs.thousandeyes.com/product-documentation/end-user-monitoring/viewing-data/endpoint-agent-views-reference#user-experience-score).", alias="experienceScore")
experience_score: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="Score rating a users experience when loading a particular page, from 0 (the worst) to 1 (the best). [More details](https://docs.thousandeyes.com/product-documentation/end-user-monitoring/viewing-data/endpoint-agent-views-reference#user-experience-score).", alias="experienceScore")
number_of_pages: Optional[StrictInt] = Field(default=None, description="Number of web pages visited on target website.", alias="numberOfPages")
organization_name: Optional[StrictStr] = Field(default=None, description="Name of the AS organization `sourceAddress` belongs to.", alias="organizationName")
port: Optional[StrictInt] = Field(default=None, description="Port used to visit target website.")

View File

@ -30,7 +30,7 @@ class RealUserEndpointTestBase(BaseModel):
agent_id: Optional[StrictStr] = Field(default=None, description="Unique ID of endpoint agent, from `/endpoint/agents` endpoint.", alias="agentId")
committed: Optional[datetime] = Field(default=None, description="UTC date when endpoint real user test was committed to the controller (ISO date-time format).")
var_date: Optional[datetime] = Field(default=None, description="UTC date when endpoint real user test took place (ISO date-time format).", alias="date")
experience_score: Optional[Union[Annotated[float, Field(le=1.0, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="Score rating a users experience when loading a particular page, from 0 (the worst) to 1 (the best). [More details](https://docs.thousandeyes.com/product-documentation/end-user-monitoring/viewing-data/endpoint-agent-views-reference#user-experience-score).", alias="experienceScore")
experience_score: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="Score rating a users experience when loading a particular page, from 0 (the worst) to 1 (the best). [More details](https://docs.thousandeyes.com/product-documentation/end-user-monitoring/viewing-data/endpoint-agent-views-reference#user-experience-score).", alias="experienceScore")
number_of_pages: Optional[StrictInt] = Field(default=None, description="Number of web pages visited on target website.", alias="numberOfPages")
organization_name: Optional[StrictStr] = Field(default=None, description="Name of the AS organization `sourceAddress` belongs to.", alias="organizationName")
port: Optional[StrictInt] = Field(default=None, description="Port used to visit target website.")

View File

@ -34,7 +34,7 @@ class RealUserEndpointTestDetail(BaseModel):
agent_id: Optional[StrictStr] = Field(default=None, description="Unique ID of endpoint agent, from `/endpoint/agents` endpoint.", alias="agentId")
committed: Optional[datetime] = Field(default=None, description="UTC date when endpoint real user test was committed to the controller (ISO date-time format).")
var_date: Optional[datetime] = Field(default=None, description="UTC date when endpoint real user test took place (ISO date-time format).", alias="date")
experience_score: Optional[Union[Annotated[float, Field(le=1.0, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="Score rating a users experience when loading a particular page, from 0 (the worst) to 1 (the best). [More details](https://docs.thousandeyes.com/product-documentation/end-user-monitoring/viewing-data/endpoint-agent-views-reference#user-experience-score).", alias="experienceScore")
experience_score: Optional[Union[Annotated[float, Field(le=1, strict=True, ge=0)], Annotated[int, Field(le=1, strict=True, ge=0)]]] = Field(default=None, description="Score rating a users experience when loading a particular page, from 0 (the worst) to 1 (the best). [More details](https://docs.thousandeyes.com/product-documentation/end-user-monitoring/viewing-data/endpoint-agent-views-reference#user-experience-score).", alias="experienceScore")
number_of_pages: Optional[StrictInt] = Field(default=None, description="Number of web pages visited on target website.", alias="numberOfPages")
organization_name: Optional[StrictStr] = Field(default=None, description="Name of the AS organization `sourceAddress` belongs to.", alias="organizationName")
port: Optional[StrictInt] = Field(default=None, description="Port used to visit target website.")

View File

@ -154,7 +154,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"connectTime" : 2,
@ -281,7 +281,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"connectTime" : 2,
@ -398,11 +398,11 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"conditionalOperator" : "and",
"filters" : [ {
"name" : "response-time",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
}, {
"name" : "response-time",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
} ]
}
@ -477,7 +477,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"connectTime" : 2,
@ -604,7 +604,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"connectTime" : 2,
@ -721,11 +721,11 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"conditionalOperator" : "and",
"filters" : [ {
"name" : "response-time",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
}, {
"name" : "response-time",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
} ]
}
@ -800,7 +800,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"connectTime" : 2,
@ -927,7 +927,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"connectTime" : 2,

View File

@ -49,11 +49,11 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"conditionalOperator" : "and",
"filters" : [ {
"name" : "loss",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
}, {
"name" : "loss",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
} ]
}
@ -87,7 +87,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
},
"isIcmpBlocked" : true,
"gatewayScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"tcpConnect" : {
@ -97,11 +97,11 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ]
},
"vpnScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"proxyScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"batteryMetrics" : {
@ -222,12 +222,12 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
} ]
},
"connectionScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"icmpPing" : {
"maxRtt" : 66,
"loss" : 1.0,
"loss" : 1,
"pktsReceived" : 10,
"avgRtt" : 7,
"meanDevRtt" : 11,
@ -239,7 +239,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49",
"roundId" : 1384309800,
"agentScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
}
}, {
@ -250,7 +250,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
},
"isIcmpBlocked" : true,
"gatewayScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"tcpConnect" : {
@ -260,11 +260,11 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ]
},
"vpnScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"proxyScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"batteryMetrics" : {
@ -385,12 +385,12 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
} ]
},
"connectionScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"icmpPing" : {
"maxRtt" : 66,
"loss" : 1.0,
"loss" : 1,
"pktsReceived" : 10,
"avgRtt" : 7,
"meanDevRtt" : 11,
@ -402,7 +402,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49",
"roundId" : 1384309800,
"agentScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
}
} ],
@ -471,7 +471,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"resolutionTime" : 3
},
"vpnScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"batteryMetrics" : {
@ -564,12 +564,12 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
},
"roundId" : 1384309800,
"agentScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"isIcmpBlocked" : true,
"gatewayScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"tcpConnect" : {
@ -579,7 +579,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ]
},
"proxyScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"coordinates" : {
@ -731,12 +731,12 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
} ]
},
"connectionScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"icmpPing" : {
"maxRtt" : 66,
"loss" : 1.0,
"loss" : 1,
"pktsReceived" : 10,
"avgRtt" : 7,
"meanDevRtt" : 11,
@ -753,7 +753,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"resolutionTime" : 3
},
"vpnScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"batteryMetrics" : {
@ -846,12 +846,12 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
},
"roundId" : 1384309800,
"agentScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"isIcmpBlocked" : true,
"gatewayScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"tcpConnect" : {
@ -861,7 +861,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ]
},
"proxyScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"coordinates" : {
@ -1013,12 +1013,12 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
} ]
},
"connectionScore" : {
"score" : 100.0,
"score" : 100,
"quality" : "great"
},
"icmpPing" : {
"maxRtt" : 66,
"loss" : 1.0,
"loss" : 1,
"pktsReceived" : 10,
"avgRtt" : 7,
"meanDevRtt" : 11,

View File

@ -48,11 +48,11 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase):
"conditionalOperator" : "and",
"filters" : [ {
"name" : "loss",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
}, {
"name" : "loss",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
} ]
}
@ -134,14 +134,14 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase):
"remoteIpAddress" : "120.98.134.7"
},
"agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49",
"minLatency" : 167.0,
"minLatency" : 167,
"vpnProfile" : {
"vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ],
"vpnGatewayAddress" : "120.98.134.7",
"vpnType" : "cisco-anyconnect",
"vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ]
},
"maxLatency" : 168.0,
"maxLatency" : 168,
"batteryMetrics" : {
"batteryLevel" : "medium",
"batteryLevelNormalizedPercent" : 0.3
@ -164,10 +164,10 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"loss" : 0.0,
"loss" : 0,
"protocol" : "tcp",
"networkProfile" : {
"previousInterface" : {
@ -216,13 +216,13 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase):
"gateway" : "10.0.0.1"
},
"ztaMetrics" : [ {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",
"type" : "zta_service"
}, {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",
@ -273,14 +273,14 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase):
"remoteIpAddress" : "120.98.134.7"
},
"agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49",
"minLatency" : 167.0,
"minLatency" : 167,
"vpnProfile" : {
"vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ],
"vpnGatewayAddress" : "120.98.134.7",
"vpnType" : "cisco-anyconnect",
"vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ]
},
"maxLatency" : 168.0,
"maxLatency" : 168,
"batteryMetrics" : {
"batteryLevel" : "medium",
"batteryLevelNormalizedPercent" : 0.3
@ -303,10 +303,10 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"loss" : 0.0,
"loss" : 0,
"protocol" : "tcp",
"networkProfile" : {
"previousInterface" : {
@ -355,13 +355,13 @@ class TestNetworkDynamicEndpointTestResultsApi(unittest.TestCase):
"gateway" : "10.0.0.1"
},
"ztaMetrics" : [ {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",
"type" : "zta_service"
}, {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",

View File

@ -47,11 +47,11 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"conditionalOperator" : "and",
"filters" : [ {
"name" : "loss",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
}, {
"name" : "loss",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
} ]
}
@ -136,14 +136,14 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49",
"isIcmpBlocked" : true,
"avgLatency" : 167.04,
"minLatency" : 167.0,
"minLatency" : 167,
"vpnProfile" : {
"vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ],
"vpnGatewayAddress" : "120.98.134.7",
"vpnType" : "cisco-anyconnect",
"vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ]
},
"maxLatency" : 168.0,
"maxLatency" : 168,
"batteryMetrics" : {
"batteryLevel" : "medium",
"batteryLevelNormalizedPercent" : 0.3
@ -166,10 +166,10 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"loss" : 0.0,
"loss" : 0,
"systemMetrics" : {
"cpuUtilization" : {
"min" : 0.22,
@ -240,13 +240,13 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"gateway" : "10.0.0.1"
},
"ztaMetrics" : [ {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",
"type" : "zta_service"
}, {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",
@ -265,14 +265,14 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49",
"isIcmpBlocked" : true,
"avgLatency" : 167.04,
"minLatency" : 167.0,
"minLatency" : 167,
"vpnProfile" : {
"vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ],
"vpnGatewayAddress" : "120.98.134.7",
"vpnType" : "cisco-anyconnect",
"vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ]
},
"maxLatency" : 168.0,
"maxLatency" : 168,
"batteryMetrics" : {
"batteryLevel" : "medium",
"batteryLevelNormalizedPercent" : 0.3
@ -295,10 +295,10 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"loss" : 0.0,
"loss" : 0,
"systemMetrics" : {
"cpuUtilization" : {
"min" : 0.22,
@ -369,13 +369,13 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"gateway" : "10.0.0.1"
},
"ztaMetrics" : [ {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",
"type" : "zta_service"
}, {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",
@ -412,11 +412,11 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"conditionalOperator" : "and",
"filters" : [ {
"name" : "loss",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
}, {
"name" : "loss",
"value" : 10.0,
"value" : 10,
"operator" : "gte"
} ]
}
@ -452,14 +452,14 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49",
"isIcmpBlocked" : true,
"avgLatency" : 167.04,
"minLatency" : 167.0,
"minLatency" : 167,
"vpnProfile" : {
"vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ],
"vpnGatewayAddress" : "120.98.134.7",
"vpnType" : "cisco-anyconnect",
"vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ]
},
"maxLatency" : 168.0,
"maxLatency" : 168,
"batteryMetrics" : {
"batteryLevel" : "medium",
"batteryLevelNormalizedPercent" : 0.3
@ -482,10 +482,10 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"loss" : 0.0,
"loss" : 0,
"systemMetrics" : {
"cpuUtilization" : {
"min" : 0.22,
@ -556,13 +556,13 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"gateway" : "10.0.0.1"
},
"ztaMetrics" : [ {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",
"type" : "zta_service"
}, {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",
@ -581,14 +581,14 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49",
"isIcmpBlocked" : true,
"avgLatency" : 167.04,
"minLatency" : 167.0,
"minLatency" : 167,
"vpnProfile" : {
"vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ],
"vpnGatewayAddress" : "120.98.134.7",
"vpnType" : "cisco-anyconnect",
"vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ]
},
"maxLatency" : 168.0,
"maxLatency" : 168,
"batteryMetrics" : {
"batteryLevel" : "medium",
"batteryLevelNormalizedPercent" : 0.3
@ -611,10 +611,10 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20
},
"score" : {
"applicationScore" : 100.0,
"applicationScore" : 100,
"quality" : "great"
},
"loss" : 0.0,
"loss" : 0,
"systemMetrics" : {
"cpuUtilization" : {
"min" : 0.22,
@ -685,13 +685,13 @@ class TestNetworkEndpointScheduledTestResultsApi(unittest.TestCase):
"gateway" : "10.0.0.1"
},
"ztaMetrics" : [ {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",
"type" : "zta_service"
}, {
"loss" : 50.0,
"loss" : 50,
"jitter" : 5,
"avgLatency" : 3,
"errorMessage" : "ERR_NAME_NOT_RESOLVED",

View File

@ -591,10 +591,10 @@ class TestRealUserEndpointTestResultsApi(unittest.TestCase):
"count" : 10
},
"physicalMemoryUsedBytes" : {
"min" : 1.2805128192E10,
"max" : 1.2825530368E10,
"min" : 12805128192,
"max" : 12825530368,
"mean" : 1.281914582109091E10,
"median" : 1.2818219008E10,
"median" : 12818219008,
"stdDev" : 5741124.05691331,
"count" : 11
},
@ -663,7 +663,7 @@ class TestRealUserEndpointTestResultsApi(unittest.TestCase):
"isIcmpBlocked" : true,
"vpnPing" : {
"maxRtt" : 66,
"loss" : 1.0,
"loss" : 1,
"pktsReceived" : 10,
"avgRtt" : 7,
"meanDevRtt" : 11,
@ -674,7 +674,7 @@ class TestRealUserEndpointTestResultsApi(unittest.TestCase):
},
"ping" : {
"maxRtt" : 66,
"loss" : 1.0,
"loss" : 1,
"pktsReceived" : 10,
"avgRtt" : 7,
"meanDevRtt" : 11,
@ -778,7 +778,7 @@ class TestRealUserEndpointTestResultsApi(unittest.TestCase):
"connectRtt" : 77.777,
"gatewayPing" : {
"maxRtt" : 66,
"loss" : 1.0,
"loss" : 1,
"pktsReceived" : 10,
"avgRtt" : 7,
"meanDevRtt" : 11,
@ -857,7 +857,7 @@ class TestRealUserEndpointTestResultsApi(unittest.TestCase):
"isIcmpBlocked" : true,
"vpnPing" : {
"maxRtt" : 66,
"loss" : 1.0,
"loss" : 1,
"pktsReceived" : 10,
"avgRtt" : 7,
"meanDevRtt" : 11,
@ -868,7 +868,7 @@ class TestRealUserEndpointTestResultsApi(unittest.TestCase):
},
"ping" : {
"maxRtt" : 66,
"loss" : 1.0,
"loss" : 1,
"pktsReceived" : 10,
"avgRtt" : 7,
"meanDevRtt" : 11,
@ -972,7 +972,7 @@ class TestRealUserEndpointTestResultsApi(unittest.TestCase):
"connectRtt" : 77.777,
"gatewayPing" : {
"maxRtt" : 66,
"loss" : 1.0,
"loss" : 1,
"pktsReceived" : 10,
"avgRtt" : 7,
"meanDevRtt" : 11,

View File

@ -1,11 +1,10 @@
# thousandeyes-sdk-endpoint-tests
Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -1,5 +1,4 @@
# thousandeyes-sdk-event-detection
Event detection occurs when ThousandEyes identifies that error signals related to a component (proxy, network node, AS, server etc) have deviated from the baselines established by events.
* To determine this, ThousandEyes takes the test results from all accounts groups within an organization, and analyzes that data.
* Noisy test results (those that have too many errors in a short window) are removed until they stabilize, and the rest of the results are tagged with the components associated with that test result (for example, proxy, network, or server).
@ -12,7 +11,7 @@ With the Events API, you can perform the following tasks on the ThousandEyes pla
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -45,7 +45,7 @@ docs/DnsServerInstantTest.md
docs/DnsServerInstantTestRequest.md
docs/DnsServerInstantTestResponse.md
docs/DnsServerProperties.md
docs/DnsServersRequest.md
docs/DnsServerRequestProperties.md
docs/DnsTraceInstantTest.md
docs/DnsTraceInstantTestRequest.md
docs/DnsTraceInstantTestResponse.md
@ -172,7 +172,7 @@ src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test.py
src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test_request.py
src/thousandeyes_sdk/instant_tests/models/dns_server_instant_test_response.py
src/thousandeyes_sdk/instant_tests/models/dns_server_properties.py
src/thousandeyes_sdk/instant_tests/models/dns_servers_request.py
src/thousandeyes_sdk/instant_tests/models/dns_server_request_properties.py
src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test.py
src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_request.py
src/thousandeyes_sdk/instant_tests/models/dns_trace_instant_test_response.py

View File

@ -6,7 +6,7 @@ The response does not include the immediate test results. Use the Test Results e
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.84
- API version: 7.0.86
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
@ -154,7 +154,7 @@ Class | Method | HTTP request | Description
- [DnsServerInstantTestRequest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTestRequest.md)
- [DnsServerInstantTestResponse](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/DnsServerInstantTestResponse.md)
- [DnsServerProperties](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/DnsServerProperties.md)
- [DnsServersRequest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/DnsServersRequest.md)
- [DnsServerRequestProperties](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/DnsServerRequestProperties.md)
- [DnsTraceInstantTest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTest.md)
- [DnsTraceInstantTestRequest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTestRequest.md)
- [DnsTraceInstantTestResponse](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-instant-tests/docs/DnsTraceInstantTestResponse.md)

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it&#39;s set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**agent_type** | [**CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | |
## Example

View File

@ -16,8 +16,6 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**direction** | [**TestDirection**](TestDirection.md) | | [optional]
**dscp** | **str** | DSCP label. | [optional] [readonly]
**dscp_id** | [**TestDscpId**](TestDscpId.md) | | [optional]
@ -32,7 +30,9 @@ Name | Type | Description | Notes
**throughput_duration** | **int** | The throughput duration. | [optional] [default to 10000]
**throughput_rate** | **int** | The throughput rate, only applicable for UDP protocol. | [optional]
**fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
## Example

View File

@ -16,8 +16,6 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**bandwidth_measurements** | **bool** | Set to &#x60;true&#x60; to enable bandwidth measurements, only applies to Enterprise agents assigned to the test. | [optional]
**continuous_mode** | **bool** | To enable continuous monitoring, set this parameter to &#x60;true&#x60; to. When continuous monitoring is enabled, the following actions occur: * &#x60;fixedPacketRate&#x60; is enforced * &#x60;bandwidthMeasurements&#x60; are disabled * If the &#x60;protocol&#x60; is set to &#x60;tcp&#x60;, &#x60;probeMode&#x60; is set to &#x60;syn&#x60;. | [optional]
**fixed_packet_rate** | **int** | If continuousMode is &#x60;false&#x60;, set the fixedPacketRate to a value between 10-100. If &#x60;continuousMode&#x60; is &#x60;true&#x60;, set the &#x60;fixedPacketRate&#x60; to &#x60;1&#x60; | [optional]
@ -33,7 +31,9 @@ Name | Type | Description | Notes
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
**ping_payload_size** | **int** | Payload size (not total packet size) for the end-to-end metric&#39;s probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests. | [optional]
**network_measurements** | **bool** | View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to &#x60;true&#x60; to enable network measurements. | [optional] [default to False]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
## Example

View File

@ -16,8 +16,6 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**client_certificate** | **str** | String representation (containing newline characters) of client certificate, the private key must be placed first, then the certificate. | [optional]
**client_cert_domains_allow_list** | **str** | Comma separated list of domains to send the client certificate. | [optional]
**collect_proxy_network_data** | **bool** | Indicates whether network data to the proxy should be collected. | [optional] [default to False]
@ -38,9 +36,11 @@ Name | Type | Description | Notes
**target_time** | **int** | Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior) | [optional]
**time_limit** | **int** | Time limit for transaction in seconds. Exceeding this limit will result in a Timeout error. | [optional] [default to 30]
**url** | **str** | Target for the test. |
**credentials** | **List[str]** | Contains a list of credential IDs (get &#x60;credentialId&#x60; from &#x60;/credentials&#x60; endpoint). | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
**credentials** | **List[str]** | Contains a list of credential IDs (get &#x60;credentialId&#x60; from &#x60;/credentials&#x60; endpoint). | [optional]
## Example

View File

@ -16,12 +16,12 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. |
**dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional]
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
## Example

View File

@ -16,8 +16,6 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**bandwidth_measurements** | **bool** | Set to &#x60;true&#x60; to enable bandwidth measurements, only applies to Enterprise agents assigned to the test. | [optional]
**dns_servers** | **List[str]** | A list of DNS server FQDN. |
**dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional]
@ -33,7 +31,9 @@ Name | Type | Description | Notes
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
**fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional]
**dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
## Example

View File

@ -0,0 +1,44 @@
# DnsServerRequestProperties
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**bandwidth_measurements** | **bool** | Set to &#x60;true&#x60; to enable bandwidth measurements, only applies to Enterprise agents assigned to the test. | [optional]
**dns_servers** | **List[str]** | A list of DNS server FQDN. |
**dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional]
**domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. |
**mtu_measurements** | **bool** | Set &#x60;true&#x60; to measure MTU sizes on network from agents to the target. | [optional]
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
**path_trace_mode** | [**TestPathTraceMode**](TestPathTraceMode.md) | | [optional]
**probe_mode** | [**TestProbeMode**](TestProbeMode.md) | | [optional]
**protocol** | [**TestProtocol**](TestProtocol.md) | | [optional]
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
**recursive_queries** | **bool** | Set true to run query with RD (recursion desired) flag enabled. | [optional]
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
**fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional]
**dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional]
**type** | **str** | | [optional] [readonly]
## Example
```python
from thousandeyes_sdk.instant_tests.models.dns_server_request_properties import DnsServerRequestProperties
# TODO update the JSON string below
json = "{}"
# create an instance of DnsServerRequestProperties from a JSON string
dns_server_request_properties_instance = DnsServerRequestProperties.from_json(json)
# print the JSON string representation of the object
print(DnsServerRequestProperties.to_json())
# convert the object into a dict
dns_server_request_properties_dict = dns_server_request_properties_instance.to_dict()
# create an instance of DnsServerRequestProperties from a dict
dns_server_request_properties_from_dict = DnsServerRequestProperties.from_dict(dns_server_request_properties_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -1,29 +0,0 @@
# DnsServersRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**dns_servers** | **List[str]** | A list of DNS server FQDN. | [optional]
## Example
```python
from thousandeyes_sdk.instant_tests.models.dns_servers_request import DnsServersRequest
# TODO update the JSON string below
json = "{}"
# create an instance of DnsServersRequest from a JSON string
dns_servers_request_instance = DnsServersRequest.from_json(json)
# print the JSON string representation of the object
print(DnsServersRequest.to_json())
# convert the object into a dict
dns_servers_request_dict = dns_servers_request_instance.to_dict()
# create an instance of DnsServersRequest from a dict
dns_servers_request_from_dict = DnsServersRequest.from_dict(dns_servers_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -16,13 +16,13 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**dns_transport_protocol** | [**TestDnsTransportProtocol**](TestDnsTransportProtocol.md) | | [optional]
**domain** | **str** | The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record. |
**dns_query_class** | [**DnsQueryClass**](DnsQueryClass.md) | | [optional]
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
## Example

View File

@ -16,8 +16,6 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**bandwidth_measurements** | **bool** | Set to &#x60;true&#x60; to enable bandwidth measurements, only applies to Enterprise agents assigned to the test. | [optional]
**download_limit** | **int** | Specify maximum number of bytes to download from the target object. | [optional]
**ftp_target_time** | **int** | Target time for operation completion; specified in milliseconds. | [optional]
@ -37,7 +35,9 @@ Name | Type | Description | Notes
**username** | **str** | Username for Basic/NTLM authentication. |
**fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional]
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
## Example

View File

@ -16,8 +16,6 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**auth_type** | [**TestAuthType**](TestAuthType.md) | | [optional]
**agent_interfaces** | [**AgentInterfaces**](AgentInterfaces.md) | | [optional]
**bandwidth_measurements** | **bool** | Set to &#x60;true&#x60; to enable bandwidth measurements, only applies to Enterprise agents assigned to the test. | [optional]
@ -57,7 +55,9 @@ Name | Type | Description | Notes
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
**post_body** | **str** | 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 &#x60;requestMethod&#x60; is automatically set to POST. | [optional]
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
## Example

View File

@ -16,8 +16,6 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**auth_type** | [**TestAuthType**](TestAuthType.md) | | [optional]
**agent_interfaces** | [**AgentInterfaces**](AgentInterfaces.md) | | [optional]
**bandwidth_measurements** | **bool** | Set to &#x60;true&#x60; to enable bandwidth measurements, only applies to Enterprise agents assigned to the test. | [optional]
@ -66,7 +64,9 @@ Name | Type | Description | Notes
**page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional]
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
**identify_agent_traffic_with_user_agent** | **bool** | Determines how agent traffic is identified: * &#x60;false&#x60;: Adds the &#x60;x-thousandeyes-agent: yes&#x60; header. * &#x60;true&#x60;: Appends &#x60;(ThousandEyes Agent)&#x60; to the &#x60;user-agent&#x60; header. For more information, see [Notes on Agent ID Strategy](https://docs.thousandeyes.com/product-documentation/browser-synthetics/test-settings-page-load-transaction#notes-on-agent-id-strategy). | [optional] [default to False]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
## Example

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [optional]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
**verify_ssl_certificates** | **bool** | Flag indicating if has normal SSL operations or if instead it&#39;s set to ignore SSL errors on browserbot-based tests. | [optional] [readonly]
**prefix** | **str** | Prefix containing agents public IP address. | [optional] [readonly]
## Example

View File

@ -16,8 +16,6 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**mtu_measurements** | **bool** | Set &#x60;true&#x60; to measure MTU sizes on network from agents to the target. | [optional]
**network_measurements** | **bool** | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True]
**num_path_traces** | **int** | Number of path traces executed by the agent. | [optional] [default to 3]
@ -30,7 +28,9 @@ Name | Type | Description | Notes
**sip_time_limit** | **int** | Time limit in milliseconds. | [optional] [default to 5]
**fixed_packet_rate** | **int** | Sets packets rate sent to measure the network in packets per second. | [optional]
**ipv6_policy** | [**TestIpv6Policy**](TestIpv6Policy.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
**target_sip_credentials** | [**TestSipCredentials**](TestSipCredentials.md) | |

View File

@ -16,8 +16,6 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**codec** | **str** | Codec label | [optional] [readonly]
**codec_id** | **str** | Coded ID, [see the list of acceptable values](https://docs.thousandeyes.com/product-documentation/internet-and-wan-monitoring/tests/working-with-test-settings#rtp-stream-advanced-settings-tab) | [optional]
**dscp** | **str** | DSCP label. | [optional] [readonly]
@ -28,7 +26,9 @@ Name | Type | Description | Notes
**port** | **int** | Port number for the chosen protocol. | [optional]
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
**target_agent_id** | **str** | Agent ID of the target agent for the test. |
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
## Example

View File

@ -16,8 +16,6 @@ Name | Type | Description | Notes
**test_name** | **str** | The name of the test. Test name must be unique. | [optional]
**type** | **str** | | [optional] [readonly]
**links** | [**TestLinks**](TestLinks.md) | | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**auth_type** | [**TestAuthType**](TestAuthType.md) | | [optional]
**agent_interfaces** | [**AgentInterfaces**](AgentInterfaces.md) | | [optional]
**bandwidth_measurements** | **bool** | Set to &#x60;true&#x60; to enable bandwidth measurements, only applies to Enterprise agents assigned to the test. | [optional]
@ -67,9 +65,11 @@ Name | Type | Description | Notes
**page_loading_strategy** | [**TestPageLoadingStrategy**](TestPageLoadingStrategy.md) | | [optional]
**randomized_start_time** | **bool** | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False]
**identify_agent_traffic_with_user_agent** | **bool** | Determines how agent traffic is identified: * &#x60;false&#x60;: Adds the &#x60;x-thousandeyes-agent: yes&#x60; header. * &#x60;true&#x60;: Appends &#x60;(ThousandEyes Agent)&#x60; to the &#x60;user-agent&#x60; header. For more information, see [Notes on Agent ID Strategy](https://docs.thousandeyes.com/product-documentation/browser-synthetics/test-settings-page-load-transaction#notes-on-agent-id-strategy). | [optional] [default to False]
**credentials** | **List[str]** | Contains a list of credential IDs (get &#x60;credentialId&#x60; from &#x60;/credentials&#x60; endpoint). | [optional]
**labels** | **List[str]** | A list of test label identifiers (get &#x60;labelId&#x60; from &#x60;/labels&#x60; endpoint). | [optional]
**tags** | **List[str]** | A list of test tag identifiers (get &#x60;id&#x60; from &#x60;/tags&#x60; endpoint). | [optional]
**shared_with_accounts** | **List[str]** | A list of account group identifiers that the test is shared with (get &#x60;aid&#x60; from &#x60;/account-groups&#x60; endpoint). | [optional]
**agents** | [**List[TestAgent]**](TestAgent.md) | A list of objects with &#x60;agentId&#x60; (required) and &#x60;sourceIpAddress&#x60; (optional). |
**credentials** | **List[str]** | Contains a list of credential IDs (get &#x60;credentialId&#x60; from &#x60;/credentials&#x60; endpoint). | [optional]
## Example

View File

@ -68,7 +68,7 @@ from thousandeyes_sdk.instant_tests.models.dns_server_instant_test import DnsSer
from thousandeyes_sdk.instant_tests.models.dns_server_instant_test_request import DnsServerInstantTestRequest
from thousandeyes_sdk.instant_tests.models.dns_server_instant_test_response import DnsServerInstantTestResponse
from thousandeyes_sdk.instant_tests.models.dns_server_properties import DnsServerProperties
from thousandeyes_sdk.instant_tests.models.dns_servers_request import DnsServersRequest
from thousandeyes_sdk.instant_tests.models.dns_server_request_properties import DnsServerRequestProperties
from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test import DnsTraceInstantTest
from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test_request import DnsTraceInstantTestRequest
from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test_response import DnsTraceInstantTestResponse

View File

@ -51,7 +51,7 @@ from thousandeyes_sdk.instant_tests.models.dns_server_instant_test import DnsSer
from thousandeyes_sdk.instant_tests.models.dns_server_instant_test_request import DnsServerInstantTestRequest
from thousandeyes_sdk.instant_tests.models.dns_server_instant_test_response import DnsServerInstantTestResponse
from thousandeyes_sdk.instant_tests.models.dns_server_properties import DnsServerProperties
from thousandeyes_sdk.instant_tests.models.dns_servers_request import DnsServersRequest
from thousandeyes_sdk.instant_tests.models.dns_server_request_properties import DnsServerRequestProperties
from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test import DnsTraceInstantTest
from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test_request import DnsTraceInstantTestRequest
from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test_response import DnsTraceInstantTestResponse

View File

@ -36,10 +36,10 @@ class AgentResponse(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
verify_ssl_certificates: Optional[StrictBool] = Field(default=None, description="Flag indicating if has normal SSL operations or if instead it's set to ignore SSL errors on browserbot-based tests.", alias="verifySslCertificates")
prefix: Optional[StrictStr] = Field(default=None, description="Prefix containing agents public IP address.")
agent_type: CloudEnterpriseAgentType = Field(alias="agentType")
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "prefix", "verifySslCertificates", "agentType"]
__properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix", "agentType"]
model_config = ConfigDict(
populate_by_name=True,
@ -88,8 +88,8 @@ class AgentResponse(BaseModel):
"agent_id",
"location",
"country_id",
"prefix",
"verify_ssl_certificates",
"prefix",
])
_dict = self.model_dump(
@ -121,8 +121,8 @@ class AgentResponse(BaseModel):
"countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"agentType": obj.get("agentType")
})
return _obj

View File

@ -44,8 +44,6 @@ class AgentToAgentInstantTestRequest(BaseModel):
test_name: Optional[StrictStr] = Field(default=None, description="The name of the test. Test name must be unique.", alias="testName")
type: Optional[StrictStr] = None
links: Optional[TestLinks] = Field(default=None, alias="_links")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
direction: Optional[TestDirection] = None
dscp: Optional[StrictStr] = Field(default=None, description="DSCP label.")
dscp_id: Optional[TestDscpId] = Field(default=None, alias="dscpId")
@ -60,9 +58,11 @@ class AgentToAgentInstantTestRequest(BaseModel):
throughput_duration: Optional[Annotated[int, Field(le=30000, strict=True, ge=5000)]] = Field(default=10000, description="The throughput duration.", alias="throughputDuration")
throughput_rate: Optional[Annotated[int, Field(le=1000, strict=True, ge=8)]] = Field(default=None, description="The throughput rate, only applicable for UDP protocol.", alias="throughputRate")
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")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
tags: Optional[List[StrictStr]] = Field(default=None, description="A list of test tag identifiers (get `id` from `/tags` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "tags", "agents"]
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "direction", "dscp", "dscpId", "mss", "numPathTraces", "pathTraceMode", "port", "protocol", "randomizedStartTime", "targetAgentId", "throughputMeasurements", "throughputDuration", "throughputRate", "fixedPacketRate", "labels", "tags", "sharedWithAccounts", "agents"]
model_config = ConfigDict(
populate_by_name=True,
@ -155,8 +155,6 @@ class AgentToAgentInstantTestRequest(BaseModel):
"testName": obj.get("testName"),
"type": obj.get("type"),
"_links": TestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
"labels": obj.get("labels"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"direction": obj.get("direction"),
"dscp": obj.get("dscp"),
"dscpId": obj.get("dscpId"),
@ -171,7 +169,9 @@ class AgentToAgentInstantTestRequest(BaseModel):
"throughputDuration": obj.get("throughputDuration") if obj.get("throughputDuration") is not None else 10000,
"throughputRate": obj.get("throughputRate"),
"fixedPacketRate": obj.get("fixedPacketRate"),
"labels": obj.get("labels"),
"tags": obj.get("tags"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
})
return _obj

View File

@ -45,8 +45,6 @@ class AgentToServerInstantTestRequest(BaseModel):
test_name: Optional[StrictStr] = Field(default=None, description="The name of the test. Test name must be unique.", alias="testName")
type: Optional[StrictStr] = None
links: Optional[TestLinks] = Field(default=None, alias="_links")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
bandwidth_measurements: Optional[StrictBool] = Field(default=None, description="Set to `true` to enable bandwidth measurements, only applies to Enterprise agents assigned to the test.", alias="bandwidthMeasurements")
continuous_mode: Optional[StrictBool] = Field(default=None, description="To enable continuous monitoring, set this parameter to `true` to. When continuous monitoring is enabled, the following actions occur: * `fixedPacketRate` is enforced * `bandwidthMeasurements` are disabled * If the `protocol` is set to `tcp`, `probeMode` is set to `syn`. ", alias="continuousMode")
fixed_packet_rate: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="If continuousMode is `false`, set the fixedPacketRate to a value between 10-100. If `continuousMode` is `true`, set the `fixedPacketRate` to `1`", alias="fixedPacketRate")
@ -62,9 +60,11 @@ class AgentToServerInstantTestRequest(BaseModel):
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
ping_payload_size: Optional[Annotated[int, Field(le=1400, strict=True, ge=0)]] = Field(default=None, description="Payload size (not total packet size) for the end-to-end metric's probes, ping payload size allows values from 0 to 1400 bytes. When set to null, payload sizes are 0 bytes for ICMP-based tests and 1 byte for TCP-based tests.", alias="pingPayloadSize")
network_measurements: Optional[StrictBool] = Field(default=False, description="View packet loss in 1-second intervals. This is only available for 1-minute interval tests. Set to `true` to enable network measurements.", alias="networkMeasurements")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
tags: Optional[List[StrictStr]] = Field(default=None, description="A list of test tag identifiers (get `id` from `/tags` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "tags", "agents"]
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "bandwidthMeasurements", "continuousMode", "fixedPacketRate", "mtuMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "server", "dscp", "dscpId", "ipv6Policy", "pingPayloadSize", "networkMeasurements", "labels", "tags", "sharedWithAccounts", "agents"]
model_config = ConfigDict(
populate_by_name=True,
@ -157,8 +157,6 @@ class AgentToServerInstantTestRequest(BaseModel):
"testName": obj.get("testName"),
"type": obj.get("type"),
"_links": TestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
"labels": obj.get("labels"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"bandwidthMeasurements": obj.get("bandwidthMeasurements"),
"continuousMode": obj.get("continuousMode"),
"fixedPacketRate": obj.get("fixedPacketRate"),
@ -174,7 +172,9 @@ class AgentToServerInstantTestRequest(BaseModel):
"ipv6Policy": obj.get("ipv6Policy"),
"pingPayloadSize": obj.get("pingPayloadSize"),
"networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else False,
"labels": obj.get("labels"),
"tags": obj.get("tags"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
})
return _obj

View File

@ -46,8 +46,6 @@ class ApiInstantTestRequest(BaseModel):
test_name: Optional[StrictStr] = Field(default=None, description="The name of the test. Test name must be unique.", alias="testName")
type: Optional[StrictStr] = None
links: Optional[TestLinks] = Field(default=None, alias="_links")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
client_certificate: Optional[StrictStr] = Field(default=None, description="String representation (containing newline characters) of client certificate, the private key must be placed first, then the certificate.", alias="clientCertificate")
client_cert_domains_allow_list: Optional[StrictStr] = Field(default=None, description="Comma separated list of domains to send the client certificate.", alias="clientCertDomainsAllowList")
collect_proxy_network_data: Optional[StrictBool] = Field(default=False, description="Indicates whether network data to the proxy should be collected.", alias="collectProxyNetworkData")
@ -68,10 +66,12 @@ class ApiInstantTestRequest(BaseModel):
target_time: Optional[Annotated[int, Field(le=60, strict=True, ge=0)]] = Field(default=None, description="Target time for completion metric, defaults to 50% of time limit specified in seconds. (0 means default behavior)", alias="targetTime")
time_limit: Optional[Annotated[int, Field(le=180, strict=True, ge=5)]] = Field(default=30, description="Time limit for transaction in seconds. Exceeding this limit will result in a Timeout error.", alias="timeLimit")
url: StrictStr = Field(description="Target for the test.")
credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
tags: Optional[List[StrictStr]] = Field(default=None, description="A list of test tag identifiers (get `id` from `/tags` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "clientCertificate", "clientCertDomainsAllowList", "collectProxyNetworkData", "distributedTracing", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "credentials", "tags", "agents"]
credentials: Optional[List[StrictStr]] = Field(default=None, description="Contains a list of credential IDs (get `credentialId` from `/credentials` endpoint).")
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "clientCertificate", "clientCertDomainsAllowList", "collectProxyNetworkData", "distributedTracing", "followRedirects", "mtuMeasurements", "networkMeasurements", "numPathTraces", "overrideAgentProxy", "overrideProxyId", "pathTraceMode", "predefinedVariables", "probeMode", "protocol", "randomizedStartTime", "requests", "sslVersionId", "targetTime", "timeLimit", "url", "labels", "tags", "sharedWithAccounts", "agents", "credentials"]
model_config = ConfigDict(
populate_by_name=True,
@ -176,8 +176,6 @@ class ApiInstantTestRequest(BaseModel):
"testName": obj.get("testName"),
"type": obj.get("type"),
"_links": TestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
"labels": obj.get("labels"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"clientCertificate": obj.get("clientCertificate"),
"clientCertDomainsAllowList": obj.get("clientCertDomainsAllowList"),
"collectProxyNetworkData": obj.get("collectProxyNetworkData") if obj.get("collectProxyNetworkData") is not None else False,
@ -198,9 +196,11 @@ class ApiInstantTestRequest(BaseModel):
"targetTime": obj.get("targetTime"),
"timeLimit": obj.get("timeLimit") if obj.get("timeLimit") is not None else 30,
"url": obj.get("url"),
"credentials": obj.get("credentials"),
"labels": obj.get("labels"),
"tags": obj.get("tags"),
"agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None,
"credentials": obj.get("credentials")
})
return _obj

View File

@ -40,14 +40,14 @@ class DnsSecInstantTestRequest(BaseModel):
test_name: Optional[StrictStr] = Field(default=None, description="The name of the test. Test name must be unique.", alias="testName")
type: Optional[StrictStr] = None
links: Optional[TestLinks] = Field(default=None, alias="_links")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
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.")
dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass")
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
tags: Optional[List[StrictStr]] = Field(default=None, description="A list of test tag identifiers (get `id` from `/tags` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "domain", "dnsQueryClass", "randomizedStartTime", "tags", "agents"]
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "domain", "dnsQueryClass", "randomizedStartTime", "labels", "tags", "sharedWithAccounts", "agents"]
model_config = ConfigDict(
populate_by_name=True,
@ -138,12 +138,12 @@ class DnsSecInstantTestRequest(BaseModel):
"testName": obj.get("testName"),
"type": obj.get("type"),
"_links": TestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
"labels": obj.get("labels"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"domain": obj.get("domain"),
"dnsQueryClass": obj.get("dnsQueryClass"),
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
"labels": obj.get("labels"),
"tags": obj.get("tags"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
})
return _obj

View File

@ -46,8 +46,6 @@ class DnsServerInstantTestRequest(BaseModel):
test_name: Optional[StrictStr] = Field(default=None, description="The name of the test. Test name must be unique.", alias="testName")
type: Optional[StrictStr] = None
links: Optional[TestLinks] = Field(default=None, alias="_links")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
bandwidth_measurements: Optional[StrictBool] = Field(default=None, description="Set to `true` to enable bandwidth measurements, only applies to Enterprise agents assigned to the test.", alias="bandwidthMeasurements")
dns_servers: List[StrictStr] = Field(description="A list of DNS server FQDN.", alias="dnsServers")
dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol")
@ -63,9 +61,11 @@ class DnsServerInstantTestRequest(BaseModel):
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
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")
dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
tags: Optional[List[StrictStr]] = Field(default=None, description="A list of test tag identifiers (get `id` from `/tags` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
__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", "tags", "agents"]
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "labels", "tags", "sharedWithAccounts", "agents"]
model_config = ConfigDict(
populate_by_name=True,
@ -156,8 +156,6 @@ class DnsServerInstantTestRequest(BaseModel):
"testName": obj.get("testName"),
"type": obj.get("type"),
"_links": TestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
"labels": obj.get("labels"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"bandwidthMeasurements": obj.get("bandwidthMeasurements"),
"dnsServers": obj.get("dnsServers"),
"dnsTransportProtocol": obj.get("dnsTransportProtocol"),
@ -173,7 +171,9 @@ class DnsServerInstantTestRequest(BaseModel):
"ipv6Policy": obj.get("ipv6Policy"),
"fixedPacketRate": obj.get("fixedPacketRate"),
"dnsQueryClass": obj.get("dnsQueryClass"),
"labels": obj.get("labels"),
"tags": obj.get("tags"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
})
return _obj

View File

@ -0,0 +1,126 @@
# coding: utf-8
"""
Instant Tests API
The Instant Tests API operations lets you create and run new instant tests. You will need to be an Account Admin. 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.
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
from __future__ import annotations
import pprint
import re # noqa: F401
import json
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from typing_extensions import Annotated
from thousandeyes_sdk.instant_tests.models.dns_query_class import DnsQueryClass
from thousandeyes_sdk.instant_tests.models.test_dns_transport_protocol import TestDnsTransportProtocol
from thousandeyes_sdk.instant_tests.models.test_ipv6_policy import TestIpv6Policy
from thousandeyes_sdk.instant_tests.models.test_path_trace_mode import TestPathTraceMode
from thousandeyes_sdk.instant_tests.models.test_probe_mode import TestProbeMode
from thousandeyes_sdk.instant_tests.models.test_protocol import TestProtocol
from typing import Optional, Set
from typing_extensions import Self
class DnsServerRequestProperties(BaseModel):
"""
DnsServerRequestProperties
""" # noqa: E501
bandwidth_measurements: Optional[StrictBool] = Field(default=None, description="Set to `true` to enable bandwidth measurements, only applies to Enterprise agents assigned to the test.", alias="bandwidthMeasurements")
dns_servers: List[StrictStr] = Field(description="A list of DNS server FQDN.", alias="dnsServers")
dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol")
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.")
mtu_measurements: Optional[StrictBool] = Field(default=None, description="Set `true` to measure MTU sizes on network from agents to the target.", alias="mtuMeasurements")
network_measurements: Optional[StrictBool] = Field(default=True, description="Enable or disable network measurements. Set to true to enable or false to disable network measurements.", alias="networkMeasurements")
num_path_traces: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=3, description="Number of path traces executed by the agent.", alias="numPathTraces")
path_trace_mode: Optional[TestPathTraceMode] = Field(default=None, alias="pathTraceMode")
probe_mode: Optional[TestProbeMode] = Field(default=None, alias="probeMode")
protocol: Optional[TestProtocol] = None
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
recursive_queries: Optional[StrictBool] = Field(default=None, description="Set true to run query with RD (recursion desired) flag enabled.", alias="recursiveQueries")
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
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")
dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass")
type: Optional[StrictStr] = None
__properties: ClassVar[List[str]] = ["bandwidthMeasurements", "dnsServers", "dnsTransportProtocol", "domain", "mtuMeasurements", "networkMeasurements", "numPathTraces", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "recursiveQueries", "ipv6Policy", "fixedPacketRate", "dnsQueryClass", "type"]
model_config = ConfigDict(
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
extra="allow",
)
def to_str(self) -> str:
"""Returns the string representation of the model using alias"""
return pprint.pformat(self.model_dump(by_alias=True))
def to_json(self) -> str:
"""Returns the JSON representation of the model using alias"""
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
return self.model_dump_json(by_alias=True, exclude_unset=True, exclude_none=True)
@classmethod
def from_json(cls, json_str: str) -> Optional[Self]:
"""Create an instance of DnsServerRequestProperties from a JSON string"""
return cls.from_dict(json.loads(json_str))
def to_dict(self) -> Dict[str, Any]:
"""Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic's
`self.model_dump(by_alias=True)`:
* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
* OpenAPI `readOnly` fields are excluded.
"""
excluded_fields: Set[str] = set([
"type",
])
_dict = self.model_dump(
by_alias=True,
exclude=excluded_fields,
exclude_none=True,
)
return _dict
@classmethod
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"""Create an instance of DnsServerRequestProperties from a dict"""
if obj is None:
return None
if not isinstance(obj, dict):
return cls.model_validate(obj)
_obj = cls.model_validate({
"bandwidthMeasurements": obj.get("bandwidthMeasurements"),
"dnsServers": obj.get("dnsServers"),
"dnsTransportProtocol": obj.get("dnsTransportProtocol"),
"domain": obj.get("domain"),
"mtuMeasurements": obj.get("mtuMeasurements"),
"networkMeasurements": obj.get("networkMeasurements") if obj.get("networkMeasurements") is not None else True,
"numPathTraces": obj.get("numPathTraces") if obj.get("numPathTraces") is not None else 3,
"pathTraceMode": obj.get("pathTraceMode"),
"probeMode": obj.get("probeMode"),
"protocol": obj.get("protocol"),
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
"recursiveQueries": obj.get("recursiveQueries"),
"ipv6Policy": obj.get("ipv6Policy"),
"fixedPacketRate": obj.get("fixedPacketRate"),
"dnsQueryClass": obj.get("dnsQueryClass"),
"type": obj.get("type")
})
return _obj

View File

@ -1,87 +0,0 @@
# coding: utf-8
"""
Instant Tests API
The Instant Tests API operations lets you create and run new instant tests. You will need to be an Account Admin. 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.
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
from __future__ import annotations
import pprint
import re # noqa: F401
import json
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing_extensions import Self
class DnsServersRequest(BaseModel):
"""
DnsServersRequest
""" # noqa: E501
dns_servers: Optional[List[StrictStr]] = Field(default=None, description="A list of DNS server FQDN.", alias="dnsServers")
__properties: ClassVar[List[str]] = ["dnsServers"]
model_config = ConfigDict(
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
extra="allow",
)
def to_str(self) -> str:
"""Returns the string representation of the model using alias"""
return pprint.pformat(self.model_dump(by_alias=True))
def to_json(self) -> str:
"""Returns the JSON representation of the model using alias"""
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
return self.model_dump_json(by_alias=True, exclude_unset=True, exclude_none=True)
@classmethod
def from_json(cls, json_str: str) -> Optional[Self]:
"""Create an instance of DnsServersRequest from a JSON string"""
return cls.from_dict(json.loads(json_str))
def to_dict(self) -> Dict[str, Any]:
"""Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic's
`self.model_dump(by_alias=True)`:
* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
"""
excluded_fields: Set[str] = set([
])
_dict = self.model_dump(
by_alias=True,
exclude=excluded_fields,
exclude_none=True,
)
return _dict
@classmethod
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"""Create an instance of DnsServersRequest from a dict"""
if obj is None:
return None
if not isinstance(obj, dict):
return cls.model_validate(obj)
_obj = cls.model_validate({
"dnsServers": obj.get("dnsServers")
})
return _obj

View File

@ -41,15 +41,15 @@ class DnsTraceInstantTestRequest(BaseModel):
test_name: Optional[StrictStr] = Field(default=None, description="The name of the test. Test name must be unique.", alias="testName")
type: Optional[StrictStr] = None
links: Optional[TestLinks] = Field(default=None, alias="_links")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
dns_transport_protocol: Optional[TestDnsTransportProtocol] = Field(default=None, alias="dnsTransportProtocol")
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.")
dns_query_class: Optional[DnsQueryClass] = Field(default=None, alias="dnsQueryClass")
randomized_start_time: Optional[StrictBool] = Field(default=False, description="Indicates whether agents should randomize the start time in each test round.", alias="randomizedStartTime")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
tags: Optional[List[StrictStr]] = Field(default=None, description="A list of test tag identifiers (get `id` from `/tags` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "labels", "sharedWithAccounts", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime", "tags", "agents"]
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "dnsTransportProtocol", "domain", "dnsQueryClass", "randomizedStartTime", "labels", "tags", "sharedWithAccounts", "agents"]
model_config = ConfigDict(
populate_by_name=True,
@ -140,13 +140,13 @@ class DnsTraceInstantTestRequest(BaseModel):
"testName": obj.get("testName"),
"type": obj.get("type"),
"_links": TestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
"labels": obj.get("labels"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"dnsTransportProtocol": obj.get("dnsTransportProtocol"),
"domain": obj.get("domain"),
"dnsQueryClass": obj.get("dnsQueryClass"),
"randomizedStartTime": obj.get("randomizedStartTime") if obj.get("randomizedStartTime") is not None else False,
"labels": obj.get("labels"),
"tags": obj.get("tags"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
})
return _obj

View File

@ -45,8 +45,6 @@ class FtpServerInstantTestRequest(BaseModel):
test_name: Optional[StrictStr] = Field(default=None, description="The name of the test. Test name must be unique.", alias="testName")
type: Optional[StrictStr] = None
links: Optional[TestLinks] = Field(default=None, alias="_links")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
bandwidth_measurements: Optional[StrictBool] = Field(default=None, description="Set to `true` to enable bandwidth measurements, only applies to Enterprise agents assigned to the test.", alias="bandwidthMeasurements")
download_limit: Optional[StrictInt] = Field(default=None, description="Specify maximum number of bytes to download from the target object.", alias="downloadLimit")
ftp_target_time: Optional[Annotated[int, Field(le=6000, strict=True, ge=1000)]] = Field(default=None, description="Target time for operation completion; specified in milliseconds.", alias="ftpTargetTime")
@ -66,9 +64,11 @@ class FtpServerInstantTestRequest(BaseModel):
username: StrictStr = Field(description="Username for Basic/NTLM authentication.")
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")
ipv6_policy: Optional[TestIpv6Policy] = Field(default=None, alias="ipv6Policy")
labels: Optional[List[StrictStr]] = Field(default=None, description="A list of test label identifiers (get `labelId` from `/labels` endpoint).")
tags: Optional[List[StrictStr]] = Field(default=None, description="A list of test tag identifiers (get `id` from `/tags` endpoint).")
shared_with_accounts: Optional[List[StrictStr]] = Field(default=None, description="A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint).", alias="sharedWithAccounts")
agents: List[TestAgent] = Field(description="A list of objects with `agentId` (required) and `sourceIpAddress` (optional).")
__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", "tags", "agents"]
__properties: ClassVar[List[str]] = ["createdBy", "createdDate", "description", "liveShare", "modifiedBy", "modifiedDate", "savedEvent", "testId", "testName", "type", "_links", "bandwidthMeasurements", "downloadLimit", "ftpTargetTime", "ftpTimeLimit", "mtuMeasurements", "networkMeasurements", "numPathTraces", "password", "pathTraceMode", "probeMode", "protocol", "randomizedStartTime", "requestType", "url", "useActiveFtp", "useExplicitFtps", "username", "fixedPacketRate", "ipv6Policy", "labels", "tags", "sharedWithAccounts", "agents"]
model_config = ConfigDict(
populate_by_name=True,
@ -159,8 +159,6 @@ class FtpServerInstantTestRequest(BaseModel):
"testName": obj.get("testName"),
"type": obj.get("type"),
"_links": TestLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None,
"labels": obj.get("labels"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"bandwidthMeasurements": obj.get("bandwidthMeasurements"),
"downloadLimit": obj.get("downloadLimit"),
"ftpTargetTime": obj.get("ftpTargetTime"),
@ -180,7 +178,9 @@ class FtpServerInstantTestRequest(BaseModel):
"username": obj.get("username"),
"fixedPacketRate": obj.get("fixedPacketRate"),
"ipv6Policy": obj.get("ipv6Policy"),
"labels": obj.get("labels"),
"tags": obj.get("tags"),
"sharedWithAccounts": obj.get("sharedWithAccounts"),
"agents": [TestAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None
})
return _obj

Some files were not shown because too many files have changed in this diff Show More