This commit is contained in:
Jack Browne 2026-04-06 01:01:07 +00:00 committed by GitHub
commit ce99c828d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
360 changed files with 616 additions and 961 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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - 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] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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) | | **agent_type** | [**CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | |
## Example ## Example

View File

@ -15,8 +15,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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] **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] **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] **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] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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 ## 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") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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") 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -88,8 +88,8 @@ class AgentResponse(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
]) ])
_dict = self.model_dump( _dict = self.model_dump(
@ -121,8 +121,8 @@ class AgentResponse(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"), "verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"agentType": obj.get("agentType") "agentType": obj.get("agentType")
}) })
return _obj 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") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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") 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.") 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") 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") 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") 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") 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -119,8 +119,8 @@ class EnterpriseAgent(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
"test_ids", "test_ids",
"cluster_members", "cluster_members",
"utilization", "utilization",
@ -196,8 +196,8 @@ class EnterpriseAgent(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"), "verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"testIds": obj.get("testIds"), "testIds": obj.get("testIds"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None, "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, "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") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -86,8 +86,8 @@ class SimpleAgent(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
]) ])
_dict = self.model_dump( _dict = self.model_dump(
@ -119,8 +119,8 @@ class SimpleAgent(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"), "verifySslCertificates": obj.get("verifySslCertificates"),
"verifySslCertificates": obj.get("verifySslCertificates") "prefix": obj.get("prefix")
}) })
return _obj return _obj

View File

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

View File

@ -1,11 +1,10 @@
# thousandeyes-sdk-agents # thousandeyes-sdk-agents
## Overview ## Overview
Manage Cloud and Enterprise Agents available to your account in ThousandEyes. 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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - 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] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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. | **agent_type** | **str** | Enterprise Cluster agent type. |
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional] **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] **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] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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) | | **agent_type** | [**CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | |
## Example ## Example

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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. | **agent_type** | **str** | Cloud agent type. |
**tests** | [**List[SimpleTest]**](SimpleTest.md) | List of tests. See `/tests` for more information. | [optional] **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] **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] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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] **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] **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] **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] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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] **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] **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] **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] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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] **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] **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] **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] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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] **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] **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] **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] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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 ## Example

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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] **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] **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] **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") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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") 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -88,8 +88,8 @@ class AgentResponse(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
]) ])
_dict = self.model_dump( _dict = self.model_dump(
@ -121,8 +121,8 @@ class AgentResponse(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"), "verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"agentType": obj.get("agentType") "agentType": obj.get("agentType")
}) })
return _obj return _obj

View File

@ -39,13 +39,13 @@ class CloudAgentDetail(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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") 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.") 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.") labels: Optional[List[AgentLabel]] = Field(default=None, description="List of labels - see `/labels` for more information.")
links: Optional[SelfLinks] = Field(default=None, alias="_links") 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", "_links"] __properties: ClassVar[List[str]] = ["ipAddresses", "publicIpAddresses", "network", "agentId", "agentName", "location", "countryId", "coordinates", "enabled", "verifySslCertificates", "prefix", "agentType", "tests", "labels", "_links"]
@field_validator('agent_type') @field_validator('agent_type')
def agent_type_validate_regular_expression(cls, value): def agent_type_validate_regular_expression(cls, value):
@ -102,8 +102,8 @@ class CloudAgentDetail(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
"labels", "labels",
]) ])
@ -153,8 +153,8 @@ class CloudAgentDetail(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"), "verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"agentType": obj.get("agentType"), "agentType": obj.get("agentType"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None, "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, "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") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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") 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.") 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") 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") 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") 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") 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -119,8 +119,8 @@ class EnterpriseAgent(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
"test_ids", "test_ids",
"cluster_members", "cluster_members",
"utilization", "utilization",
@ -196,8 +196,8 @@ class EnterpriseAgent(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"), "verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"testIds": obj.get("testIds"), "testIds": obj.get("testIds"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None, "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, "clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,

View File

@ -47,8 +47,8 @@ class EnterpriseAgentClusterDetail(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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") 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.") 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") 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")
@ -68,7 +68,7 @@ class EnterpriseAgentClusterDetail(BaseModel):
labels: Optional[List[AgentLabel]] = Field(default=None, description="List of labels. See `/labels` for more information.") labels: Optional[List[AgentLabel]] = Field(default=None, description="List of labels. See `/labels` for more information.")
agent_type: Annotated[str, Field(strict=True)] = Field(description="Enterprise Cluster agent type.", alias="agentType") agent_type: Annotated[str, Field(strict=True)] = Field(description="Enterprise Cluster agent type.", alias="agentType")
links: Optional[SelfLinks] = Field(default=None, alias="_links") 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", "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", "agentType", "_links"]
@field_validator('agent_type') @field_validator('agent_type')
def agent_type_validate_regular_expression(cls, value): def agent_type_validate_regular_expression(cls, value):
@ -133,8 +133,8 @@ class EnterpriseAgentClusterDetail(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
"test_ids", "test_ids",
"cluster_members", "cluster_members",
"utilization", "utilization",
@ -227,8 +227,8 @@ class EnterpriseAgentClusterDetail(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"), "verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"testIds": obj.get("testIds"), "testIds": obj.get("testIds"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None, "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, "clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,

View File

@ -47,8 +47,8 @@ class EnterpriseAgentDetail(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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") 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.") 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") 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")
@ -68,7 +68,7 @@ class EnterpriseAgentDetail(BaseModel):
labels: Optional[List[AgentLabel]] = Field(default=None, description="List of labels. See `/labels` for more information.") labels: Optional[List[AgentLabel]] = Field(default=None, description="List of labels. See `/labels` for more information.")
agent_type: Annotated[str, Field(strict=True)] = Field(description="Enterprise agent type.", alias="agentType") agent_type: Annotated[str, Field(strict=True)] = Field(description="Enterprise agent type.", alias="agentType")
links: Optional[SelfLinks] = Field(default=None, alias="_links") 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", "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", "agentType", "_links"]
@field_validator('agent_type') @field_validator('agent_type')
def agent_type_validate_regular_expression(cls, value): def agent_type_validate_regular_expression(cls, value):
@ -133,8 +133,8 @@ class EnterpriseAgentDetail(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
"test_ids", "test_ids",
"cluster_members", "cluster_members",
"utilization", "utilization",
@ -227,8 +227,8 @@ class EnterpriseAgentDetail(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"), "verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"testIds": obj.get("testIds"), "testIds": obj.get("testIds"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None, "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, "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") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -86,8 +86,8 @@ class SimpleAgent(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
]) ])
_dict = self.model_dump( _dict = self.model_dump(
@ -119,8 +119,8 @@ class SimpleAgent(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"), "verifySslCertificates": obj.get("verifySslCertificates"),
"verifySslCertificates": obj.get("verifySslCertificates") "prefix": obj.get("prefix")
}) })
return _obj 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") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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") 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.") 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") 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") 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") 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") 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -117,8 +117,8 @@ class SimpleEnterpriseAgent(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
"test_ids", "test_ids",
"cluster_members", "cluster_members",
"utilization", "utilization",
@ -193,8 +193,8 @@ class SimpleEnterpriseAgent(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"), "verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"testIds": obj.get("testIds"), "testIds": obj.get("testIds"),
"tests": [SimpleTest.from_dict(_item) for _item in obj["tests"]] if obj.get("tests") is not None else None, "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, "clusterMembers": [ClusterMember.from_dict(_item) for _item in obj["clusterMembers"]] if obj.get("clusterMembers") is not None else None,

View File

@ -12,7 +12,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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -1,5 +1,4 @@
# thousandeyes-sdk-bgp-monitors # thousandeyes-sdk-bgp-monitors
Retrieve information about BGP monitors available to your ThousandEyes account. ThousandEyes ingests BGP routing data from dozens of global BGP collectors and automatically integrates that visibility as a configurable layer under service, network, and path visualization layers. Retrieve information about BGP monitors available to your ThousandEyes account. ThousandEyes ingests BGP routing data from dozens of global BGP collectors and automatically integrates that visibility as a configurable layer under service, network, and path visualization layers.
When you specify a service URL in a test, layered BGP tests automatically track reachability and path changes for any relevant prefix. When you use an IP address as the target for a test, the ThousandEyes platform monitors the relevant internet-routed prefix. You can also create specific BGP monitoring for a prefix, and can alert on hijacks and leaks. When you specify a service URL in a test, layered BGP tests automatically track reachability and path changes for any relevant prefix. When you use an IP address as the target for a test, the ThousandEyes platform monitors the relevant internet-routed prefix. You can also create specific BGP monitoring for a prefix, and can alert on hijacks and leaks.
@ -9,7 +8,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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

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

View File

@ -9,8 +9,8 @@ Name | Type | Description | Notes
**type** | [**ConnectorType**](ConnectorType.md) | | **type** | [**ConnectorType**](ConnectorType.md) | |
**name** | **str** | | **name** | **str** | |
**target** | **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] **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] **headers** | [**List[Header]**](Header.md) | | [optional]
## Example ## Example

