Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion thousandeyes-sdk-administrative/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This API provides the following operations to manage your organization:

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 7.0.104
- API version: 7.0.105
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Manage Cloud and Enterprise Agents available to your account in ThousandEyes.

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 7.0.104
- API version: 7.0.105
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-alerts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ For more information about the alerts, see [Alerts](https://docs.thousandeyes.co

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 7.0.104
- API version: 7.0.105
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-bgp-monitors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ For more information about monitors, see [Inside-Out BGP Visibility](https://doc

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 7.0.104
- API version: 7.0.105
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-bgp-updates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Retrieve BGP updates observed by BGP monitors tracking prefixes in your Thousand

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 7.0.104
- API version: 7.0.105
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-cloud-insights-integrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ For more information about Cloud Insights, see [Cloud Insights](https://docs.tho

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 7.0.104
- API version: 7.0.105
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-connectors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Manage connectors and operations.

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 7.0.104
- API version: 7.0.105
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-credentials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ For more information about credentials, see [Working With Secure Credentials](ht

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 7.0.104
- API version: 7.0.105
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-dashboards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Manage ThousandEyes Dashboards.

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 7.0.104
- API version: 7.0.105
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-emulation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To access Emulation API operations, the following permissions are required:

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 7.0.104
- API version: 7.0.105
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down
4 changes: 4 additions & 0 deletions thousandeyes-sdk-endpoint-agents/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ MANIFEST.in
README.md
docs/AddressProfile.md
docs/AddressType.md
docs/AgentExplainabilityFailure.md
docs/AgentLicenseType.md
docs/AgentSearchFilters.md
docs/AgentSearchRequest.md
Expand All @@ -21,6 +22,7 @@ docs/BulkAgentTransferResponse.md
docs/CellularProfile.md
docs/ConditionalOperator.md
docs/ConnectionString.md
docs/DeploymentInfoItem.md
docs/EndpointAgent.md
docs/EndpointAgentEthernetProfile.md
docs/EndpointAgentLocation.md
Expand Down Expand Up @@ -84,6 +86,7 @@ src/thousandeyes_sdk/endpoint_agents/api/endpoint_proxies_api.py
src/thousandeyes_sdk/endpoint_agents/models/__init__.py
src/thousandeyes_sdk/endpoint_agents/models/address_profile.py
src/thousandeyes_sdk/endpoint_agents/models/address_type.py
src/thousandeyes_sdk/endpoint_agents/models/agent_explainability_failure.py
src/thousandeyes_sdk/endpoint_agents/models/agent_license_type.py
src/thousandeyes_sdk/endpoint_agents/models/agent_search_filters.py
src/thousandeyes_sdk/endpoint_agents/models/agent_search_request.py
Expand All @@ -102,6 +105,7 @@ src/thousandeyes_sdk/endpoint_agents/models/bulk_agent_transfer_response.py
src/thousandeyes_sdk/endpoint_agents/models/cellular_profile.py
src/thousandeyes_sdk/endpoint_agents/models/conditional_operator.py
src/thousandeyes_sdk/endpoint_agents/models/connection_string.py
src/thousandeyes_sdk/endpoint_agents/models/deployment_info_item.py
src/thousandeyes_sdk/endpoint_agents/models/endpoint_agent.py
src/thousandeyes_sdk/endpoint_agents/models/endpoint_agent_ethernet_profile.py
src/thousandeyes_sdk/endpoint_agents/models/endpoint_agent_location.py
Expand Down
4 changes: 3 additions & 1 deletion thousandeyes-sdk-endpoint-agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ For more information about Endpoint Agents, see [Endpoint Agents](https://docs.t

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 7.0.104
- API version: 7.0.105
- Generator version: 7.6.0
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator

Expand Down Expand Up @@ -122,6 +122,7 @@ Class | Method | HTTP request | Description

- [AddressProfile](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/AddressProfile.md)
- [AddressType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/AddressType.md)
- [AgentExplainabilityFailure](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/AgentExplainabilityFailure.md)
- [AgentLicenseType](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/AgentLicenseType.md)
- [AgentSearchFilters](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/AgentSearchFilters.md)
- [AgentSearchRequest](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/AgentSearchRequest.md)
Expand All @@ -140,6 +141,7 @@ Class | Method | HTTP request | Description
- [CellularProfile](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/CellularProfile.md)
- [ConditionalOperator](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/ConditionalOperator.md)
- [ConnectionString](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/ConnectionString.md)
- [DeploymentInfoItem](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/DeploymentInfoItem.md)
- [EndpointAgent](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/EndpointAgent.md)
- [EndpointAgentEthernetProfile](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/EndpointAgentEthernetProfile.md)
- [EndpointAgentLocation](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-endpoint-agents/docs/EndpointAgentLocation.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# AgentExplainabilityFailure

A machine-readable explanation for an endpoint agent collection failure.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**reason_code** | **str** | Failure reason reported by the agent. New reason codes may be introduced over time. |

## Example

```python
from thousandeyes_sdk.endpoint_agents.models.agent_explainability_failure import AgentExplainabilityFailure

# TODO update the JSON string below
json = "{}"
# create an instance of AgentExplainabilityFailure from a JSON string
agent_explainability_failure_instance = AgentExplainabilityFailure.from_json(json)
# print the JSON string representation of the object
print(AgentExplainabilityFailure.to_json())

# convert the object into a dict
agent_explainability_failure_dict = agent_explainability_failure_instance.to_dict()
# create an instance of AgentExplainabilityFailure from a dict
agent_explainability_failure_from_dict = AgentExplainabilityFailure.from_dict(agent_explainability_failure_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


31 changes: 31 additions & 0 deletions thousandeyes-sdk-endpoint-agents/docs/DeploymentInfoItem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# DeploymentInfoItem

A key-value entry containing deployment metadata reported by the endpoint agent.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**key** | **str** | Name of the deployment metadata item. |
**value** | **str** | Agent-reported value associated with `key`. |

## Example

```python
from thousandeyes_sdk.endpoint_agents.models.deployment_info_item import DeploymentInfoItem

# TODO update the JSON string below
json = "{}"
# create an instance of DeploymentInfoItem from a JSON string
deployment_info_item_instance = DeploymentInfoItem.from_json(json)
# print the JSON string representation of the object
print(DeploymentInfoItem.to_json())

# convert the object into a dict
deployment_info_item_dict = deployment_info_item_instance.to_dict()
# create an instance of DeploymentInfoItem from a dict
deployment_info_item_from_dict = DeploymentInfoItem.from_dict(deployment_info_item_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 2 additions & 0 deletions thousandeyes-sdk-endpoint-agents/docs/EndpointAgent.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Name | Type | Description | Notes
**agent_type** | **str** | | [optional] [readonly]
**vpn_profiles** | [**List[EndpointVpnProfile]**](EndpointVpnProfile.md) | List of VPN connections on the agent. Not populated by default. | [optional] [readonly]
**external_metadata** | [**List[ExternalMetadataItem]**](ExternalMetadataItem.md) | List of external metadata assigned to the endpoint agent. Visible only if the `expandAgent=externalMetadata` query parameter is included. | [optional]
**agent_explainability_failures** | [**List[AgentExplainabilityFailure]**](AgentExplainabilityFailure.md) | Current failures reported by the agent. An empty list means no current failures. | [optional] [readonly]
**deployment_info** | [**List[DeploymentInfoItem]**](DeploymentInfoItem.md) | Included when the agent has reported deployment metadata. | [optional] [readonly]
**network_interface_profiles** | [**List[InterfaceProfile]**](InterfaceProfile.md) | List of network interfaces on the agent. Not populated by default. | [optional] [readonly]
**asn_details** | [**EndpointAsnDetails**](EndpointAsnDetails.md) | | [optional]
**license_type** | [**AgentLicenseType**](AgentLicenseType.md) | | [optional]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# import models into sdk package
from thousandeyes_sdk.endpoint_agents.models.address_profile import AddressProfile
from thousandeyes_sdk.endpoint_agents.models.address_type import AddressType
from thousandeyes_sdk.endpoint_agents.models.agent_explainability_failure import AgentExplainabilityFailure
from thousandeyes_sdk.endpoint_agents.models.agent_license_type import AgentLicenseType
from thousandeyes_sdk.endpoint_agents.models.agent_search_filters import AgentSearchFilters
from thousandeyes_sdk.endpoint_agents.models.agent_search_request import AgentSearchRequest
Expand All @@ -41,6 +42,7 @@
from thousandeyes_sdk.endpoint_agents.models.cellular_profile import CellularProfile
from thousandeyes_sdk.endpoint_agents.models.conditional_operator import ConditionalOperator
from thousandeyes_sdk.endpoint_agents.models.connection_string import ConnectionString
from thousandeyes_sdk.endpoint_agents.models.deployment_info_item import DeploymentInfoItem
from thousandeyes_sdk.endpoint_agents.models.endpoint_agent import EndpointAgent
from thousandeyes_sdk.endpoint_agents.models.endpoint_agent_ethernet_profile import EndpointAgentEthernetProfile
from thousandeyes_sdk.endpoint_agents.models.endpoint_agent_location import EndpointAgentLocation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# import models into model package
from thousandeyes_sdk.endpoint_agents.models.address_profile import AddressProfile
from thousandeyes_sdk.endpoint_agents.models.address_type import AddressType
from thousandeyes_sdk.endpoint_agents.models.agent_explainability_failure import AgentExplainabilityFailure
from thousandeyes_sdk.endpoint_agents.models.agent_license_type import AgentLicenseType
from thousandeyes_sdk.endpoint_agents.models.agent_search_filters import AgentSearchFilters
from thousandeyes_sdk.endpoint_agents.models.agent_search_request import AgentSearchRequest
Expand All @@ -33,6 +34,7 @@
from thousandeyes_sdk.endpoint_agents.models.cellular_profile import CellularProfile
from thousandeyes_sdk.endpoint_agents.models.conditional_operator import ConditionalOperator
from thousandeyes_sdk.endpoint_agents.models.connection_string import ConnectionString
from thousandeyes_sdk.endpoint_agents.models.deployment_info_item import DeploymentInfoItem
from thousandeyes_sdk.endpoint_agents.models.endpoint_agent import EndpointAgent
from thousandeyes_sdk.endpoint_agents.models.endpoint_agent_ethernet_profile import EndpointAgentEthernetProfile
from thousandeyes_sdk.endpoint_agents.models.endpoint_agent_location import EndpointAgentLocation
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# coding: utf-8

"""
Endpoint Agents API

**Note:** The Endpoint Agents Transfer APIs are not available for ThousandEyes for Government instance. Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents).

Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501


from __future__ import annotations
import pprint
import re # noqa: F401
import json

from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List
from typing import Optional, Set
from typing_extensions import Self

class AgentExplainabilityFailure(BaseModel):
"""
A machine-readable explanation for an endpoint agent collection failure.
""" # noqa: E501
reason_code: StrictStr = Field(description="Failure reason reported by the agent. New reason codes may be introduced over time.", alias="reasonCode")
__properties: ClassVar[List[str]] = ["reasonCode"]

model_config = ConfigDict(
populate_by_name=True,
validate_assignment=True,
protected_namespaces=(),
extra="allow",
)


def to_str(self) -> str:
"""Returns the string representation of the model using alias"""
return pprint.pformat(self.model_dump(by_alias=True))

def to_json(self) -> str:
"""Returns the JSON representation of the model using alias"""
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
return self.model_dump_json(by_alias=True, exclude_unset=True, exclude_none=True)

@classmethod
def from_json(cls, json_str: str) -> Optional[Self]:
"""Create an instance of AgentExplainabilityFailure from a JSON string"""
return cls.from_dict(json.loads(json_str))

def to_dict(self) -> Dict[str, Any]:
"""Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic's
`self.model_dump(by_alias=True)`:

* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
"""
excluded_fields: Set[str] = set([
])

_dict = self.model_dump(
by_alias=True,
exclude=excluded_fields,
exclude_none=True,
)
return _dict

@classmethod
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"""Create an instance of AgentExplainabilityFailure from a dict"""
if obj is None:
return None

if not isinstance(obj, dict):
return cls.model_validate(obj)

_obj = cls.model_validate({
"reasonCode": obj.get("reasonCode")
})
return _obj


Loading
Loading