chore: regenerate Python SDK from oas-ci pipeline

This commit is contained in:
Jack Browne 2026-04-22 00:37:52 +01:00
parent db5262b316
commit d1b27ea1a8
276 changed files with 483 additions and 848 deletions

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/AccountGroup.md

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/AccountGroup.md

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/Alert.md

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/BGPMonitorsApi.md

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/Assignments.md

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/Credential.md

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/ActiveWithin.md
@ -10,8 +9,6 @@ docs/ApiAgentStatusAgent.md
docs/ApiAgentStatusIpInfo.md
docs/ApiAgentStatusSummary.md
docs/ApiAgentStatusWidget.md
docs/ApiAgentWidgetShow.md
docs/ApiAgentWidgetType.md
docs/ApiAggregateProperty.md
docs/ApiAlertListAlert.md
docs/ApiAlertListWidget.md
@ -59,8 +56,6 @@ docs/ApiWidgetDataSnapshotResponse.md
docs/ApiWidgetFilterApiTestTableFilterKey.md
docs/ApiWidgetFixedYScalePrefix.md
docs/ApiWidgetMeasure.md
docs/ApiWidgetSortDirection.md
docs/ApiWidgetSortProperty.md
docs/ApiWidgetsDataV2.md
docs/AppAndSelfLinks.md
docs/AswRepeat.md
@ -120,7 +115,6 @@ docs/VisualMode.md
docs/Widget.md
docs/WidgetMeasureType.md
docs/WidgetPosition.md
docs/WidgetType.md
pyproject.toml
setup.cfg
src/thousandeyes_sdk/dashboards/__init__.py
@ -138,8 +132,6 @@ src/thousandeyes_sdk/dashboards/models/api_agent_status_agent.py
src/thousandeyes_sdk/dashboards/models/api_agent_status_ip_info.py
src/thousandeyes_sdk/dashboards/models/api_agent_status_summary.py
src/thousandeyes_sdk/dashboards/models/api_agent_status_widget.py
src/thousandeyes_sdk/dashboards/models/api_agent_widget_show.py
src/thousandeyes_sdk/dashboards/models/api_agent_widget_type.py
src/thousandeyes_sdk/dashboards/models/api_aggregate_property.py
src/thousandeyes_sdk/dashboards/models/api_alert_list_alert.py
src/thousandeyes_sdk/dashboards/models/api_alert_list_widget.py
@ -187,8 +179,6 @@ src/thousandeyes_sdk/dashboards/models/api_widget_data_snapshot_response.py
src/thousandeyes_sdk/dashboards/models/api_widget_filter_api_test_table_filter_key.py
src/thousandeyes_sdk/dashboards/models/api_widget_fixed_y_scale_prefix.py
src/thousandeyes_sdk/dashboards/models/api_widget_measure.py
src/thousandeyes_sdk/dashboards/models/api_widget_sort_direction.py
src/thousandeyes_sdk/dashboards/models/api_widget_sort_property.py
src/thousandeyes_sdk/dashboards/models/api_widgets_data_v2.py
src/thousandeyes_sdk/dashboards/models/app_and_self_links.py
src/thousandeyes_sdk/dashboards/models/asw_repeat.py
@ -245,7 +235,6 @@ src/thousandeyes_sdk/dashboards/models/visual_mode.py
src/thousandeyes_sdk/dashboards/models/widget.py
src/thousandeyes_sdk/dashboards/models/widget_measure_type.py
src/thousandeyes_sdk/dashboards/models/widget_position.py
src/thousandeyes_sdk/dashboards/models/widget_type.py
src/thousandeyes_sdk/dashboards/py.typed
test/__init__.py
test/test_dashboard_snapshots_api.py

View File

