Skip to content

Commit f937fc1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 93387ae of spec repo
1 parent 85f09b7 commit f937fc1

16 files changed

+96
-37
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "1e6c346",
3-
"generated": "2025-08-25 18:45:46.784"
2+
"spec_repo_commit": "93387ae",
3+
"generated": "2025-08-26 20:03:23.993"
44
}

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24160,6 +24160,9 @@ components:
2416024160
additionalProperties: false
2416124161
description: Wrapper for live span
2416224162
properties:
24163+
hide_incomplete_cost_data:
24164+
description: Whether to hide incomplete cost data in the widget.
24165+
type: boolean
2416324166
live_span:
2416424167
$ref: '#/components/schemas/WidgetLiveSpan'
2416524168
type: object
@@ -24360,6 +24363,9 @@ components:
2436024363
format: int64
2436124364
minimum: 0
2436224365
type: integer
24366+
hide_incomplete_cost_data:
24367+
description: Whether to hide incomplete cost data in the widget.
24368+
type: boolean
2436324369
to:
2436424370
description: End time in seconds since epoch.
2436524371
example: 1712083128
@@ -24384,6 +24390,9 @@ components:
2438424390
WidgetNewLiveSpan:
2438524391
description: Used for arbitrary live span times, such as 17 minutes or 6 hours.
2438624392
properties:
24393+
hide_incomplete_cost_data:
24394+
description: Whether to hide incomplete cost data in the widget.
24395+
type: boolean
2438724396
type:
2438824397
$ref: '#/components/schemas/WidgetNewLiveSpanType'
2438924398
unit:

examples/v1/dashboards/CreateDashboard_3066042014.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
type=WidgetNewLiveSpanType.LIVE,
5454
unit=WidgetLiveSpanUnit.MINUTE,
5555
value=8,
56+
hide_incomplete_cost_data=True,
5657
),
5758
type=TimeseriesWidgetDefinitionType.TIMESERIES,
5859
requests=[

examples/v1/dashboards/CreateDashboard_3451918078.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
type=WidgetNewFixedSpanType.FIXED,
5353
_from=1712080128,
5454
to=1712083128,
55+
hide_incomplete_cost_data=True,
5556
),
5657
type=TimeseriesWidgetDefinitionType.TIMESERIES,
5758
requests=[

examples/v1/dashboards/CreateDashboard_4262729673.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
],
5151
time=WidgetLegacyLiveSpan(
5252
live_span=WidgetLiveSpan.PAST_FIVE_MINUTES,
53+
hide_incomplete_cost_data=True,
5354
),
5455
type=TimeseriesWidgetDefinitionType.TIMESERIES,
5556
requests=[

src/datadog_api_client/v1/model/widget_legacy_live_span.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,32 @@ def openapi_types(_):
2727
from datadog_api_client.v1.model.widget_live_span import WidgetLiveSpan
2828

2929
return {
30+
"hide_incomplete_cost_data": (bool,),
3031
"live_span": (WidgetLiveSpan,),
3132
}
3233

3334
attribute_map = {
35+
"hide_incomplete_cost_data": "hide_incomplete_cost_data",
3436
"live_span": "live_span",
3537
}
3638

37-
def __init__(self_, live_span: Union[WidgetLiveSpan, UnsetType] = unset, **kwargs):
39+
def __init__(
40+
self_,
41+
hide_incomplete_cost_data: Union[bool, UnsetType] = unset,
42+
live_span: Union[WidgetLiveSpan, UnsetType] = unset,
43+
**kwargs,
44+
):
3845
"""
3946
Wrapper for live span
4047
48+
:param hide_incomplete_cost_data: Whether to hide incomplete cost data in the widget.
49+
:type hide_incomplete_cost_data: bool, optional
50+
4151
:param live_span: The available timeframes depend on the widget you are using.
4252
:type live_span: WidgetLiveSpan, optional
4353
"""
54+
if hide_incomplete_cost_data is not unset:
55+
kwargs["hide_incomplete_cost_data"] = hide_incomplete_cost_data
4456
if live_span is not unset:
4557
kwargs["live_span"] = live_span
4658
super().__init__(kwargs)

src/datadog_api_client/v1/model/widget_new_fixed_span.py

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import TYPE_CHECKING
6+
from typing import Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
unset,
12+
UnsetType,
1113
)
1214