View File

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

View File

@ -70,17 +70,17 @@ No authorization required
### HTTP request headers ### HTTP request headers
- **Content-Type**: Not defined - **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 ### HTTP response details
| Status code | Description | Response headers | | Status code | Description | Response headers |
|-------------|-------------|------------------| |-------------|-------------|------------------|
**404** | Not found | - |
**200** | A list of assigned connectors. | - | **200** | A list of assigned connectors. | - |
**400** | Bad Request | - | **400** | Bad Request | - |
**401** | Unauthorized | - | **401** | Unauthorized | - |
**403** | Insufficient permissions to query endpoint | - | **403** | Insufficient permissions to query endpoint | - |
**404** | Not found | - |
**500** | Internal server error | - | **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) [[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)
@ -149,17 +149,17 @@ No authorization required
### HTTP request headers ### HTTP request headers
- **Content-Type**: application/json - **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 ### HTTP response details
| Status code | Description | Response headers | | Status code | Description | Response headers |
|-------------|-------------|------------------| |-------------|-------------|------------------|
**404** | Not found | - |
**200** | Operation Connectors updated successfully. | - | **200** | Operation Connectors updated successfully. | - |
**400** | Bad Request | - | **400** | Bad Request | - |
**401** | Unauthorized | - | **401** | Unauthorized | - |
**403** | Insufficient permissions to query endpoint | - | **403** | Insufficient permissions to query endpoint | - |
**404** | Not found | - |
**500** | Internal server error | - | **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) [[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

@ -149,7 +149,7 @@ No authorization required
| Status code | Description | Response headers | | Status code | Description | Response headers |
|-------------|-------------|------------------| |-------------|-------------|------------------|
**204** | No Content | - | **204** | No Content. | - |
**400** | Bad Request | - | **400** | Bad Request | - |
**401** | Unauthorized | - | **401** | Unauthorized | - |
**403** | Insufficient permissions to query endpoint | - | **403** | Insufficient permissions to query endpoint | - |

View File

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

View File

@ -32,10 +32,10 @@ class GenericConnector(BaseModel):
type: ConnectorType type: ConnectorType
name: StrictStr name: StrictStr
target: 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") 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 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -107,8 +107,8 @@ class GenericConnector(BaseModel):
"type": obj.get("type"), "type": obj.get("type"),
"name": obj.get("name"), "name": obj.get("name"),
"target": obj.get("target"), "target": obj.get("target"),
"authentication": GenericConnectorAuth.from_dict(obj["authentication"]) if obj.get("authentication") is not None else None,
"lastModifiedDate": obj.get("lastModifiedDate"), "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 "headers": [Header.from_dict(_item) for _item in obj["headers"]] if obj.get("headers") is not None else None
}) })
return _obj return _obj

View File

