diff --git a/thousandeyes-sdk-administrative/README.md b/thousandeyes-sdk-administrative/README.md index f73750a6..958f0660 100644 --- a/thousandeyes-sdk-administrative/README.md +++ b/thousandeyes-sdk-administrative/README.md @@ -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.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-agents/README.md b/thousandeyes-sdk-agents/README.md index 2b4cba4f..5073ed45 100644 --- a/thousandeyes-sdk-agents/README.md +++ b/thousandeyes-sdk-agents/README.md @@ -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.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-alerts/README.md b/thousandeyes-sdk-alerts/README.md index a92217b2..6ef9cfc7 100644 --- a/thousandeyes-sdk-alerts/README.md +++ b/thousandeyes-sdk-alerts/README.md @@ -12,7 +12,7 @@ For more information about the alerts, see [Alerts](https://docs.thousandeyes.co This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-bgp-monitors/README.md b/thousandeyes-sdk-bgp-monitors/README.md index 3a45695b..a393b879 100644 --- a/thousandeyes-sdk-bgp-monitors/README.md +++ b/thousandeyes-sdk-bgp-monitors/README.md @@ -9,7 +9,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.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-credentials/README.md b/thousandeyes-sdk-credentials/README.md index a54f8b1f..8fdf802a 100644 --- a/thousandeyes-sdk-credentials/README.md +++ b/thousandeyes-sdk-credentials/README.md @@ -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.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-dashboards/README.md b/thousandeyes-sdk-dashboards/README.md index 63b461c6..2c056924 100644 --- a/thousandeyes-sdk-dashboards/README.md +++ b/thousandeyes-sdk-dashboards/README.md @@ -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.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/api_aggregate_property.py b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/api_aggregate_property.py index 662532ec..ecf5782b 100644 --- a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/api_aggregate_property.py +++ b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/api_aggregate_property.py @@ -60,6 +60,9 @@ class ApiAggregateProperty(str, Enum): EYEBROW_AGENT_TYPE = 'EYEBROW_AGENT_TYPE' EYEBROW_TARGET_IP = 'EYEBROW_TARGET_IP' EYEBROW_NET_TARGET_IP = 'EYEBROW_NET_TARGET_IP' + ENDPOINT_CELLULAR_CARRIER_NAME = 'ENDPOINT_CELLULAR_CARRIER_NAME' + ENDPOINT_CELLULAR_NETWORK_GEN = 'ENDPOINT_CELLULAR_NETWORK_GEN' + ENDPOINT_CELLULAR_NETWORK_SUBTYPE = 'ENDPOINT_CELLULAR_NETWORK_SUBTYPE' EYEBROW_GATEWAY = 'EYEBROW_GATEWAY' EYEBROW_SSID = 'EYEBROW_SSID' SSID = 'SSID' diff --git a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/dashboard_metric.py b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/dashboard_metric.py index 0651ff87..7cbc103a 100644 --- a/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/dashboard_metric.py +++ b/thousandeyes-sdk-dashboards/src/thousandeyes_sdk/dashboards/models/dashboard_metric.py @@ -198,6 +198,10 @@ class DashboardMetric(str, Enum): EYEBROW_GATEWAY_WIRELESS_ROAMING_EVENTS = 'EYEBROW_GATEWAY_WIRELESS_ROAMING_EVENTS' EYEBROW_GATEWAY_WIRELESS_SIGNAL_QUALITY = 'EYEBROW_GATEWAY_WIRELESS_SIGNAL_QUALITY' EYEBROW_GATEWAY_WIRELESS_THROUGHPUT = 'EYEBROW_GATEWAY_WIRELESS_THROUGHPUT' + ENDPOINT_CELLULAR_RSSI = 'ENDPOINT_CELLULAR_RSSI' + ENDPOINT_CELLULAR_RSRP = 'ENDPOINT_CELLULAR_RSRP' + ENDPOINT_CELLULAR_RSRQ = 'ENDPOINT_CELLULAR_RSRQ' + ENDPOINT_CELLULAR_SINR = 'ENDPOINT_CELLULAR_SINR' ENDPOINT_AST_TEST_NET_LOSS = 'ENDPOINT_AST_TEST_NET_LOSS' ENDPOINT_AST_TEST_NET_JITTER = 'ENDPOINT_AST_TEST_NET_JITTER' ENDPOINT_AST_TEST_NET_LATENCY = 'ENDPOINT_AST_TEST_NET_LATENCY' diff --git a/thousandeyes-sdk-emulation/README.md b/thousandeyes-sdk-emulation/README.md index 52bc6e0b..f89b46ab 100644 --- a/thousandeyes-sdk-emulation/README.md +++ b/thousandeyes-sdk-emulation/README.md @@ -9,7 +9,7 @@ To access Emulation API operations, the following permissions are required: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-agents/README.md b/thousandeyes-sdk-endpoint-agents/README.md index f170280e..d54e36a3 100644 --- a/thousandeyes-sdk-endpoint-agents/README.md +++ b/thousandeyes-sdk-endpoint-agents/README.md @@ -5,7 +5,7 @@ For more information about Endpoint Agents, see [Endpoint Agents](https://docs.t This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-instant-tests/README.md b/thousandeyes-sdk-endpoint-instant-tests/README.md index ae9d4dc6..c4339f81 100644 --- a/thousandeyes-sdk-endpoint-instant-tests/README.md +++ b/thousandeyes-sdk-endpoint-instant-tests/README.md @@ -13,7 +13,7 @@ The URLs for these API test data endpoints are provided within the test definiti This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-labels/README.md b/thousandeyes-sdk-endpoint-labels/README.md index 735e089d..6c313629 100644 --- a/thousandeyes-sdk-endpoint-labels/README.md +++ b/thousandeyes-sdk-endpoint-labels/README.md @@ -4,7 +4,7 @@ Manage labels applied to endpoint agents using this API. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-test-results/README.md b/thousandeyes-sdk-endpoint-test-results/README.md index d28e82df..17e0d83f 100644 --- a/thousandeyes-sdk-endpoint-test-results/README.md +++ b/thousandeyes-sdk-endpoint-test-results/README.md @@ -3,7 +3,7 @@ Retrieve results for scheduled and dynamic tests on endpoint agents. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-endpoint-tests/README.md b/thousandeyes-sdk-endpoint-tests/README.md index 3a69200a..eb2f82d8 100644 --- a/thousandeyes-sdk-endpoint-tests/README.md +++ b/thousandeyes-sdk-endpoint-tests/README.md @@ -5,7 +5,7 @@ Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-event-detection/README.md b/thousandeyes-sdk-event-detection/README.md index a70544bb..1cc8b348 100644 --- a/thousandeyes-sdk-event-detection/README.md +++ b/thousandeyes-sdk-event-detection/README.md @@ -12,7 +12,7 @@ With the Events API, you can perform the following tasks on the ThousandEyes pla This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-instant-tests/README.md b/thousandeyes-sdk-instant-tests/README.md index 093a027c..82fae0b1 100644 --- a/thousandeyes-sdk-instant-tests/README.md +++ b/thousandeyes-sdk-instant-tests/README.md @@ -6,7 +6,7 @@ The response does not include the immediate test results. Use the Test Results e This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-internet-insights/README.md b/thousandeyes-sdk-internet-insights/README.md index b0b60bd2..f7bc3aa9 100644 --- a/thousandeyes-sdk-internet-insights/README.md +++ b/thousandeyes-sdk-internet-insights/README.md @@ -14,7 +14,7 @@ For more information about Internet Insights, see the [Internet Insights](https: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-snapshots/README.md b/thousandeyes-sdk-snapshots/README.md index ac2eefbd..cf1db515 100644 --- a/thousandeyes-sdk-snapshots/README.md +++ b/thousandeyes-sdk-snapshots/README.md @@ -3,7 +3,7 @@ Creates a new test snapshot in ThousandEyes. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-streaming/README.md b/thousandeyes-sdk-streaming/README.md index b0ca9c6a..e5a464f3 100644 --- a/thousandeyes-sdk-streaming/README.md +++ b/thousandeyes-sdk-streaming/README.md @@ -15,7 +15,7 @@ For more information about ThousandEyes for OpenTelemetry, see the [product docu This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-tags/.openapi-generator/FILES b/thousandeyes-sdk-tags/.openapi-generator/FILES index c23e3c66..e5892d6f 100644 --- a/thousandeyes-sdk-tags/.openapi-generator/FILES +++ b/thousandeyes-sdk-tags/.openapi-generator/FILES @@ -20,6 +20,7 @@ docs/TagBulkCreateError.md docs/TagInfo.md docs/Tags.md docs/TagsApi.md +docs/Type.md docs/UnauthorizedError.md docs/ValidationError.md docs/ValidationErrorItem.md @@ -47,6 +48,7 @@ src/thousandeyes_sdk/tags/models/tag_assignment.py src/thousandeyes_sdk/tags/models/tag_bulk_create_error.py src/thousandeyes_sdk/tags/models/tag_info.py src/thousandeyes_sdk/tags/models/tags.py +src/thousandeyes_sdk/tags/models/type.py src/thousandeyes_sdk/tags/models/unauthorized_error.py src/thousandeyes_sdk/tags/models/validation_error.py src/thousandeyes_sdk/tags/models/validation_error_item.py diff --git a/thousandeyes-sdk-tags/README.md b/thousandeyes-sdk-tags/README.md index d4d005c0..79d95490 100644 --- a/thousandeyes-sdk-tags/README.md +++ b/thousandeyes-sdk-tags/README.md @@ -16,7 +16,7 @@ Things to note with the ThousandEyes Tags API: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator @@ -140,6 +140,7 @@ Class | Method | HTTP request | Description - [TagBulkCreateError](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tags/docs/TagBulkCreateError.md) - [TagInfo](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tags/docs/TagInfo.md) - [Tags](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tags/docs/Tags.md) + - [Type](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tags/docs/Type.md) - [UnauthorizedError](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tags/docs/UnauthorizedError.md) - [ValidationError](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tags/docs/ValidationError.md) - [ValidationErrorItem](https://github.com/thousandeyes/thousandeyes-sdk-python//tree/main/thousandeyes-sdk-tags/docs/ValidationErrorItem.md) diff --git a/thousandeyes-sdk-tags/docs/Tag.md b/thousandeyes-sdk-tags/docs/Tag.md index b2536f68..6dbe51ee 100644 --- a/thousandeyes-sdk-tags/docs/Tag.md +++ b/thousandeyes-sdk-tags/docs/Tag.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **assignments** | [**List[Assignment]**](Assignment.md) | | [optional] [readonly] **access_type** | [**AccessType**](AccessType.md) | | [optional] **aid** | **int** | The account group ID | [optional] [readonly] +**built_in** | **bool** | Indicates whether it is a built-in tag or a user-created (custom) tag. | [optional] [readonly] **color** | **str** | Tag color | [optional] **create_date** | **str** | Tag creation date | [optional] [readonly] **icon** | **str** | | [optional] @@ -15,7 +16,9 @@ Name | Type | Description | Notes **id** | **str** | The tag ID | [optional] [readonly] **key** | **str** | The tags's key | [optional] **legacy_id** | **float** | | [optional] [readonly] +**modified_date** | **datetime** | The date and time the tag was last modified. | [optional] [readonly] **object_type** | [**ObjectType**](ObjectType.md) | | [optional] +**type** | [**Type**](Type.md) | | [optional] **value** | **str** | The tag's value | [optional] **links** | [**SelfLinks**](SelfLinks.md) | | [optional] diff --git a/thousandeyes-sdk-tags/docs/TagInfo.md b/thousandeyes-sdk-tags/docs/TagInfo.md index 71c073b3..7d09a953 100644 --- a/thousandeyes-sdk-tags/docs/TagInfo.md +++ b/thousandeyes-sdk-tags/docs/TagInfo.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **assignments** | [**List[Assignment]**](Assignment.md) | | [optional] [readonly] **access_type** | [**AccessType**](AccessType.md) | | [optional] **aid** | **int** | The account group ID | [optional] [readonly] +**built_in** | **bool** | Indicates whether it is a built-in tag or a user-created (custom) tag. | [optional] [readonly] **color** | **str** | Tag color | [optional] **create_date** | **str** | Tag creation date | [optional] [readonly] **icon** | **str** | | [optional] @@ -15,7 +16,9 @@ Name | Type | Description | Notes **id** | **str** | The tag ID | [optional] [readonly] **key** | **str** | The tags's key | [optional] **legacy_id** | **float** | | [optional] [readonly] +**modified_date** | **datetime** | The date and time the tag was last modified. | [optional] [readonly] **object_type** | [**ObjectType**](ObjectType.md) | | [optional] +**type** | [**Type**](Type.md) | | [optional] **value** | **str** | The tag's value | [optional] ## Example diff --git a/thousandeyes-sdk-tags/docs/Type.md b/thousandeyes-sdk-tags/docs/Type.md new file mode 100644 index 00000000..f0f64386 --- /dev/null +++ b/thousandeyes-sdk-tags/docs/Type.md @@ -0,0 +1,12 @@ +# Type + +The nature of the tag - whether the tag is dynamically assigned to products based on a filter rule or statically assigned to specified products. + +## 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) + + diff --git a/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/__init__.py b/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/__init__.py index b17ef620..d7b5a4f8 100644 --- a/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/__init__.py +++ b/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/__init__.py @@ -36,6 +36,7 @@ from thousandeyes_sdk.tags.models.tag_assignment import TagAssignment from thousandeyes_sdk.tags.models.tag_bulk_create_error import TagBulkCreateError from thousandeyes_sdk.tags.models.tag_info import TagInfo from thousandeyes_sdk.tags.models.tags import Tags +from thousandeyes_sdk.tags.models.type import Type from thousandeyes_sdk.tags.models.unauthorized_error import UnauthorizedError from thousandeyes_sdk.tags.models.validation_error import ValidationError from thousandeyes_sdk.tags.models.validation_error_item import ValidationErrorItem diff --git a/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/__init__.py b/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/__init__.py index 9c4e7e64..dd3b5e48 100644 --- a/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/__init__.py +++ b/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/__init__.py @@ -30,6 +30,7 @@ from thousandeyes_sdk.tags.models.tag_assignment import TagAssignment from thousandeyes_sdk.tags.models.tag_bulk_create_error import TagBulkCreateError from thousandeyes_sdk.tags.models.tag_info import TagInfo from thousandeyes_sdk.tags.models.tags import Tags +from thousandeyes_sdk.tags.models.type import Type from thousandeyes_sdk.tags.models.unauthorized_error import UnauthorizedError from thousandeyes_sdk.tags.models.validation_error import ValidationError from thousandeyes_sdk.tags.models.validation_error_item import ValidationErrorItem diff --git a/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/tag.py b/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/tag.py index 9abb4944..5c56d969 100644 --- a/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/tag.py +++ b/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/tag.py @@ -16,12 +16,14 @@ import pprint import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from thousandeyes_sdk.tags.models.access_type import AccessType from thousandeyes_sdk.tags.models.assignment import Assignment from thousandeyes_sdk.tags.models.object_type import ObjectType from thousandeyes_sdk.tags.models.self_links import SelfLinks +from thousandeyes_sdk.tags.models.type import Type from typing import Optional, Set from typing_extensions import Self @@ -32,6 +34,7 @@ class Tag(BaseModel): assignments: Optional[List[Assignment]] = None access_type: Optional[AccessType] = Field(default=None, alias="accessType") aid: Optional[StrictInt] = Field(default=None, description="The account group ID") + built_in: Optional[StrictBool] = Field(default=None, description="Indicates whether it is a built-in tag or a user-created (custom) tag.", alias="builtIn") color: Optional[StrictStr] = Field(default=None, description="Tag color") create_date: Optional[StrictStr] = Field(default=None, description="Tag creation date", alias="createDate") icon: Optional[StrictStr] = None @@ -39,10 +42,12 @@ class Tag(BaseModel): id: Optional[StrictStr] = Field(default=None, description="The tag ID") key: Optional[StrictStr] = Field(default=None, description="The tags's key") legacy_id: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="legacyId") + modified_date: Optional[datetime] = Field(default=None, description="The date and time the tag was last modified.", alias="modifiedDate") object_type: Optional[ObjectType] = Field(default=None, alias="objectType") + type: Optional[Type] = None value: Optional[StrictStr] = Field(default=None, description="The tag's value") links: Optional[SelfLinks] = Field(default=None, alias="_links") - __properties: ClassVar[List[str]] = ["assignments", "accessType", "aid", "color", "createDate", "icon", "description", "id", "key", "legacyId", "objectType", "value", "_links"] + __properties: ClassVar[List[str]] = ["assignments", "accessType", "aid", "builtIn", "color", "createDate", "icon", "description", "id", "key", "legacyId", "modifiedDate", "objectType", "type", "value", "_links"] model_config = ConfigDict( populate_by_name=True, @@ -80,13 +85,17 @@ class Tag(BaseModel): * OpenAPI `readOnly` fields are excluded. * OpenAPI `readOnly` fields are excluded. * OpenAPI `readOnly` fields are excluded. + * OpenAPI `readOnly` fields are excluded. + * OpenAPI `readOnly` fields are excluded. """ excluded_fields: Set[str] = set([ "assignments", "aid", + "built_in", "create_date", "id", "legacy_id", + "modified_date", ]) _dict = self.model_dump( @@ -119,6 +128,11 @@ class Tag(BaseModel): if self.legacy_id is None and "legacy_id" in self.model_fields_set: _dict['legacyId'] = None + # set to None if modified_date (nullable) is None + # and model_fields_set contains the field + if self.modified_date is None and "modified_date" in self.model_fields_set: + _dict['modifiedDate'] = None + return _dict @classmethod @@ -134,6 +148,7 @@ class Tag(BaseModel): "assignments": [Assignment.from_dict(_item) for _item in obj["assignments"]] if obj.get("assignments") is not None else None, "accessType": obj.get("accessType"), "aid": obj.get("aid"), + "builtIn": obj.get("builtIn"), "color": obj.get("color"), "createDate": obj.get("createDate"), "icon": obj.get("icon"), @@ -141,7 +156,9 @@ class Tag(BaseModel): "id": obj.get("id"), "key": obj.get("key"), "legacyId": obj.get("legacyId"), + "modifiedDate": obj.get("modifiedDate"), "objectType": obj.get("objectType"), + "type": obj.get("type"), "value": obj.get("value"), "_links": SelfLinks.from_dict(obj["_links"]) if obj.get("_links") is not None else None }) diff --git a/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/tag_info.py b/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/tag_info.py index 678c30b9..39fce010 100644 --- a/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/tag_info.py +++ b/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/tag_info.py @@ -16,11 +16,13 @@ import pprint import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from thousandeyes_sdk.tags.models.access_type import AccessType from thousandeyes_sdk.tags.models.assignment import Assignment from thousandeyes_sdk.tags.models.object_type import ObjectType +from thousandeyes_sdk.tags.models.type import Type from typing import Optional, Set from typing_extensions import Self @@ -31,6 +33,7 @@ class TagInfo(BaseModel): assignments: Optional[List[Assignment]] = None access_type: Optional[AccessType] = Field(default=None, alias="accessType") aid: Optional[StrictInt] = Field(default=None, description="The account group ID") + built_in: Optional[StrictBool] = Field(default=None, description="Indicates whether it is a built-in tag or a user-created (custom) tag.", alias="builtIn") color: Optional[StrictStr] = Field(default=None, description="Tag color") create_date: Optional[StrictStr] = Field(default=None, description="Tag creation date", alias="createDate") icon: Optional[StrictStr] = None @@ -38,9 +41,11 @@ class TagInfo(BaseModel): id: Optional[StrictStr] = Field(default=None, description="The tag ID") key: Optional[StrictStr] = Field(default=None, description="The tags's key") legacy_id: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="legacyId") + modified_date: Optional[datetime] = Field(default=None, description="The date and time the tag was last modified.", alias="modifiedDate") object_type: Optional[ObjectType] = Field(default=None, alias="objectType") + type: Optional[Type] = None value: Optional[StrictStr] = Field(default=None, description="The tag's value") - __properties: ClassVar[List[str]] = ["assignments", "accessType", "aid", "color", "createDate", "icon", "description", "id", "key", "legacyId", "objectType", "value"] + __properties: ClassVar[List[str]] = ["assignments", "accessType", "aid", "builtIn", "color", "createDate", "icon", "description", "id", "key", "legacyId", "modifiedDate", "objectType", "type", "value"] model_config = ConfigDict( populate_by_name=True, @@ -78,13 +83,17 @@ class TagInfo(BaseModel): * OpenAPI `readOnly` fields are excluded. * OpenAPI `readOnly` fields are excluded. * OpenAPI `readOnly` fields are excluded. + * OpenAPI `readOnly` fields are excluded. + * OpenAPI `readOnly` fields are excluded. """ excluded_fields: Set[str] = set([ "assignments", "aid", + "built_in", "create_date", "id", "legacy_id", + "modified_date", ]) _dict = self.model_dump( @@ -114,6 +123,11 @@ class TagInfo(BaseModel): if self.legacy_id is None and "legacy_id" in self.model_fields_set: _dict['legacyId'] = None + # set to None if modified_date (nullable) is None + # and model_fields_set contains the field + if self.modified_date is None and "modified_date" in self.model_fields_set: + _dict['modifiedDate'] = None + return _dict @classmethod @@ -129,6 +143,7 @@ class TagInfo(BaseModel): "assignments": [Assignment.from_dict(_item) for _item in obj["assignments"]] if obj.get("assignments") is not None else None, "accessType": obj.get("accessType"), "aid": obj.get("aid"), + "builtIn": obj.get("builtIn"), "color": obj.get("color"), "createDate": obj.get("createDate"), "icon": obj.get("icon"), @@ -136,7 +151,9 @@ class TagInfo(BaseModel): "id": obj.get("id"), "key": obj.get("key"), "legacyId": obj.get("legacyId"), + "modifiedDate": obj.get("modifiedDate"), "objectType": obj.get("objectType"), + "type": obj.get("type"), "value": obj.get("value") }) return _obj diff --git a/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/type.py b/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/type.py new file mode 100644 index 00000000..de7750ec --- /dev/null +++ b/thousandeyes-sdk-tags/src/thousandeyes_sdk/tags/models/type.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Tags API + + The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or dashboards) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. + + 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 Type(str, Enum): + """ + The nature of the tag - whether the tag is dynamically assigned to products based on a filter rule or statically assigned to specified products. + """ + + """ + allowed enum values + """ + STATIC = 'static' + UNKNOWN = 'unknown' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of Type from a JSON string""" + return cls(json.loads(json_str)) + + @classmethod + def _missing_(cls, value): + """Handle unknown values""" + return cls.UNKNOWN + diff --git a/thousandeyes-sdk-tags/test/test_tags_api.py b/thousandeyes-sdk-tags/test/test_tags_api.py index 7e84290f..9c3e77b8 100644 --- a/thousandeyes-sdk-tags/test/test_tags_api.py +++ b/thousandeyes-sdk-tags/test/test_tags_api.py @@ -32,7 +32,6 @@ class TestTagsApi(unittest.TestCase): """Test case for create_tag request and response models""" request_body_json = """ { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -41,15 +40,19 @@ class TestTagsApi(unittest.TestCase): "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" }""" request_loaded_json = json.loads(request_body_json) @@ -58,7 +61,6 @@ class TestTagsApi(unittest.TestCase): response_body_json = """ { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -67,15 +69,19 @@ class TestTagsApi(unittest.TestCase): "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" }""" response_loaded_json = json.loads(response_body_json) @@ -89,7 +95,6 @@ class TestTagsApi(unittest.TestCase): "errors" : [ { "tag" : { "key" : { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -98,15 +103,19 @@ class TestTagsApi(unittest.TestCase): "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } }, "message" : "Object successfully created", @@ -114,7 +123,6 @@ class TestTagsApi(unittest.TestCase): }, { "tag" : { "key" : { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -123,15 +131,19 @@ class TestTagsApi(unittest.TestCase): "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } }, "message" : "Object successfully created", @@ -158,10 +170,13 @@ class TestTagsApi(unittest.TestCase): "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -189,10 +204,13 @@ class TestTagsApi(unittest.TestCase): "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -211,7 +229,6 @@ class TestTagsApi(unittest.TestCase): "errors" : [ { "tag" : { "key" : { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -220,15 +237,19 @@ class TestTagsApi(unittest.TestCase): "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } }, "message" : "Object successfully created", @@ -236,7 +257,6 @@ class TestTagsApi(unittest.TestCase): }, { "tag" : { "key" : { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -245,15 +265,19 @@ class TestTagsApi(unittest.TestCase): "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } }, "message" : "Object successfully created", @@ -280,10 +304,13 @@ class TestTagsApi(unittest.TestCase): "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -311,10 +338,13 @@ class TestTagsApi(unittest.TestCase): "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -357,10 +387,13 @@ class TestTagsApi(unittest.TestCase): "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -411,10 +444,13 @@ class TestTagsApi(unittest.TestCase): "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -442,10 +478,13 @@ class TestTagsApi(unittest.TestCase): "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -463,7 +502,6 @@ class TestTagsApi(unittest.TestCase): """Test case for update_tag request and response models""" request_body_json = """ { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -472,15 +510,19 @@ class TestTagsApi(unittest.TestCase): "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" }""" request_loaded_json = json.loads(request_body_json) @@ -489,7 +531,6 @@ class TestTagsApi(unittest.TestCase): response_body_json = """ { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -498,15 +539,19 @@ class TestTagsApi(unittest.TestCase): "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" }""" response_loaded_json = json.loads(response_body_json) diff --git a/thousandeyes-sdk-test-results/README.md b/thousandeyes-sdk-test-results/README.md index 5e8e29c5..c3608849 100644 --- a/thousandeyes-sdk-test-results/README.md +++ b/thousandeyes-sdk-test-results/README.md @@ -3,7 +3,7 @@ Get test result metrics for Network and Application Synthetics tests. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-tests/README.md b/thousandeyes-sdk-tests/README.md index 0c880fc7..e2e17270 100644 --- a/thousandeyes-sdk-tests/README.md +++ b/thousandeyes-sdk-tests/README.md @@ -4,7 +4,7 @@ This API allows you to list, create, edit, and delete Network and Application Sy This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator diff --git a/thousandeyes-sdk-usage/README.md b/thousandeyes-sdk-usage/README.md index d4414796..940a20fa 100644 --- a/thousandeyes-sdk-usage/README.md +++ b/thousandeyes-sdk-usage/README.md @@ -18,7 +18,7 @@ Refer to the Usage API operations for detailed usage instructions and optional p This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.0.70 +- API version: 7.0.71 - Generator version: 7.6.0 - Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator