From b7c9d3174d92faf65926e75f0c01cb7b60d01ea1 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 7 Apr 2026 15:00:48 +0000 Subject: [PATCH] Regenerate client from commit 9847338 of spec repo --- .generator/schemas/v1/openapi.yaml | 2 ++ src/datadog_api_client/v1/model/logs_index.py | 7 ++++--- .../v1/model/logs_index_update_request.py | 7 ++++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 5f6006a6ba..17a6aacbb9 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -6107,6 +6107,7 @@ components: The available values depend on retention plans specified in your organization's contract/subscriptions. example: 360 format: int64 + nullable: true type: integer num_retention_days: description: |- @@ -6179,6 +6180,7 @@ components: **Note**: Changing this value affects all logs already in this index. It may also affect billing. example: 360 format: int64 + nullable: true type: integer num_retention_days: description: |- diff --git a/src/datadog_api_client/v1/model/logs_index.py b/src/datadog_api_client/v1/model/logs_index.py index d2d19d96b9..7e15dea678 100644 --- a/src/datadog_api_client/v1/model/logs_index.py +++ b/src/datadog_api_client/v1/model/logs_index.py @@ -8,6 +8,7 @@ from datadog_api_client.model_utils import ( ModelNormal, cached_property, + none_type, unset, UnsetType, ) @@ -41,7 +42,7 @@ def openapi_types(_): "filter": (LogsFilter,), "is_rate_limited": (bool,), "name": (str,), - "num_flex_logs_retention_days": (int,), + "num_flex_logs_retention_days": (int, none_type), "num_retention_days": (int,), "tags": ([str],), } @@ -71,7 +72,7 @@ def __init__( daily_limit_warning_threshold_percentage: Union[float, UnsetType] = unset, exclusion_filters: Union[List[LogsExclusion], UnsetType] = unset, is_rate_limited: Union[bool, UnsetType] = unset, - num_flex_logs_retention_days: Union[int, UnsetType] = unset, + num_flex_logs_retention_days: Union[int, none_type, UnsetType] = unset, num_retention_days: Union[int, UnsetType] = unset, tags: Union[List[str], UnsetType] = unset, **kwargs, @@ -107,7 +108,7 @@ def __init__( If Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through ``num_retention_days`` , and then stored in Flex Tier until the number of days specified in ``num_flex_logs_retention_days`` is reached. The available values depend on retention plans specified in your organization's contract/subscriptions. - :type num_flex_logs_retention_days: int, optional + :type num_flex_logs_retention_days: int, none_type, optional :param num_retention_days: The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. The available values depend on retention plans specified in your organization's contract/subscriptions. diff --git a/src/datadog_api_client/v1/model/logs_index_update_request.py b/src/datadog_api_client/v1/model/logs_index_update_request.py index 35da4a3586..88342e381d 100644 --- a/src/datadog_api_client/v1/model/logs_index_update_request.py +++ b/src/datadog_api_client/v1/model/logs_index_update_request.py @@ -8,6 +8,7 @@ from datadog_api_client.model_utils import ( ModelNormal, cached_property, + none_type, unset, UnsetType, ) @@ -40,7 +41,7 @@ def openapi_types(_): "disable_daily_limit": (bool,), "exclusion_filters": ([LogsExclusion],), "filter": (LogsFilter,), - "num_flex_logs_retention_days": (int,), + "num_flex_logs_retention_days": (int, none_type), "num_retention_days": (int,), "tags": ([str],), } @@ -65,7 +66,7 @@ def __init__( daily_limit_warning_threshold_percentage: Union[float, UnsetType] = unset, disable_daily_limit: Union[bool, UnsetType] = unset, exclusion_filters: Union[List[LogsExclusion], UnsetType] = unset, - num_flex_logs_retention_days: Union[int, UnsetType] = unset, + num_flex_logs_retention_days: Union[int, none_type, UnsetType] = unset, num_retention_days: Union[int, UnsetType] = unset, tags: Union[List[str], UnsetType] = unset, **kwargs, @@ -101,7 +102,7 @@ def __init__( The available values depend on retention plans specified in your organization's contract/subscriptions. **Note** : Changing this value affects all logs already in this index. It may also affect billing. - :type num_flex_logs_retention_days: int, optional + :type num_flex_logs_retention_days: int, none_type, optional :param num_retention_days: The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. The available values depend on retention plans specified in your organization's contract/subscriptions.