@ -16,7 +16,7 @@ import pprint
import re # noqa: F401 import re # noqa: F401
import json 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 Any, ClassVar, Dict, List
from typing import Optional, Set from typing import Optional, Set
from typing_extensions import Self from typing_extensions import Self
@ -26,7 +26,7 @@ class Header(BaseModel):
Header Header
""" # noqa: E501 """ # noqa: E501
name: StrictStr 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"] __properties: ClassVar[List[str]] = ["name", "value"]
model_config = ConfigDict( model_config = ConfigDict(

View File

@ -36,6 +36,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ { "headers" : [ {
"name" : "Content-Type", "name" : "Content-Type",
"value" : "application/json" "value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ], } ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}", "payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}", "queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -70,6 +73,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ { "headers" : [ {
"name" : "Content-Type", "name" : "Content-Type",
"value" : "application/json" "value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ], } ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}", "payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}", "queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -110,6 +116,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ { "headers" : [ {
"name" : "Content-Type", "name" : "Content-Type",
"value" : "application/json" "value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ], } ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}", "payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}", "queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -159,6 +168,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ { "headers" : [ {
"name" : "Content-Type", "name" : "Content-Type",
"value" : "application/json" "value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ], } ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}", "payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}", "queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -185,6 +197,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ { "headers" : [ {
"name" : "Content-Type", "name" : "Content-Type",
"value" : "application/json" "value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ], } ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}", "payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}", "queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -221,6 +236,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ { "headers" : [ {
"name" : "Content-Type", "name" : "Content-Type",
"value" : "application/json" "value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ], } ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}", "payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}", "queryParams" : "{\\"queryParam1\\":\\"{{stringVar}}\\"}",
@ -255,6 +273,9 @@ class TestWebhookOperationsApi(unittest.TestCase):
"headers" : [ { "headers" : [ {
"name" : "Content-Type", "name" : "Content-Type",
"value" : "application/json" "value" : "application/json"
}, {
"name" : "Content-Type",
"value" : "application/json"
} ], } ],
"payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}", "payload" : "{\\"property1\\": {{numericVar}}, \\"property2\\": \\"{{stringVar}}\\"}",
"queryParams" : "{\\"queryParam1\\":\\"{{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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -10,8 +10,6 @@ docs/ApiAgentStatusAgent.md
docs/ApiAgentStatusIpInfo.md docs/ApiAgentStatusIpInfo.md
docs/ApiAgentStatusSummary.md docs/ApiAgentStatusSummary.md
docs/ApiAgentStatusWidget.md docs/ApiAgentStatusWidget.md
docs/ApiAgentWidgetShow.md
docs/ApiAgentWidgetType.md
docs/ApiAggregateProperty.md docs/ApiAggregateProperty.md
docs/ApiAlertListAlert.md docs/ApiAlertListAlert.md
docs/ApiAlertListWidget.md docs/ApiAlertListWidget.md
@ -59,8 +57,6 @@ docs/ApiWidgetDataSnapshotResponse.md
docs/ApiWidgetFilterApiTestTableFilterKey.md docs/ApiWidgetFilterApiTestTableFilterKey.md
docs/ApiWidgetFixedYScalePrefix.md docs/ApiWidgetFixedYScalePrefix.md
docs/ApiWidgetMeasure.md docs/ApiWidgetMeasure.md
docs/ApiWidgetSortDirection.md
docs/ApiWidgetSortProperty.md
docs/ApiWidgetsDataV2.md docs/ApiWidgetsDataV2.md
docs/AppAndSelfLinks.md docs/AppAndSelfLinks.md
docs/AswRepeat.md docs/AswRepeat.md
@ -116,7 +112,6 @@ docs/ValidationErrorItem.md
docs/VisualMode.md docs/VisualMode.md
docs/Widget.md docs/Widget.md
docs/WidgetMeasureType.md docs/WidgetMeasureType.md
docs/WidgetType.md
pyproject.toml pyproject.toml
setup.cfg setup.cfg
src/thousandeyes_sdk/dashboards/__init__.py src/thousandeyes_sdk/dashboards/__init__.py
@ -134,8 +129,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_ip_info.py
src/thousandeyes_sdk/dashboards/models/api_agent_status_summary.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_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_aggregate_property.py
src/thousandeyes_sdk/dashboards/models/api_alert_list_alert.py src/thousandeyes_sdk/dashboards/models/api_alert_list_alert.py
src/thousandeyes_sdk/dashboards/models/api_alert_list_widget.py src/thousandeyes_sdk/dashboards/models/api_alert_list_widget.py
@ -183,8 +176,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_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_fixed_y_scale_prefix.py
src/thousandeyes_sdk/dashboards/models/api_widget_measure.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/api_widgets_data_v2.py
src/thousandeyes_sdk/dashboards/models/app_and_self_links.py src/thousandeyes_sdk/dashboards/models/app_and_self_links.py
src/thousandeyes_sdk/dashboards/models/asw_repeat.py src/thousandeyes_sdk/dashboards/models/asw_repeat.py
@ -237,7 +228,6 @@ src/thousandeyes_sdk/dashboards/models/validation_error_item.py
src/thousandeyes_sdk/dashboards/models/visual_mode.py src/thousandeyes_sdk/dashboards/models/visual_mode.py
src/thousandeyes_sdk/dashboards/models/widget.py src/thousandeyes_sdk/dashboards/models/widget.py
src/thousandeyes_sdk/dashboards/models/widget_measure_type.py src/thousandeyes_sdk/dashboards/models/widget_measure_type.py
src/thousandeyes_sdk/dashboards/models/widget_type.py
src/thousandeyes_sdk/dashboards/py.typed src/thousandeyes_sdk/dashboards/py.typed
test/__init__.py test/__init__.py
test/test_dashboard_snapshots_api.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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - 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) - [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) - [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) - [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) - [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) - [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) - [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) - [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) - [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) - [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) - [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) - [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) - [AswRepeat](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/AswRepeat.md)
@ -230,7 +226,6 @@ Class | Method | HTTP request | Description
- [VisualMode](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/VisualMode.md) - [VisualMode](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/VisualMode.md)
- [Widget](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/Widget.md) - [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) - [WidgetMeasureType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/WidgetMeasureType.md)
- [WidgetType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/WidgetType.md)
<a id="documentation-for-authorization"></a> <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_ip_info import ApiAgentStatusIpInfo
from thousandeyes_sdk.dashboards.models.api_agent_status_summary import ApiAgentStatusSummary 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_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_aggregate_property import ApiAggregateProperty
from thousandeyes_sdk.dashboards.models.api_alert_list_alert import ApiAlertListAlert from thousandeyes_sdk.dashboards.models.api_alert_list_alert import ApiAlertListAlert
from thousandeyes_sdk.dashboards.models.api_alert_list_widget import ApiAlertListWidget 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_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_fixed_y_scale_prefix import ApiWidgetFixedYScalePrefix
from thousandeyes_sdk.dashboards.models.api_widget_measure import ApiWidgetMeasure 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.api_widgets_data_v2 import ApiWidgetsDataV2
from thousandeyes_sdk.dashboards.models.app_and_self_links import AppAndSelfLinks from thousandeyes_sdk.dashboards.models.app_and_self_links import AppAndSelfLinks
from thousandeyes_sdk.dashboards.models.asw_repeat import AswRepeat from thousandeyes_sdk.dashboards.models.asw_repeat import AswRepeat
@ -132,4 +128,3 @@ from thousandeyes_sdk.dashboards.models.validation_error_item import ValidationE
from thousandeyes_sdk.dashboards.models.visual_mode import VisualMode from thousandeyes_sdk.dashboards.models.visual_mode import VisualMode
from thousandeyes_sdk.dashboards.models.widget import Widget from thousandeyes_sdk.dashboards.models.widget import Widget
from thousandeyes_sdk.dashboards.models.widget_measure_type import WidgetMeasureType from thousandeyes_sdk.dashboards.models.widget_measure_type import WidgetMeasureType
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_ip_info import ApiAgentStatusIpInfo
from thousandeyes_sdk.dashboards.models.api_agent_status_summary import ApiAgentStatusSummary 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_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_aggregate_property import ApiAggregateProperty
from thousandeyes_sdk.dashboards.models.api_alert_list_alert import ApiAlertListAlert from thousandeyes_sdk.dashboards.models.api_alert_list_alert import ApiAlertListAlert
from thousandeyes_sdk.dashboards.models.api_alert_list_widget import ApiAlertListWidget 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_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_fixed_y_scale_prefix import ApiWidgetFixedYScalePrefix
from thousandeyes_sdk.dashboards.models.api_widget_measure import ApiWidgetMeasure 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.api_widgets_data_v2 import ApiWidgetsDataV2
from thousandeyes_sdk.dashboards.models.app_and_self_links import AppAndSelfLinks from thousandeyes_sdk.dashboards.models.app_and_self_links import AppAndSelfLinks
from thousandeyes_sdk.dashboards.models.asw_repeat import AswRepeat from thousandeyes_sdk.dashboards.models.asw_repeat import AswRepeat
@ -125,4 +121,3 @@ from thousandeyes_sdk.dashboards.models.validation_error_item import ValidationE
from thousandeyes_sdk.dashboards.models.visual_mode import VisualMode from thousandeyes_sdk.dashboards.models.visual_mode import VisualMode
from thousandeyes_sdk.dashboards.models.widget import Widget from thousandeyes_sdk.dashboards.models.widget import Widget
from thousandeyes_sdk.dashboards.models.widget_measure_type import WidgetMeasureType from thousandeyes_sdk.dashboards.models.widget_measure_type import WidgetMeasureType
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

@ -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", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -167,7 +167,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -250,7 +250,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -287,7 +287,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -421,8 +421,8 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"startTimes" : [ "2023-05-16T10:14:28Z" ] "startTimes" : [ "2023-05-16T10:14:28Z" ]
} ], } ],
"binSize" : 3600, "binSize" : 3600,
"previousValue" : 500.0, "previousValue" : 500,
"value" : 100.0, "value" : 100,
"startDate" : "2023-05-16T10:14:28Z", "startDate" : "2023-05-16T10:14:28Z",
"timestamp" : 1567620000, "timestamp" : 1567620000,
"status" : "No data" "status" : "No data"
@ -463,8 +463,8 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"startTimes" : [ "2023-05-16T10:14:28Z" ] "startTimes" : [ "2023-05-16T10:14:28Z" ]
} ], } ],
"binSize" : 3600, "binSize" : 3600,
"previousValue" : 500.0, "previousValue" : 500,
"value" : 100.0, "value" : 100,
"startDate" : "2023-05-16T10:14:28Z", "startDate" : "2023-05-16T10:14:28Z",
"timestamp" : 1567620000, "timestamp" : 1567620000,
"status" : "No data" "status" : "No data"
@ -569,7 +569,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
}, { }, {
"numberOfDataPoints" : 23304, "numberOfDataPoints" : 23304,
@ -580,7 +580,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
} ], } ],
"status" : "No data" "status" : "No data"
@ -627,7 +627,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
}, { }, {
"numberOfDataPoints" : 23304, "numberOfDataPoints" : 23304,
@ -638,7 +638,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
} ], } ],
"status" : "No data" "status" : "No data"
@ -673,7 +673,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
}, { }, {
"numberOfDataPoints" : 23304, "numberOfDataPoints" : 23304,
@ -684,7 +684,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
} ], } ],
"agents" : [ { "agents" : [ {
@ -836,7 +836,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -873,7 +873,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -956,7 +956,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -993,7 +993,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -1087,7 +1087,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -1124,7 +1124,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -1207,7 +1207,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -1244,7 +1244,7 @@ class TestDashboardSnapshotsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",

View File

@ -85,7 +85,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -122,7 +122,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -213,7 +213,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -250,7 +250,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -350,7 +350,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -387,7 +387,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -519,8 +519,8 @@ class TestDashboardsApi(unittest.TestCase):
"startTimes" : [ "2023-05-16T10:14:28Z" ] "startTimes" : [ "2023-05-16T10:14:28Z" ]
} ], } ],
"binSize" : 3600, "binSize" : 3600,
"previousValue" : 500.0, "previousValue" : 500,
"value" : 100.0, "value" : 100,
"startDate" : "2023-05-16T10:14:28Z", "startDate" : "2023-05-16T10:14:28Z",
"timestamp" : 1567620000, "timestamp" : 1567620000,
"status" : "No data" "status" : "No data"
@ -561,8 +561,8 @@ class TestDashboardsApi(unittest.TestCase):
"startTimes" : [ "2023-05-16T10:14:28Z" ] "startTimes" : [ "2023-05-16T10:14:28Z" ]
} ], } ],
"binSize" : 3600, "binSize" : 3600,
"previousValue" : 500.0, "previousValue" : 500,
"value" : 100.0, "value" : 100,
"startDate" : "2023-05-16T10:14:28Z", "startDate" : "2023-05-16T10:14:28Z",
"timestamp" : 1567620000, "timestamp" : 1567620000,
"status" : "No data" "status" : "No data"
@ -667,7 +667,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
}, { }, {
"numberOfDataPoints" : 23304, "numberOfDataPoints" : 23304,
@ -678,7 +678,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
} ], } ],
"status" : "No data" "status" : "No data"
@ -725,7 +725,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
}, { }, {
"numberOfDataPoints" : 23304, "numberOfDataPoints" : 23304,
@ -736,7 +736,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
} ], } ],
"status" : "No data" "status" : "No data"
@ -771,7 +771,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
}, { }, {
"numberOfDataPoints" : 23304, "numberOfDataPoints" : 23304,
@ -782,7 +782,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
} ], } ],
"agents" : [ { "agents" : [ {
@ -920,7 +920,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -957,7 +957,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -1051,7 +1051,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -1088,7 +1088,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -1175,8 +1175,8 @@ class TestDashboardsApi(unittest.TestCase):
"startTimes" : [ "2023-05-16T10:14:28Z" ] "startTimes" : [ "2023-05-16T10:14:28Z" ]
} ], } ],
"binSize" : 3600, "binSize" : 3600,
"previousValue" : 500.0, "previousValue" : 500,
"value" : 100.0, "value" : 100,
"startDate" : "2023-05-16T10:14:28Z", "startDate" : "2023-05-16T10:14:28Z",
"timestamp" : 1567620000, "timestamp" : 1567620000,
"status" : "No data" "status" : "No data"
@ -1233,7 +1233,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
}, { }, {
"numberOfDataPoints" : 23304, "numberOfDataPoints" : 23304,
@ -1244,7 +1244,7 @@ class TestDashboardsApi(unittest.TestCase):
"groupProperty" : "COUNTRY", "groupProperty" : "COUNTRY",
"groupValue" : "US" "groupValue" : "US"
} ], } ],
"value" : 100.0, "value" : 100,
"timestamp" : 1567620000 "timestamp" : 1567620000
} ], } ],
"status" : "No data" "status" : "No data"
@ -1311,7 +1311,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -1348,7 +1348,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -1439,7 +1439,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",
@ -1476,7 +1476,7 @@ class TestDashboardsApi(unittest.TestCase):
"type" : "Agent Status", "type" : "Agent Status",
"metricGroup" : "BGP", "metricGroup" : "BGP",
"measure" : { "measure" : {
"percentileValue" : 95.0, "percentileValue" : 95,
"type" : "MEAN" "type" : "MEAN"
}, },
"apiLink" : "apiLink", "apiLink" : "apiLink",

