Skip to content

Commit b7c9d31

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9847338 of spec repo
1 parent 0b3df26 commit b7c9d31

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6107,6 +6107,7 @@ components:
61076107
The available values depend on retention plans specified in your organization's contract/subscriptions.
61086108
example: 360
61096109
format: int64
6110+
nullable: true
61106111
type: integer
61116112
num_retention_days:
61126113
description: |-
@@ -6179,6 +6180,7 @@ components:
61796180
**Note**: Changing this value affects all logs already in this index. It may also affect billing.
61806181
example: 360
61816182
format: int64
6183+
nullable: true
61826184
type: integer
61836185
num_retention_days:
61846186
description: |-

src/datadog_api_client/v1/model/logs_index.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
none_type,
1112
unset,
1213
UnsetType,
1314
)
@@ -41,7 +42,7 @@ def openapi_types(_):
4142
"filter": (LogsFilter,),
4243
"is_rate_limited": (bool,),
4344
"name": (str,),
44-
"num_flex_logs_retention_days": (int,),
45+
"num_flex_logs_retention_days": (int, none_type),
4546
"num_retention_days": (int,),
4647
"tags": ([str],),
4748
}
@@ -71,7 +72,7 @@ def __init__(
7172
daily_limit_warning_threshold_percentage: Union[float, UnsetType] = unset,
7273
exclusion_filters: Union[List[LogsExclusion], UnsetType] = unset,
7374
is_rate_limited: Union[bool, UnsetType] = unset,
74-
num_flex_logs_retention_days: Union[int, UnsetType] = unset,
75+
num_flex_logs_retention_days: Union[int, none_type, UnsetType] = unset,
7576
num_retention_days: Union[int, UnsetType] = unset,
7677
tags: Union[List[str], UnsetType] = unset,
7778
**kwargs,
@@ -107,7 +108,7 @@ def __init__(
107108
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`` ,
108109
and then stored in Flex Tier until the number of days specified in ``num_flex_logs_retention_days`` is reached.
109110
The available values depend on retention plans specified in your organization's contract/subscriptions.
110-
:type num_flex_logs_retention_days: int, optional
111+
:type num_flex_logs_retention_days: int, none_type, optional
111112
112113
: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.
113114
The available values depend on retention plans specified in your organization's contract/subscriptions.

src/datadog_api_client/v1/model/logs_index_update_request.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
none_type,
1112
unset,
1213
UnsetType,
1314
)
@@ -40,7 +41,7 @@ def openapi_types(_):
4041
"disable_daily_limit": (bool,),
4142
"exclusion_filters": ([LogsExclusion],),
4243
"filter": (LogsFilter,),
43-
"num_flex_logs_retention_days": (int,),
44+
"num_flex_logs_retention_days": (int, none_type),
4445
"num_retention_days": (int,),
4546
"tags": ([str],),
4647
}
@@ -65,7 +66,7 @@ def __init__(
6566
daily_limit_warning_threshold_percentage: Union[float, UnsetType] = unset,
6667
disable_daily_limit: Union[bool, UnsetType] = unset,
6768
exclusion_filters: Union[List[LogsExclusion], UnsetType] = unset,
68-
num_flex_logs_retention_days: Union[int, UnsetType] = unset,
69+
num_flex_logs_retention_days: Union[int, none_type, UnsetType] = unset,
6970
num_retention_days: Union[int, UnsetType] = unset,
7071
tags: Union[List[str], UnsetType] = unset,
7172
**kwargs,
@@ -101,7 +102,7 @@ def __init__(
101102
The available values depend on retention plans specified in your organization's contract/subscriptions.
102103
103104
**Note** : Changing this value affects all logs already in this index. It may also affect billing.
104-
:type num_flex_logs_retention_days: int, optional
105+
:type num_flex_logs_retention_days: int, none_type, optional
105106
106107
: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.
107108
The available values depend on retention plans specified in your organization's contract/subscriptions.

0 commit comments

Comments
 (0)