1315

@@ -31,29 +33,43 @@ def openapi_types(_):
3133

3234
return {
3335
"_from": (int,),
36+
"hide_incomplete_cost_data": (bool,),
3437
"to": (int,),
3538
"type": (WidgetNewFixedSpanType,),
3639
}
3740

3841
attribute_map = {
3942
"_from": "from",
43+
"hide_incomplete_cost_data": "hide_incomplete_cost_data",
4044
"to": "to",
4145
"type": "type",
4246
}
4347

44-
def __init__(self_, _from: int, to: int, type: WidgetNewFixedSpanType, **kwargs):
48+
def __init__(
49+
self_,
50+
_from: int,
51+
to: int,
52+
type: WidgetNewFixedSpanType,
53+
hide_incomplete_cost_data: Union[bool, UnsetType] = unset,
54+
**kwargs,
55+
):
4556
"""
4657
Used for fixed span times, such as 'March 1 to March 7'.
4758
4859
:param _from: Start time in seconds since epoch.
4960
:type _from: int
5061
62+
:param hide_incomplete_cost_data: Whether to hide incomplete cost data in the widget.
63+
:type hide_incomplete_cost_data: bool, optional
64+
5165
:param to: End time in seconds since epoch.
5266
:type to: int
5367
5468
:param type: Type "fixed" denotes a fixed span.
5569
:type type: WidgetNewFixedSpanType
5670
"""
71+
if hide_incomplete_cost_data is not unset:
72+
kwargs["hide_incomplete_cost_data"] = hide_incomplete_cost_data
5773
super().__init__(kwargs)
5874

5975
self_._from = _from

src/datadog_api_client/v1/model/widget_new_live_span.py

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import TYPE_CHECKING
6+
from typing import Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
unset,
12+
UnsetType,
1113
)
1214

1315

@@ -29,21 +31,33 @@ def openapi_types(_):
2931
from datadog_api_client.v1.model.widget_live_span_unit import WidgetLiveSpanUnit
3032

3133
return {
34+
"hide_incomplete_cost_data": (bool,),
3235
"type": (WidgetNewLiveSpanType,),
3336
"unit": (WidgetLiveSpanUnit,),
3437
"value": (int,),
3538
}
3639

3740
attribute_map = {
41+
"hide_incomplete_cost_data": "hide_incomplete_cost_data",
3842
"type": "type",
3943
"unit": "unit",
4044
"value": "value",
4145
}
4246

43-
def __init__(self_, type: WidgetNewLiveSpanType, unit: WidgetLiveSpanUnit, value: int, **kwargs):
47+
def __init__(
48+
self_,
49+
type: WidgetNewLiveSpanType,
50+
unit: WidgetLiveSpanUnit,
51+
value: int,
52+
hide_incomplete_cost_data: Union[bool, UnsetType] = unset,
53+
**kwargs,
54+
):
4455
"""
4556
Used for arbitrary live span times, such as 17 minutes or 6 hours.
4657
58+
:param hide_incomplete_cost_data: Whether to hide incomplete cost data in the widget.
59+
:type hide_incomplete_cost_data: bool, optional
60+
4761
:param type: Type "live" denotes a live span in the new format.
4862
:type type: WidgetNewLiveSpanType
4963
@@ -53,6 +67,8 @@ def __init__(self_, type: WidgetNewLiveSpanType, unit: WidgetLiveSpanUnit, value
5367
:param value: Value of the time span.
5468
:type value: int
5569
"""
70+
if hide_incomplete_cost_data is not unset:
71+
kwargs["hide_incomplete_cost_data"] = hide_incomplete_cost_data
5672
super().__init__(kwargs)
5773

5874
self_.type = type

src/datadog_api_client/v1/model/widget_time.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ def __init__(self, **kwargs):
1515
"""
1616
Time setting for the widget.
1717
18+
:param hide_incomplete_cost_data: Whether to hide incomplete cost data in the widget.
19+
:type hide_incomplete_cost_data: bool, optional
20+
1821
:param live_span: The available timeframes depend on the widget you are using.
1922
:type live_span: WidgetLiveSpan, optional
2023
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-11-15T19:33:02.539Z
1+
2025-08-26T19:47:58.449Z

0 commit comments

Comments
 (0)