View File

@ -9,7 +9,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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -5,7 +5,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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -1,5 +1,4 @@
# thousandeyes-sdk-endpoint-instant-tests # 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. 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: 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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - 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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - 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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -26,11 +26,11 @@ class CpuUtilization(BaseModel):
""" """
CpuUtilization CpuUtilization
""" # noqa: E501 """ # 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.") 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.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.") 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.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.") 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.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.") 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.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") 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.") 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"] __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") 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).") 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") 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") 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") 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.") 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") 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).") 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") 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") 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") 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.") 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") 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).") 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") 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") 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") 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.") 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 "sinr" : 20
}, },
"score" : { "score" : {
"applicationScore" : 100.0, "applicationScore" : 100,
"quality" : "great" "quality" : "great"
}, },
"connectTime" : 2, "connectTime" : 2,
@ -281,7 +281,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20 "sinr" : 20
}, },
"score" : { "score" : {
"applicationScore" : 100.0, "applicationScore" : 100,
"quality" : "great" "quality" : "great"
}, },
"connectTime" : 2, "connectTime" : 2,
@ -398,11 +398,11 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"conditionalOperator" : "and", "conditionalOperator" : "and",
"filters" : [ { "filters" : [ {
"name" : "response-time", "name" : "response-time",
"value" : 10.0, "value" : 10,
"operator" : "gte" "operator" : "gte"
}, { }, {
"name" : "response-time", "name" : "response-time",
"value" : 10.0, "value" : 10,
"operator" : "gte" "operator" : "gte"
} ] } ]
} }
@ -477,7 +477,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20 "sinr" : 20
}, },
"score" : { "score" : {
"applicationScore" : 100.0, "applicationScore" : 100,
"quality" : "great" "quality" : "great"
}, },
"connectTime" : 2, "connectTime" : 2,
@ -604,7 +604,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20 "sinr" : 20
}, },
"score" : { "score" : {
"applicationScore" : 100.0, "applicationScore" : 100,
"quality" : "great" "quality" : "great"
}, },
"connectTime" : 2, "connectTime" : 2,
@ -721,11 +721,11 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"conditionalOperator" : "and", "conditionalOperator" : "and",
"filters" : [ { "filters" : [ {
"name" : "response-time", "name" : "response-time",
"value" : 10.0, "value" : 10,
"operator" : "gte" "operator" : "gte"
}, { }, {
"name" : "response-time", "name" : "response-time",
"value" : 10.0, "value" : 10,
"operator" : "gte" "operator" : "gte"
} ] } ]
} }
@ -800,7 +800,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20 "sinr" : 20
}, },
"score" : { "score" : {
"applicationScore" : 100.0, "applicationScore" : 100,
"quality" : "great" "quality" : "great"
}, },
"connectTime" : 2, "connectTime" : 2,
@ -927,7 +927,7 @@ class TestHTTPServerEndpointScheduledTestResultsApi(unittest.TestCase):
"sinr" : 20 "sinr" : 20
}, },
"score" : { "score" : {
"applicationScore" : 100.0, "applicationScore" : 100,
"quality" : "great" "quality" : "great"
}, },
"connectTime" : 2, "connectTime" : 2,

View File

@ -49,11 +49,11 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"conditionalOperator" : "and", "conditionalOperator" : "and",
"filters" : [ { "filters" : [ {
"name" : "loss", "name" : "loss",
"value" : 10.0, "value" : 10,
"operator" : "gte" "operator" : "gte"
}, { }, {
"name" : "loss", "name" : "loss",
"value" : 10.0, "value" : 10,
"operator" : "gte" "operator" : "gte"
} ] } ]
} }
@ -84,7 +84,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49",
"isIcmpBlocked" : true, "isIcmpBlocked" : true,
"gatewayScore" : { "gatewayScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"tcpConnect" : { "tcpConnect" : {
@ -94,11 +94,11 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ]
}, },
"vpnScore" : { "vpnScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"proxyScore" : { "proxyScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"batteryMetrics" : { "batteryMetrics" : {
@ -219,12 +219,12 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
} ] } ]
}, },
"connectionScore" : { "connectionScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"icmpPing" : { "icmpPing" : {
"maxRtt" : 66, "maxRtt" : 66,
"loss" : 1.0, "loss" : 1,
"pktsReceived" : 10, "pktsReceived" : 10,
"avgRtt" : 7, "avgRtt" : 7,
"meanDevRtt" : 11, "meanDevRtt" : 11,
@ -236,7 +236,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49", "networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49",
"roundId" : 1384309800, "roundId" : 1384309800,
"agentScore" : { "agentScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
} }
}, { }, {
@ -244,7 +244,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49",
"isIcmpBlocked" : true, "isIcmpBlocked" : true,
"gatewayScore" : { "gatewayScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"tcpConnect" : { "tcpConnect" : {
@ -254,11 +254,11 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ]
}, },
"vpnScore" : { "vpnScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"proxyScore" : { "proxyScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"batteryMetrics" : { "batteryMetrics" : {
@ -379,12 +379,12 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
} ] } ]
}, },
"connectionScore" : { "connectionScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"icmpPing" : { "icmpPing" : {
"maxRtt" : 66, "maxRtt" : 66,
"loss" : 1.0, "loss" : 1,
"pktsReceived" : 10, "pktsReceived" : 10,
"avgRtt" : 7, "avgRtt" : 7,
"meanDevRtt" : 11, "meanDevRtt" : 11,
@ -396,7 +396,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49", "networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49",
"roundId" : 1384309800, "roundId" : 1384309800,
"agentScore" : { "agentScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
} }
} ], } ],
@ -463,7 +463,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49",
"isIcmpBlocked" : true, "isIcmpBlocked" : true,
"gatewayScore" : { "gatewayScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"tcpConnect" : { "tcpConnect" : {
@ -473,11 +473,11 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ]
}, },
"vpnScore" : { "vpnScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"proxyScore" : { "proxyScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"coordinates" : { "coordinates" : {
@ -717,12 +717,12 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"gateway" : "10.0.0.1" "gateway" : "10.0.0.1"
}, },
"connectionScore" : { "connectionScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"icmpPing" : { "icmpPing" : {
"maxRtt" : 66, "maxRtt" : 66,
"loss" : 1.0, "loss" : 1,
"pktsReceived" : 10, "pktsReceived" : 10,
"avgRtt" : 7, "avgRtt" : 7,
"meanDevRtt" : 11, "meanDevRtt" : 11,
@ -734,7 +734,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49", "networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49",
"roundId" : 1384309800, "roundId" : 1384309800,
"agentScore" : { "agentScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
} }
}, { }, {
@ -742,7 +742,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49",
"isIcmpBlocked" : true, "isIcmpBlocked" : true,
"gatewayScore" : { "gatewayScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"tcpConnect" : { "tcpConnect" : {
@ -752,11 +752,11 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ]
}, },
"vpnScore" : { "vpnScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"proxyScore" : { "proxyScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"coordinates" : { "coordinates" : {
@ -996,12 +996,12 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"gateway" : "10.0.0.1" "gateway" : "10.0.0.1"
}, },
"connectionScore" : { "connectionScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
}, },
"icmpPing" : { "icmpPing" : {
"maxRtt" : 66, "maxRtt" : 66,
"loss" : 1.0, "loss" : 1,
"pktsReceived" : 10, "pktsReceived" : 10,
"avgRtt" : 7, "avgRtt" : 7,
"meanDevRtt" : 11, "meanDevRtt" : 11,
@ -1013,7 +1013,7 @@ class TestLocalNetworkEndpointTestResultsApi(unittest.TestCase):
"networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49", "networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49",
"roundId" : 1384309800, "roundId" : 1384309800,
"agentScore" : { "agentScore" : {
"score" : 100.0, "score" : 100,
"quality" : "great" "quality" : "great"
} }
} ] } ]

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,4 @@
# thousandeyes-sdk-event-detection # 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. 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. * 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). * 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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - 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] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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) | | **agent_type** | [**CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | |
## Example ## Example

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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 ## 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") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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") 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -88,8 +88,8 @@ class AgentResponse(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
]) ])
_dict = self.model_dump( _dict = self.model_dump(
@ -121,8 +121,8 @@ class AgentResponse(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"), "verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"agentType": obj.get("agentType") "agentType": obj.get("agentType")
}) })
return _obj return _obj

