Skip to content

Commit d7bcccd

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Rename embeddedQueries attribute to queries in app builder api (#2388)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 2862f24 commit d7bcccd

File tree

39 files changed

+147
-145
lines changed

39 files changed

+147
-145
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-02-03 17:18:16.443651",
8-
"spec_repo_commit": "b584742c"
7+
"regenerated": "2025-02-03 18:38:34.199729",
8+
"spec_repo_commit": "325cdedf"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-03 17:18:16.459732",
13-
"spec_repo_commit": "b584742c"
12+
"regenerated": "2025-02-03 18:38:34.214551",
13+
"spec_repo_commit": "325cdedf"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7322,8 +7322,8 @@ components:
73227322
type: gridCell
73237323
type: grid
73247324
description: This is a simple example app
7325-
embeddedQueries: []
73267325
name: Example App
7326+
queries: []
73277327
rootInstanceName: grid0
73287328
type: appDefinitions
73297329
properties:
@@ -7351,15 +7351,15 @@ components:
73517351
description:
73527352
description: A human-readable description for the app.
73537353
type: string
7354-
embeddedQueries:
7354+
name:
7355+
description: The name of the app.
7356+
type: string
7357+
queries:
73557358
description: An array of queries, such as external actions and state variables,
73567359
that the app uses.
73577360
items:
73587361
$ref: '#/components/schemas/Query'
73597362
type: array
7360-
name:
7361-
description: The name of the app.
7362-
type: string
73637363
rootInstanceName:
73647364
description: The name of the root component of the app. This must be a `grid`
73657365
component that contains all other components.
@@ -12519,18 +12519,18 @@ components:
1251912519
description:
1252012520
description: A human-readable description for the app.
1252112521
type: string
12522-
embeddedQueries:
12523-
description: An array of queries, such as external actions and state variables,
12524-
that the app uses.
12525-
items:
12526-
$ref: '#/components/schemas/Query'
12527-
type: array
1252812522
favorite:
1252912523
description: Whether the app is marked as a favorite by the current user.
1253012524
type: boolean
1253112525
name:
1253212526
description: The name of the app.
1253312527
type: string
12528+
queries:
12529+
description: An array of queries, such as external actions and state variables,
12530+
that the app uses.
12531+
items:
12532+
$ref: '#/components/schemas/Query'
12533+
type: array
1253412534
rootInstanceName:
1253512535
description: The name of the root component of the app. This must be a `grid`
1253612536
component that contains all other components.
@@ -29742,8 +29742,8 @@ components:
2974229742
type: gridCell
2974329743
type: grid
2974429744
description: This is a simple example app
29745-
embeddedQueries: []
2974629745
name: Example App
29746+
queries: []
2974729747
rootInstanceName: grid0
2974829748
id: 9e20cbaf-68da-45a6-9ccf-54193ac29fa5
2974929749
type: appDefinitions
@@ -29782,16 +29782,16 @@ components:
2978229782
description:
2978329783
description: The new human-readable description for the app.
2978429784
type: string
29785-
embeddedQueries:
29785+
name:
29786+
description: The new name of the app.
29787+
type: string
29788+
queries:
2978629789
description: The new array of queries, such as external actions and state
2978729790
variables, that the app uses. If this field is set, all existing queries
2978829791
are replaced with the new queries under this field.
2978929792
items:
2979029793
$ref: '#/components/schemas/Query'
2979129794
type: array
29792-
name:
29793-
description: The new name of the app.
29794-
type: string
2979529795
rootInstanceName:
2979629796
description: The new name of the root component of the app. This must be
2979729797
a `grid` component that contains all other components.
@@ -29852,18 +29852,18 @@ components:
2985229852
description:
2985329853
description: The human-readable description for the app.
2985429854
type: string
29855-
embeddedQueries:
29856-
description: An array of queries, such as external actions and state variables,
29857-
that the app uses.
29858-
items:
29859-
$ref: '#/components/schemas/Query'
29860-
type: array
2986129855
favorite:
2986229856
description: Whether the app is marked as a favorite by the current user.
2986329857
type: boolean
2986429858
name:
2986529859
description: The name of the app.
2986629860
type: string
29861+
queries:
29862+
description: An array of queries, such as external actions and state variables,
29863+
that the app uses.
29864+
items:
29865+
$ref: '#/components/schemas/Query'
29866+
type: array
2986729867
rootInstanceName:
2986829868
description: The name of the root component of the app. This must be a `grid`
2986929869
component that contains all other components.

examples/v2/app-builder/CreateApp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
),
5757
],
5858
description="This is a simple example app",
59-
embedded_queries=[],
59+
queries=[],
6060
name="Example App",
6161
root_instance_name="grid0",
6262
),

src/datadog_api_client/v2/model/create_app_request_data_attributes.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ def openapi_types(_):
2727
return {
2828
"components": ([ComponentGrid],),
2929
"description": (str,),
30-
"embedded_queries": ([Query],),
3130
"name": (str,),
31+
"queries": ([Query],),
3232
"root_instance_name": (str,),
3333
"tags": ([str],),
3434
}
3535