@ -127,8 +127,6 @@ Class | Method | HTTP request | Description
- [ApiAgentStatusIpInfo](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAgentStatusIpInfo.md)
- [ApiAgentStatusSummary](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAgentStatusSummary.md)
- [ApiAgentStatusWidget](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAgentStatusWidget.md)
- [ApiAgentWidgetShow](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAgentWidgetShow.md)
- [ApiAgentWidgetType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAgentWidgetType.md)
- [ApiAggregateProperty](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAggregateProperty.md)
- [ApiAlertListAlert](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAlertListAlert.md)
- [ApiAlertListWidget](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiAlertListWidget.md)
@ -176,8 +174,6 @@ Class | Method | HTTP request | Description
- [ApiWidgetFilterApiTestTableFilterKey](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetFilterApiTestTableFilterKey.md)
- [ApiWidgetFixedYScalePrefix](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetFixedYScalePrefix.md)
- [ApiWidgetMeasure](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetMeasure.md)
- [ApiWidgetSortDirection](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetSortDirection.md)
- [ApiWidgetSortProperty](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetSortProperty.md)
- [ApiWidgetsDataV2](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/ApiWidgetsDataV2.md)
- [AppAndSelfLinks](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/AppAndSelfLinks.md)
- [AswRepeat](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/AswRepeat.md)
@ -234,7 +230,6 @@ Class | Method | HTTP request | Description
- [Widget](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/Widget.md)
- [WidgetMeasureType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/WidgetMeasureType.md)
- [WidgetPosition](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/WidgetPosition.md)
- [WidgetType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-dashboards/docs/WidgetType.md)
<a id="documentation-for-authorization"></a>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/EmulatedDevice.md

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/AddressProfile.md

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/AgentToServerEndpointInstantScheduledTestsApi.md

View File

@ -1,5 +1,4 @@
# thousandeyes-sdk-endpoint-instant-tests
You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data.
The following applies to the Endpoint Instant Scheduled Tests API:

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/EndpointAgentLabelsApi.md

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/ApplicationMetrics.md

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/AgentToServerEndpointDynamicTestsApi.md

View File

@ -1,5 +1,4 @@
# thousandeyes-sdk-endpoint-tests
Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API.

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/AffectedAgents.md

View File

@ -1,5 +1,4 @@
# thousandeyes-sdk-event-detection
Event detection occurs when ThousandEyes identifies that error signals related to a component (proxy, network node, AS, server etc) have deviated from the baselines established by events.
* To determine this, ThousandEyes takes the test results from all accounts groups within an organization, and analyzes that data.
* Noisy test results (those that have too many errors in a short window) are removed until they stabilize, and the rest of the results are tagged with the components associated with that test result (for example, proxy, network, or server).

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/APIInstantTestsApi.md

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/ApiApplicationOutageAffectedLocation.md

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/AppAndSelfLinks.md

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/ApiError.md
@ -28,7 +27,6 @@ docs/StreamStatusType.md
docs/StreamType.md
docs/StreamingApi.md
docs/TagMatch.md
docs/TagMatchObjectType.md
docs/TestMatch.md
docs/TestMatchDomain.md
docs/TestType.md
@ -65,7 +63,6 @@ src/thousandeyes_sdk/streaming/models/stream_status.py
src/thousandeyes_sdk/streaming/models/stream_status_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_object_type.py
src/thousandeyes_sdk/streaming/models/test_match.py
src/thousandeyes_sdk/streaming/models/test_match_domain.py
src/thousandeyes_sdk/streaming/models/test_type.py

View File

@ -144,7 +144,6 @@ Class | Method | HTTP request | Description
- [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)
- [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)
- [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)

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_type import StreamType
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_domain import TestMatchDomain
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_type import StreamType
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_domain import TestMatchDomain
from thousandeyes_sdk.streaming.models.test_type import TestType

View File