View File

@ -35,9 +35,9 @@ class SimpleAgent(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -86,8 +86,8 @@ class SimpleAgent(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
]) ])
_dict = self.model_dump( _dict = self.model_dump(
@ -119,8 +119,8 @@ class SimpleAgent(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"), "verifySslCertificates": obj.get("verifySslCertificates"),
"verifySslCertificates": obj.get("verifySslCertificates") "prefix": obj.get("prefix")
}) })
return _obj return _obj

View File

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

View File

@ -3,7 +3,7 @@ Creates a new test snapshot in ThousandEyes.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -28,7 +28,6 @@ docs/StreamStatusType.md
docs/StreamType.md docs/StreamType.md
docs/StreamingApi.md docs/StreamingApi.md
docs/TagMatch.md docs/TagMatch.md
docs/TagMatchObjectType.md
docs/TestMatch.md docs/TestMatch.md
docs/TestMatchDomain.md docs/TestMatchDomain.md
docs/TestType.md docs/TestType.md
@ -65,7 +64,6 @@ src/thousandeyes_sdk/streaming/models/stream_status.py
src/thousandeyes_sdk/streaming/models/stream_status_type.py src/thousandeyes_sdk/streaming/models/stream_status_type.py
src/thousandeyes_sdk/streaming/models/stream_type.py src/thousandeyes_sdk/streaming/models/stream_type.py
src/thousandeyes_sdk/streaming/models/tag_match.py src/thousandeyes_sdk/streaming/models/tag_match.py
src/thousandeyes_sdk/streaming/models/tag_match_object_type.py
src/thousandeyes_sdk/streaming/models/test_match.py src/thousandeyes_sdk/streaming/models/test_match.py
src/thousandeyes_sdk/streaming/models/test_match_domain.py src/thousandeyes_sdk/streaming/models/test_match_domain.py
src/thousandeyes_sdk/streaming/models/test_type.py src/thousandeyes_sdk/streaming/models/test_type.py

View File