3636
attribute_map = {
3737
"components": "components",
3838
"description": "description",
39-
"embedded_queries": "embeddedQueries",
4039
"name": "name",
40+
"queries": "queries",
4141
"root_instance_name": "rootInstanceName",
4242
"tags": "tags",
4343
}
@@ -46,8 +46,8 @@ def __init__(
4646
self_,
4747
components: Union[List[ComponentGrid], UnsetType] = unset,
4848
description: Union[str, UnsetType] = unset,
49-
embedded_queries: Union[List[Query], UnsetType] = unset,
5049
name: Union[str, UnsetType] = unset,
50+
queries: Union[List[Query], UnsetType] = unset,
5151
root_instance_name: Union[str, UnsetType] = unset,
5252
tags: Union[List[str], UnsetType] = unset,
5353
**kwargs,
@@ -61,12 +61,12 @@ def __init__(
6161
:param description: A human-readable description for the app.
6262
:type description: str, optional
6363
64-
:param embedded_queries: An array of queries, such as external actions and state variables, that the app uses.
65-
:type embedded_queries: [Query], optional
66-
6764
:param name: The name of the app.
6865
:type name: str, optional
6966
67+
:param queries: An array of queries, such as external actions and state variables, that the app uses.
68+
:type queries: [Query], optional
69+
7070
:param root_instance_name: The name of the root component of the app. This must be a ``grid`` component that contains all other components.
7171
:type root_instance_name: str, optional
7272
@@ -77,10 +77,10 @@ def __init__(
7777
kwargs["components"] = components
7878
if description is not unset:
7979
kwargs["description"] = description
80-
if embedded_queries is not unset:
81-
kwargs["embedded_queries"] = embedded_queries
8280
if name is not unset:
8381
kwargs["name"] = name
82+
if queries is not unset:
83+
kwargs["queries"] = queries
8484
if root_instance_name is not unset:
8585
kwargs["root_instance_name"] = root_instance_name
8686
if tags is not unset:

src/datadog_api_client/v2/model/get_app_response_data_attributes.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ def openapi_types(_):
2727
return {
2828
"components": ([ComponentGrid],),
2929
"description": (str,),
30-
"embedded_queries": ([Query],),
3130
"favorite": (bool,),
3231
"name": (str,),
32+
"queries": ([Query],),
3333
"root_instance_name": (str,),
3434
"tags": ([str],),
3535
}
3636

3737
attribute_map = {
3838
"components": "components",
3939
"description": "description",
40-
"embedded_queries": "embeddedQueries",
4140
"favorite": "favorite",
4241
"name": "name",
42+
"queries": "queries",
4343
"root_instance_name": "rootInstanceName",
4444
"tags": "tags",
4545
}
@@ -48,9 +48,9 @@ def __init__(
4848
self_,
4949
components: Union[List[ComponentGrid], UnsetType] = unset,
5050
description: Union[str, UnsetType] = unset,
51-
embedded_queries: Union[List[Query], UnsetType] = unset,
5251
favorite: Union[bool, UnsetType] = unset,
5352
name: Union[str, UnsetType] = unset,
53+
queries: Union[List[Query], UnsetType] = unset,
5454
root_instance_name: Union[str, UnsetType] = unset,
5555
tags: Union[List[str], UnsetType] = unset,
5656
**kwargs,
@@ -64,15 +64,15 @@ def __init__(
6464
:param description: A human-readable description for the app.
6565
:type description: str, optional
6666
67-
:param embedded_queries: An array of queries, such as external actions and state variables, that the app uses.
68-
:type embedded_queries: [Query], optional
69-
7067
:param favorite: Whether the app is marked as a favorite by the current user.
7168
:type favorite: bool, optional
7269
7370
:param name: The name of the app.
7471
:type name: str, optional
7572
73+
:param queries: An array of queries, such as external actions and state variables, that the app uses.
74+
:type queries: [Query], optional
75+
7676
:param root_instance_name: The name of the root component of the app. This must be a ``grid`` component that contains all other components.
7777
:type root_instance_name: str, optional
7878
@@ -83,12 +83,12 @@ def __init__(
8383
kwargs["components"] = components
8484
if description is not unset:
8585
kwargs["description"] = description
86-
if embedded_queries is not unset:
87-
kwargs["embedded_queries"] = embedded_queries
8886
if favorite is not unset:
8987
kwargs["favorite"] = favorite
9088
if name is not unset:
9189
kwargs["name"] = name
90+
if queries is not unset:
91+
kwargs["queries"] = queries
9292
if root_instance_name is not unset:
9393
kwargs["root_instance_name"] = root_instance_name
9494
if tags is not unset:

src/datadog_api_client/v2/model/update_app_request_data_attributes.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ def openapi_types(_):
2727
return {
2828
"components": ([ComponentGrid],),
2929
"description": (str,),
30-
"embedded_queries": ([Query],),
3130
"name": (str,),
31+
"queries": ([Query],),
3232
"root_instance_name": (str,),
3333
"tags": ([str],),
3434
}
3535

3636
attribute_map = {
3737
"components": "components",
3838
"description": "description",
39-
"embedded_queries": "embeddedQueries",
4039
"name": "name",
40+
"queries": "queries",
4141
"root_instance_name": "rootInstanceName",
4242
"tags": "tags",
4343
}
@@ -46,8 +46,8 @@ def __init__(
4646
self_,
4747
components: Union[List[ComponentGrid], UnsetType] = unset,
4848
description: Union[str, UnsetType] = unset,
49-
embedded_queries: Union[List[Query], UnsetType] = unset,
5049
name: Union[str, UnsetType] = unset,
50+
queries: Union[List[Query], UnsetType] = unset,
5151
root_instance_name: Union[str, UnsetType] = unset,
5252
tags: Union[List[str], UnsetType] = unset,
5353
**kwargs,
@@ -61,12 +61,12 @@ def __init__(
6161
:param description: The new human-readable description for the app.
6262
:type description: str, optional
6363
64-
:param embedded_queries: The new array of queries, such as external actions and state variables, that the app uses. If this field is set, all existing queries are replaced with the new queries under this field.
65-
:type embedded_queries: [Query], optional
66-
6764
:param name: The new name of the app.
6865
:type name: str, optional
6966
67+
:param queries: The new array of queries, such as external actions and state variables, that the app uses. If this field is set, all existing queries are replaced with the new queries under this field.
68+
:type queries: [Query], optional
69+
7070
:param root_instance_name: The new name of the root component of the app. This must be a ``grid`` component that contains all other components.
7171
:type root_instance_name: str, optional
7272
@@ -77,10 +77,10 @@ def __init__(
7777
kwargs["components"] = components
7878
if description is not unset:
7979
kwargs["description"] = description
80-
if embedded_queries is not unset:
81-
kwargs["embedded_queries"] = embedded_queries
8280
if name is not unset:
8381
kwargs["name"] = name
82+
if queries is not unset:
83+
kwargs["queries"] = queries
8484
if root_instance_name is not unset:
8585
kwargs["root_instance_name"] = root_instance_name
8686
if tags is not unset:

src/datadog_api_client/v2/model/update_app_response_data_attributes.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ def openapi_types(_):
2727
return {
2828
"components": ([ComponentGrid],),
2929
"description": (str,),
30-
"embedded_queries": ([Query],),
3130
"favorite": (bool,),
3231
"name": (str,),
32+
"queries": ([Query],),
3333
"root_instance_name": (str,),
3434
"tags": ([str],),
3535
}
3636

3737
attribute_map = {
3838
"components": "components",
3939
"description": "description",
40-
"embedded_queries": "embeddedQueries",
4140
"favorite": "favorite",
4241
"name": "name",
42+
"queries": "queries",
4343
"root_instance_name": "rootInstanceName",
4444
"tags": "tags",
4545
}
@@ -48,9 +48,9 @@ def __init__(
4848
self_,
4949
components: Union[List[ComponentGrid], UnsetType] = unset,
5050
description: Union[str, UnsetType] = unset,
51-
embedded_queries: Union[List[Query], UnsetType] = unset,
5251
favorite: Union[bool, UnsetType] = unset,
5352
name: Union[str, UnsetType] = unset,
53+
queries: Union[List[Query], UnsetType] = unset,
5454
root_instance_name: Union[str, UnsetType] = unset,
5555
tags: Union[List[str], UnsetType] = unset,
5656
**kwargs,
@@ -64,15 +64,15 @@ def __init__(
6464
:param description: The human-readable description for the app.
6565
:type description: str, optional
6666
67-
:param embedded_queries: An array of queries, such as external actions and state variables, that the app uses.
68-
:type embedded_queries: [Query], optional
69-
7067
:param favorite: Whether the app is marked as a favorite by the current user.
7168
:type favorite: bool, optional
7269
7370
:param name: The name of the app.
7471
:type name: str, optional
7572
73+
:param queries: An array of queries, such as external actions and state variables, that the app uses.
74+
:type queries: [Query], optional
75+
7676
:param root_instance_name: The name of the root component of the app. This must be a ``grid`` component that contains all other components.
7777
:type root_instance_name: str, optional
7878
@@ -83,12 +83,12 @@ def __init__(
8383
kwargs["components"] = components
8484
if description is not unset:
8585
kwargs["description"] = description
86-
if embedded_queries is not unset:
87-
kwargs["embedded_queries"] = embedded_queries
8886
if favorite is not unset:
8987
kwargs["favorite"] = favorite
9088
if name is not unset:
9189
kwargs["name"] = name
90+
if queries is not unset:
91+
kwargs["queries"] = queries
9292
if root_instance_name is not unset:
9393
kwargs["root_instance_name"] = root_instance_name
9494
if tags is not unset:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-01-09T20:40:37.253Z
1+
2025-01-30T22:30:41.653Z

0 commit comments

Comments
 (0)