@ -1,40 +0,0 @@
# coding: utf-8
"""
ThousandEyes for OpenTelemetry API
**Note:** All ThousandEyes for OpenTelemetry APIs are not available for ThousandEyes for Government instance. 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

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/AccessType.md

View File

@ -1,6 +1,6 @@
# AccessType
The access level of the tag. The access level determines the label's visibility in the UI and the permissions required to modify it. Accepted values are: * `all`: The tag is visible and editable by any user in the account group with the standard **View tags** or **Edit tags** permission. Default for all user-created tags. * `partner`: The tag is owned by a specific integration partner. Only that partner can read or modify it. It's hidden from all regular account users and excluded from their GET responses. * `system`: Reserved for ThousandEyes internal use only. This value may appear in GET responses on internally managed tags but cannot be set by users or integration partners.
The access level of the tag. The access level determines the label's visibility in the UI and the permissions required to modify it. Accepted values are: * `all`: The tag is visible and editable by any user in the account group with the standard **View tags** or **Edit tags** permission. Default for all user-created tags. * `partner`: The tag is owned by a specific integration partner. Only that partner can read or modify it. It's hidden from all regular account users and excluded from their GET responses. * `system`: Reserved for ThousandEyes internal use only. This value may appear in GET responses on internally managed tags but cannot be set by users or integration partners.
## Properties

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/APITestResultsApi.md

View File

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

View File

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

View File

@ -111,7 +111,7 @@ class TestNetworkTestResultsApi(unittest.TestCase):
"packetsBySecond" : [ [ ], [ 0 ], [ 2 ], [ 2, 1 ], [ 1, 1 ] ],
"avgLatency" : 167.04,
"bandwidth" : 4.3313155,
"minLatency" : 167.0,
"minLatency" : 167,
"_links" : {
"appLink" : {
"hreflang" : "hreflang",
@ -124,19 +124,19 @@ class TestNetworkTestResultsApi(unittest.TestCase):
"title" : "title"
}
},
"maxLatency" : 168.0,
"maxLatency" : 168,
"proxyJitter" : 1.2,
"proxyAverageLatency" : 45.0,
"proxyAverageLatency" : 45,
"proxyLoss" : 2.5,
"healthScore" : 0.98,
"capacity" : 210.10854,
"loss" : 0.0,
"proxyMinLatency" : 40.0,
"loss" : 0,
"proxyMinLatency" : 40,
"jitter" : 0.076808,
"serverIp" : "50.18.127.223",
"startTime" : 1384309800,
"endTime" : 1384309800,
"proxyMaxLatency" : 50.0,
"proxyMaxLatency" : 50,
"roundId" : 1384309800,
"direction" : "to-target"
}, {
@ -152,7 +152,7 @@ class TestNetworkTestResultsApi(unittest.TestCase):
"packetsBySecond" : [ [ ], [ 0 ], [ 2 ], [ 2, 1 ], [ 1, 1 ] ],
"avgLatency" : 167.04,
"bandwidth" : 4.3313155,
"minLatency" : 167.0,
"minLatency" : 167,
"_links" : {
"appLink" : {
"hreflang" : "hreflang",
@ -165,19 +165,19 @@ class TestNetworkTestResultsApi(unittest.TestCase):
"title" : "title"
}
},
"maxLatency" : 168.0,
"maxLatency" : 168,
"proxyJitter" : 1.2,
"proxyAverageLatency" : 45.0,
"proxyAverageLatency" : 45,
"proxyLoss" : 2.5,
"healthScore" : 0.98,
"capacity" : 210.10854,
"loss" : 0.0,
"proxyMinLatency" : 40.0,
"loss" : 0,
"proxyMinLatency" : 40,
"jitter" : 0.076808,
"serverIp" : "50.18.127.223",
"startTime" : 1384309800,
"endTime" : 1384309800,
"proxyMaxLatency" : 50.0,
"proxyMaxLatency" : 50,
"roundId" : 1384309800,
"direction" : "to-target"
} ],

View File

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

View File

@ -125,7 +125,7 @@ class TestVoiceSIPServerTestResultsApi(unittest.TestCase):
"responseTime" : 12,
"totalTime" : 40,
"errorType" : "none",
"availability" : 100.0,
"availability" : 100,
"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",
"problemDetail" : "problemDetail",
@ -164,7 +164,7 @@ class TestVoiceSIPServerTestResultsApi(unittest.TestCase):
"responseTime" : 12,
"totalTime" : 40,
"errorType" : "none",
"availability" : 100.0,
"availability" : 100,
"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",
"problemDetail" : "problemDetail",

View File

@ -125,7 +125,7 @@ class TestWebHTTPServerTestResultsApi(unittest.TestCase):
"responseCode" : 200,
"connectTime" : 2,
"startTime" : 1384309800,
"throughput" : 123.0,
"throughput" : 123,
"roundId" : 1384309800,
"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",
@ -189,7 +189,7 @@ class TestWebHTTPServerTestResultsApi(unittest.TestCase):
"responseCode" : 200,
"connectTime" : 2,
"startTime" : 1384309800,
"throughput" : 123.0,
"throughput" : 123,
"roundId" : 1384309800,
"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",

View File

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

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
MANIFEST.in
README.md
docs/APITestsApi.md

View File

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

View File

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

View File

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

View File

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

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