@ -15,7 +15,7 @@ For more information about ThousandEyes for OpenTelemetry, see the [product docu
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
@ -142,7 +142,6 @@ Class | Method | HTTP request | Description
- [StreamStatusType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/StreamStatusType.md) - [StreamStatusType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/StreamStatusType.md)
- [StreamType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/StreamType.md) - [StreamType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/StreamType.md)
- [TagMatch](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/TagMatch.md) - [TagMatch](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/TagMatch.md)
- [TagMatchObjectType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/TagMatchObjectType.md)
- [TestMatch](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/TestMatch.md) - [TestMatch](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/TestMatch.md)
- [TestMatchDomain](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/TestMatchDomain.md) - [TestMatchDomain](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/TestMatchDomain.md)
- [TestType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/TestType.md) - [TestType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-streaming/docs/TestType.md)

View File

@ -1,12 +0,0 @@
# TagMatchObjectType
The object type of tag
## 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

@ -44,7 +44,6 @@ from thousandeyes_sdk.streaming.models.stream_status import StreamStatus
from thousandeyes_sdk.streaming.models.stream_status_type import StreamStatusType from thousandeyes_sdk.streaming.models.stream_status_type import StreamStatusType
from thousandeyes_sdk.streaming.models.stream_type import StreamType from thousandeyes_sdk.streaming.models.stream_type import StreamType
from thousandeyes_sdk.streaming.models.tag_match import TagMatch from thousandeyes_sdk.streaming.models.tag_match import TagMatch
from thousandeyes_sdk.streaming.models.tag_match_object_type import TagMatchObjectType
from thousandeyes_sdk.streaming.models.test_match import TestMatch from thousandeyes_sdk.streaming.models.test_match import TestMatch
from thousandeyes_sdk.streaming.models.test_match_domain import TestMatchDomain from thousandeyes_sdk.streaming.models.test_match_domain import TestMatchDomain
from thousandeyes_sdk.streaming.models.test_type import TestType from thousandeyes_sdk.streaming.models.test_type import TestType

View File

@ -39,7 +39,6 @@ from thousandeyes_sdk.streaming.models.stream_status import StreamStatus
from thousandeyes_sdk.streaming.models.stream_status_type import StreamStatusType from thousandeyes_sdk.streaming.models.stream_status_type import StreamStatusType
from thousandeyes_sdk.streaming.models.stream_type import StreamType from thousandeyes_sdk.streaming.models.stream_type import StreamType
from thousandeyes_sdk.streaming.models.tag_match import TagMatch from thousandeyes_sdk.streaming.models.tag_match import TagMatch
from thousandeyes_sdk.streaming.models.tag_match_object_type import TagMatchObjectType
from thousandeyes_sdk.streaming.models.test_match import TestMatch from thousandeyes_sdk.streaming.models.test_match import TestMatch
from thousandeyes_sdk.streaming.models.test_match_domain import TestMatchDomain from thousandeyes_sdk.streaming.models.test_match_domain import TestMatchDomain
from thousandeyes_sdk.streaming.models.test_type import TestType from thousandeyes_sdk.streaming.models.test_type import TestType

View File

@ -1,40 +0,0 @@
# coding: utf-8
"""
ThousandEyes for OpenTelemetry API
ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [product documentation](https://docs.thousandeyes.com/product-documentation/integration-guides/opentelemetry).
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 TagMatchObjectType(str, Enum):
"""
The object type of tag
"""
"""
allowed enum values
"""
TEST = 'test'
UNKNOWN = 'unknown'
@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of TagMatchObjectType from a JSON string"""
return cls(json.loads(json_str))
@classmethod
def _missing_(cls, value):
"""Handle unknown values"""
return cls.UNKNOWN

View File

@ -16,7 +16,7 @@ Things to note with the ThousandEyes Tags API:
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -3,7 +3,7 @@ Get test result metrics for Network and Application Synthetics tests.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

View File

@ -99,7 +99,7 @@ class TestAPITestResultsApi(unittest.TestCase):
}, },
"results" : [ { "results" : [ {
"date" : "2022-07-17T22:00:54Z", "date" : "2022-07-17T22:00:54Z",
"completion" : 100.0, "completion" : 100,
"agent" : { "agent" : {
"agentId" : "281474976710706", "agentId" : "281474976710706",
"agentName" : "thousandeyes-stg-va-254", "agentName" : "thousandeyes-stg-va-254",
@ -123,7 +123,7 @@ class TestAPITestResultsApi(unittest.TestCase):
"startTime" : 1384309800, "startTime" : 1384309800,
"endTime" : 1384309800, "endTime" : 1384309800,
"requests" : [ { "requests" : [ {
"completion" : 100.0, "completion" : 100,
"stepType" : "default", "stepType" : "default",
"responseTime" : 440.8, "responseTime" : 440.8,
"apiCallTime" : 900.9, "apiCallTime" : 900.9,
@ -147,7 +147,7 @@ class TestAPITestResultsApi(unittest.TestCase):
"stepTime" : 990.1, "stepTime" : 990.1,
"waitTime" : 18.1 "waitTime" : 18.1
}, { }, {
"completion" : 100.0, "completion" : 100,
"stepType" : "default", "stepType" : "default",
"responseTime" : 440.8, "responseTime" : 440.8,
"apiCallTime" : 900.9, "apiCallTime" : 900.9,
@ -175,7 +175,7 @@ class TestAPITestResultsApi(unittest.TestCase):
"errorDetails" : "Connection error" "errorDetails" : "Connection error"
}, { }, {
"date" : "2022-07-17T22:00:54Z", "date" : "2022-07-17T22:00:54Z",
"completion" : 100.0, "completion" : 100,
"agent" : { "agent" : {
"agentId" : "281474976710706", "agentId" : "281474976710706",
"agentName" : "thousandeyes-stg-va-254", "agentName" : "thousandeyes-stg-va-254",
@ -199,7 +199,7 @@ class TestAPITestResultsApi(unittest.TestCase):
"startTime" : 1384309800, "startTime" : 1384309800,
"endTime" : 1384309800, "endTime" : 1384309800,
"requests" : [ { "requests" : [ {
"completion" : 100.0, "completion" : 100,
"stepType" : "default", "stepType" : "default",
"responseTime" : 440.8, "responseTime" : 440.8,
"apiCallTime" : 900.9, "apiCallTime" : 900.9,
@ -223,7 +223,7 @@ class TestAPITestResultsApi(unittest.TestCase):
"stepTime" : 990.1, "stepTime" : 990.1,
"waitTime" : 18.1 "waitTime" : 18.1
}, { }, {
"completion" : 100.0, "completion" : 100,
"stepType" : "default", "stepType" : "default",
"responseTime" : 440.8, "responseTime" : 440.8,
"apiCallTime" : 900.9, "apiCallTime" : 900.9,
@ -328,7 +328,7 @@ class TestAPITestResultsApi(unittest.TestCase):
}, },
"results" : [ { "results" : [ {
"date" : "2022-07-17T22:00:54Z", "date" : "2022-07-17T22:00:54Z",
"completion" : 100.0, "completion" : 100,
"agent" : { "agent" : {
"agentId" : "281474976710706", "agentId" : "281474976710706",
"agentName" : "thousandeyes-stg-va-254", "agentName" : "thousandeyes-stg-va-254",
@ -355,7 +355,7 @@ class TestAPITestResultsApi(unittest.TestCase):
"errorDetails" : "Connection error" "errorDetails" : "Connection error"
}, { }, {
"date" : "2022-07-17T22:00:54Z", "date" : "2022-07-17T22:00:54Z",
"completion" : 100.0, "completion" : 100,
"agent" : { "agent" : {
"agentId" : "281474976710706", "agentId" : "281474976710706",
"agentName" : "thousandeyes-stg-va-254", "agentName" : "thousandeyes-stg-va-254",

View File

@ -120,9 +120,9 @@ class TestNetworkBGPTestResultsApi(unittest.TestCase):
}, },
"startTime" : 1384309800, "startTime" : 1384309800,
"endTime" : 1384309800, "endTime" : 1384309800,
"reachability" : 0.0, "reachability" : 0,
"updates" : 0.0, "updates" : 0,
"pathChanges" : 0.0, "pathChanges" : 0,
"roundId" : 1384309800, "roundId" : 1384309800,
"prefixId" : "215" "prefixId" : "215"
}, { }, {
@ -147,9 +147,9 @@ class TestNetworkBGPTestResultsApi(unittest.TestCase):
}, },
"startTime" : 1384309800, "startTime" : 1384309800,
"endTime" : 1384309800, "endTime" : 1384309800,
"reachability" : 0.0, "reachability" : 0,
"updates" : 0.0, "updates" : 0,
"pathChanges" : 0.0, "pathChanges" : 0,
"roundId" : 1384309800, "roundId" : 1384309800,
"prefixId" : "215" "prefixId" : "215"
} ], } ],

View File

@ -111,7 +111,7 @@ class TestNetworkTestResultsApi(unittest.TestCase):
"packetsBySecond" : [ [ ], [ 0 ], [ 2 ], [ 2, 1 ], [ 1, 1 ] ], "packetsBySecond" : [ [ ], [ 0 ], [ 2 ], [ 2, 1 ], [ 1, 1 ] ],
"avgLatency" : 167.04, "avgLatency" : 167.04,
"bandwidth" : 4.3313155, "bandwidth" : 4.3313155,
"minLatency" : 167.0, "minLatency" : 167,
"_links" : { "_links" : {
"appLink" : { "appLink" : {
"hreflang" : "hreflang", "hreflang" : "hreflang",
@ -124,10 +124,10 @@ class TestNetworkTestResultsApi(unittest.TestCase):
"title" : "title" "title" : "title"
} }
}, },
"maxLatency" : 168.0, "maxLatency" : 168,
"healthScore" : 0.98, "healthScore" : 0.98,
"capacity" : 210.10854, "capacity" : 210.10854,
"loss" : 0.0, "loss" : 0,
"jitter" : 0.076808, "jitter" : 0.076808,
"serverIp" : "50.18.127.223", "serverIp" : "50.18.127.223",
"startTime" : 1384309800, "startTime" : 1384309800,
@ -147,7 +147,7 @@ class TestNetworkTestResultsApi(unittest.TestCase):
"packetsBySecond" : [ [ ], [ 0 ], [ 2 ], [ 2, 1 ], [ 1, 1 ] ], "packetsBySecond" : [ [ ], [ 0 ], [ 2 ], [ 2, 1 ], [ 1, 1 ] ],
"avgLatency" : 167.04, "avgLatency" : 167.04,
"bandwidth" : 4.3313155, "bandwidth" : 4.3313155,
"minLatency" : 167.0, "minLatency" : 167,
"_links" : { "_links" : {
"appLink" : { "appLink" : {
"hreflang" : "hreflang", "hreflang" : "hreflang",
@ -160,10 +160,10 @@ class TestNetworkTestResultsApi(unittest.TestCase):
"title" : "title" "title" : "title"
} }
}, },
"maxLatency" : 168.0, "maxLatency" : 168,
"healthScore" : 0.98, "healthScore" : 0.98,
"capacity" : 210.10854, "capacity" : 210.10854,
"loss" : 0.0, "loss" : 0,
"jitter" : 0.076808, "jitter" : 0.076808,
"serverIp" : "50.18.127.223", "serverIp" : "50.18.127.223",
"startTime" : 1384309800, "startTime" : 1384309800,

View File

@ -122,10 +122,10 @@ class TestVoiceRTPServerTestResultsApi(unittest.TestCase):
"dscpName" : "EF (DSCP 46)", "dscpName" : "EF (DSCP 46)",
"latency" : 103, "latency" : 103,
"mos" : 4.351024, "mos" : 4.351024,
"loss" : 0.0, "loss" : 0,
"dscp" : "46", "dscp" : "46",
"codecMaxMos" : 4.41, "codecMaxMos" : 4.41,
"discards" : 0.0, "discards" : 0,
"serverIp" : "172.97.102.37", "serverIp" : "172.97.102.37",
"errorDetail" : "Connection error", "errorDetail" : "Connection error",
"startTime" : 1384309800, "startTime" : 1384309800,
@ -156,10 +156,10 @@ class TestVoiceRTPServerTestResultsApi(unittest.TestCase):
"dscpName" : "EF (DSCP 46)", "dscpName" : "EF (DSCP 46)",
"latency" : 103, "latency" : 103,
"mos" : 4.351024, "mos" : 4.351024,
"loss" : 0.0, "loss" : 0,
"dscp" : "46", "dscp" : "46",
"codecMaxMos" : 4.41, "codecMaxMos" : 4.41,
"discards" : 0.0, "discards" : 0,
"serverIp" : "172.97.102.37", "serverIp" : "172.97.102.37",
"errorDetail" : "Connection error", "errorDetail" : "Connection error",
"startTime" : 1384309800, "startTime" : 1384309800,

View File

@ -125,7 +125,7 @@ class TestVoiceSIPServerTestResultsApi(unittest.TestCase):
"responseTime" : 12, "responseTime" : 12,
"totalTime" : 40, "totalTime" : 40,
"errorType" : "none", "errorType" : "none",
"availability" : 100.0, "availability" : 100,
"responseCode" : 200, "responseCode" : 200,
"optionsResponse" : "SIP/2.0 401 Unauthorized\\r\\nVia: SIP/2.0/TCP 38.140.61.68:55431;rport=55431;received=38.140.61.68;branch=z9hG4bKRTzPzMoVh0\\r\\nCall-ID: oO9WaL3av8@38.140.61.68\\r\\nFrom: <sip:6054@voice.sfo2.notarealco.com>;tag=cGaJDNKQFE\\r\\nTo: <sip:6054@voice.sfo2.notarealco.com>;tag=z9hG4bKRTzPzMoVh0\\r\\nCSeq: 3 OPTIONS\\r\\nWWW-Authenticate: Digest realm=\\"asterisk\\",nonce=\\"1598728080/4e3bef2c789bdfa45ce9123221e08c8f\\",opaque=\\"748ffa241d840721\\",algorithm=md5,qop=\\"auth\\"\\r\\nServer: Asterisk PBX 16.4.0\\r\\nContent-Length: 0\\r\\n\\r\\n\\nSIP/2.0 200 OK\\r\\nVia: SIP/2.0/TCP 38.140.61.68:55431;rport=55431;received=38.140.61.68;branch=z9hG4bKRTzPzMoVh0\\r\\nCall-ID: oO9WaL3av8@38.140.61.68\\r\\nFrom: <sip:6054@voice.sfo2.notarealco.com>;tag=cGaJDNKQFE\\r\\nTo: <sip:6054@voice.sfo2.notarealco.com>;tag=z9hG4bKRTzPzMoVh0\\r\\nCSeq: 4 OPTIONS\\r\\nAccept: application/xpidf+xml, application/cpim-pidf+xml, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, application/sdp, message/sipfrag;version=2.0\\r\\nAllow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER\\r\\nSupported: 100rel, timer, replaces, norefersub\\r\\nAccept-Encoding: text/plain\\r\\nAccept-Language: en\\r\\nServer: Asterisk PBX 16.4.0\\r\\nContent-Length: 0\\r\\n\\r\\n", "optionsResponse" : "SIP/2.0 401 Unauthorized\\r\\nVia: SIP/2.0/TCP 38.140.61.68:55431;rport=55431;received=38.140.61.68;branch=z9hG4bKRTzPzMoVh0\\r\\nCall-ID: oO9WaL3av8@38.140.61.68\\r\\nFrom: <sip:6054@voice.sfo2.notarealco.com>;tag=cGaJDNKQFE\\r\\nTo: <sip:6054@voice.sfo2.notarealco.com>;tag=z9hG4bKRTzPzMoVh0\\r\\nCSeq: 3 OPTIONS\\r\\nWWW-Authenticate: Digest realm=\\"asterisk\\",nonce=\\"1598728080/4e3bef2c789bdfa45ce9123221e08c8f\\",opaque=\\"748ffa241d840721\\",algorithm=md5,qop=\\"auth\\"\\r\\nServer: Asterisk PBX 16.4.0\\r\\nContent-Length: 0\\r\\n\\r\\n\\nSIP/2.0 200 OK\\r\\nVia: SIP/2.0/TCP 38.140.61.68:55431;rport=55431;received=38.140.61.68;branch=z9hG4bKRTzPzMoVh0\\r\\nCall-ID: oO9WaL3av8@38.140.61.68\\r\\nFrom: <sip:6054@voice.sfo2.notarealco.com>;tag=cGaJDNKQFE\\r\\nTo: <sip:6054@voice.sfo2.notarealco.com>;tag=z9hG4bKRTzPzMoVh0\\r\\nCSeq: 4 OPTIONS\\r\\nAccept: application/xpidf+xml, application/cpim-pidf+xml, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, application/sdp, message/sipfrag;version=2.0\\r\\nAllow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER\\r\\nSupported: 100rel, timer, replaces, norefersub\\r\\nAccept-Encoding: text/plain\\r\\nAccept-Language: en\\r\\nServer: Asterisk PBX 16.4.0\\r\\nContent-Length: 0\\r\\n\\r\\n",
"problemDetail" : "problemDetail", "problemDetail" : "problemDetail",
@ -164,7 +164,7 @@ class TestVoiceSIPServerTestResultsApi(unittest.TestCase):
"responseTime" : 12, "responseTime" : 12,
"totalTime" : 40, "totalTime" : 40,
"errorType" : "none", "errorType" : "none",
"availability" : 100.0, "availability" : 100,
"responseCode" : 200, "responseCode" : 200,
"optionsResponse" : "SIP/2.0 401 Unauthorized\\r\\nVia: SIP/2.0/TCP 38.140.61.68:55431;rport=55431;received=38.140.61.68;branch=z9hG4bKRTzPzMoVh0\\r\\nCall-ID: oO9WaL3av8@38.140.61.68\\r\\nFrom: <sip:6054@voice.sfo2.notarealco.com>;tag=cGaJDNKQFE\\r\\nTo: <sip:6054@voice.sfo2.notarealco.com>;tag=z9hG4bKRTzPzMoVh0\\r\\nCSeq: 3 OPTIONS\\r\\nWWW-Authenticate: Digest realm=\\"asterisk\\",nonce=\\"1598728080/4e3bef2c789bdfa45ce9123221e08c8f\\",opaque=\\"748ffa241d840721\\",algorithm=md5,qop=\\"auth\\"\\r\\nServer: Asterisk PBX 16.4.0\\r\\nContent-Length: 0\\r\\n\\r\\n\\nSIP/2.0 200 OK\\r\\nVia: SIP/2.0/TCP 38.140.61.68:55431;rport=55431;received=38.140.61.68;branch=z9hG4bKRTzPzMoVh0\\r\\nCall-ID: oO9WaL3av8@38.140.61.68\\r\\nFrom: <sip:6054@voice.sfo2.notarealco.com>;tag=cGaJDNKQFE\\r\\nTo: <sip:6054@voice.sfo2.notarealco.com>;tag=z9hG4bKRTzPzMoVh0\\r\\nCSeq: 4 OPTIONS\\r\\nAccept: application/xpidf+xml, application/cpim-pidf+xml, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, application/sdp, message/sipfrag;version=2.0\\r\\nAllow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER\\r\\nSupported: 100rel, timer, replaces, norefersub\\r\\nAccept-Encoding: text/plain\\r\\nAccept-Language: en\\r\\nServer: Asterisk PBX 16.4.0\\r\\nContent-Length: 0\\r\\n\\r\\n", "optionsResponse" : "SIP/2.0 401 Unauthorized\\r\\nVia: SIP/2.0/TCP 38.140.61.68:55431;rport=55431;received=38.140.61.68;branch=z9hG4bKRTzPzMoVh0\\r\\nCall-ID: oO9WaL3av8@38.140.61.68\\r\\nFrom: <sip:6054@voice.sfo2.notarealco.com>;tag=cGaJDNKQFE\\r\\nTo: <sip:6054@voice.sfo2.notarealco.com>;tag=z9hG4bKRTzPzMoVh0\\r\\nCSeq: 3 OPTIONS\\r\\nWWW-Authenticate: Digest realm=\\"asterisk\\",nonce=\\"1598728080/4e3bef2c789bdfa45ce9123221e08c8f\\",opaque=\\"748ffa241d840721\\",algorithm=md5,qop=\\"auth\\"\\r\\nServer: Asterisk PBX 16.4.0\\r\\nContent-Length: 0\\r\\n\\r\\n\\nSIP/2.0 200 OK\\r\\nVia: SIP/2.0/TCP 38.140.61.68:55431;rport=55431;received=38.140.61.68;branch=z9hG4bKRTzPzMoVh0\\r\\nCall-ID: oO9WaL3av8@38.140.61.68\\r\\nFrom: <sip:6054@voice.sfo2.notarealco.com>;tag=cGaJDNKQFE\\r\\nTo: <sip:6054@voice.sfo2.notarealco.com>;tag=z9hG4bKRTzPzMoVh0\\r\\nCSeq: 4 OPTIONS\\r\\nAccept: application/xpidf+xml, application/cpim-pidf+xml, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, application/sdp, message/sipfrag;version=2.0\\r\\nAllow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER\\r\\nSupported: 100rel, timer, replaces, norefersub\\r\\nAccept-Encoding: text/plain\\r\\nAccept-Language: en\\r\\nServer: Asterisk PBX 16.4.0\\r\\nContent-Length: 0\\r\\n\\r\\n",
"problemDetail" : "problemDetail", "problemDetail" : "problemDetail",

View File

@ -125,7 +125,7 @@ class TestWebHTTPServerTestResultsApi(unittest.TestCase):
"responseCode" : 200, "responseCode" : 200,
"connectTime" : 2, "connectTime" : 2,
"startTime" : 1384309800, "startTime" : 1384309800,
"throughput" : 123.0, "throughput" : 123,
"roundId" : 1384309800, "roundId" : 1384309800,
"headers" : { "headers" : {
"requestHeaders" : "GET / HTTP/1.1\\r\\nHost: www.thousandeyes.com\\r\\nUser-Agent: curl/7.58.0-DEV\\r\\nAccept: */*\\r\\nAccept-Encoding: deflate, gzip\\r\\nX-ThousandEyes-Agent: yes\\r\\n", "requestHeaders" : "GET / HTTP/1.1\\r\\nHost: www.thousandeyes.com\\r\\nUser-Agent: curl/7.58.0-DEV\\r\\nAccept: */*\\r\\nAccept-Encoding: deflate, gzip\\r\\nX-ThousandEyes-Agent: yes\\r\\n",
@ -189,7 +189,7 @@ class TestWebHTTPServerTestResultsApi(unittest.TestCase):
"responseCode" : 200, "responseCode" : 200,
"connectTime" : 2, "connectTime" : 2,
"startTime" : 1384309800, "startTime" : 1384309800,
"throughput" : 123.0, "throughput" : 123,
"roundId" : 1384309800, "roundId" : 1384309800,
"headers" : { "headers" : {
"requestHeaders" : "GET / HTTP/1.1\\r\\nHost: www.thousandeyes.com\\r\\nUser-Agent: curl/7.58.0-DEV\\r\\nAccept: */*\\r\\nAccept-Encoding: deflate, gzip\\r\\nX-ThousandEyes-Agent: yes\\r\\n", "requestHeaders" : "GET / HTTP/1.1\\r\\nHost: www.thousandeyes.com\\r\\nUser-Agent: curl/7.58.0-DEV\\r\\nAccept: */*\\r\\nAccept-Encoding: deflate, gzip\\r\\nX-ThousandEyes-Agent: yes\\r\\n",

View File

@ -352,10 +352,10 @@ class TestWebTransactionsTestResultsApi(unittest.TestCase):
"startTime" : 1384309800, "startTime" : 1384309800,
"endTime" : 1384309800, "endTime" : 1384309800,
"markers" : [ { "markers" : [ {
"duration" : 0, "duration" : 1360,
"name" : "SearchForWebdriver" "name" : "SearchForWebdriver"
}, { }, {
"duration" : 0, "duration" : 1360,
"name" : "SearchForWebdriver" "name" : "SearchForWebdriver"
} ], } ],
"roundId" : 1384309800, "roundId" : 1384309800,
@ -615,10 +615,10 @@ class TestWebTransactionsTestResultsApi(unittest.TestCase):
"startTime" : 1384309800, "startTime" : 1384309800,
"endTime" : 1384309800, "endTime" : 1384309800,
"markers" : [ { "markers" : [ {
"duration" : 0, "duration" : 1360,
"name" : "SearchForWebdriver" "name" : "SearchForWebdriver"
}, { }, {
"duration" : 0, "duration" : 1360,
"name" : "SearchForWebdriver" "name" : "SearchForWebdriver"
} ], } ],
"roundId" : 1384309800, "roundId" : 1384309800,
@ -738,10 +738,10 @@ class TestWebTransactionsTestResultsApi(unittest.TestCase):
"endTime" : 1384309800, "endTime" : 1384309800,
"transactionTime" : 2379, "transactionTime" : 2379,
"markers" : [ { "markers" : [ {
"duration" : 0, "duration" : 1360,
"name" : "SearchForWebdriver" "name" : "SearchForWebdriver"
}, { }, {
"duration" : 0, "duration" : 1360,
"name" : "SearchForWebdriver" "name" : "SearchForWebdriver"
} ], } ],
"roundId" : 1384309800, "roundId" : 1384309800,
@ -785,10 +785,10 @@ class TestWebTransactionsTestResultsApi(unittest.TestCase):
"endTime" : 1384309800, "endTime" : 1384309800,
"transactionTime" : 2379, "transactionTime" : 2379,
"markers" : [ { "markers" : [ {
"duration" : 0, "duration" : 1360,
"name" : "SearchForWebdriver" "name" : "SearchForWebdriver"
}, { }, {
"duration" : 0, "duration" : 1360,
"name" : "SearchForWebdriver" "name" : "SearchForWebdriver"
} ], } ],
"roundId" : 1384309800, "roundId" : 1384309800,

View File

@ -4,7 +4,7 @@ This API allows you to list, create, edit, and delete Network and Application Sy
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - 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] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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) | | **agent_type** | [**CloudEnterpriseAgentType**](CloudEnterpriseAgentType.md) | |
## Example ## Example

View File

@ -14,8 +14,8 @@ Name | Type | Description | Notes
**country_id** | **str** | 2-digit ISO country code | [optional] [readonly] **country_id** | **str** | 2-digit ISO country code | [optional] [readonly]
**coordinates** | [**Coordinates**](Coordinates.md) | | [optional] **coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
**enabled** | **bool** | Flag indicating if the agent is enabled. | [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] **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 ## 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") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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") 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -88,8 +88,8 @@ class AgentResponse(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
]) ])
_dict = self.model_dump( _dict = self.model_dump(
@ -121,8 +121,8 @@ class AgentResponse(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"),
"verifySslCertificates": obj.get("verifySslCertificates"), "verifySslCertificates": obj.get("verifySslCertificates"),
"prefix": obj.get("prefix"),
"agentType": obj.get("agentType") "agentType": obj.get("agentType")
}) })
return _obj return _obj

View File

@ -35,9 +35,9 @@ class SimpleAgent(BaseModel):
country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId") country_id: Optional[StrictStr] = Field(default=None, description="2-digit ISO country code", alias="countryId")
coordinates: Optional[Coordinates] = None coordinates: Optional[Coordinates] = None
enabled: Optional[StrictBool] = Field(default=None, description="Flag indicating if the agent is enabled.") 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") 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( model_config = ConfigDict(
populate_by_name=True, populate_by_name=True,
@ -86,8 +86,8 @@ class SimpleAgent(BaseModel):
"agent_id", "agent_id",
"location", "location",
"country_id", "country_id",
"prefix",
"verify_ssl_certificates", "verify_ssl_certificates",
"prefix",
]) ])
_dict = self.model_dump( _dict = self.model_dump(
@ -119,8 +119,8 @@ class SimpleAgent(BaseModel):
"countryId": obj.get("countryId"), "countryId": obj.get("countryId"),
"coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None, "coordinates": Coordinates.from_dict(obj["coordinates"]) if obj.get("coordinates") is not None else None,
"enabled": obj.get("enabled"), "enabled": obj.get("enabled"),
"prefix": obj.get("prefix"), "verifySslCertificates": obj.get("verifySslCertificates"),
"verifySslCertificates": obj.get("verifySslCertificates") "prefix": obj.get("prefix")
}) })
return _obj return _obj

View File

@ -1,5 +1,4 @@
# thousandeyes-sdk-usage # thousandeyes-sdk-usage
These usage endpoints define the following operations: These usage endpoints define the following operations:
* **Usage**: Retrieve usage data for the specified time period (default is one month). * **Usage**: Retrieve usage data for the specified time period (default is one month).
@ -18,7 +17,7 @@ Refer to the Usage API operations for detailed usage instructions and optional p
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 7.0.79 - API version: 7.0.80
- Generator version: 7.6.0 - Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator