Skip to content

Commit 46e8348

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Modify owner properties to be a string (#2392)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 19f914a commit 46e8348

File tree

6 files changed

+9
-75
lines changed

6 files changed

+9
-75
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 19:47:11.750487",
8-
"spec_repo_commit": "b52549d9"
7+
"regenerated": "2025-02-04 14:10:04.791613",
8+
"spec_repo_commit": "4fb9047a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-03 19:47:11.767977",
13-
"spec_repo_commit": "b52549d9"
12+
"regenerated": "2025-02-04 14:10:04.806083",
13+
"spec_repo_commit": "4fb9047a"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10871,7 +10871,8 @@ components:
1087110871
minLength: 1
1087210872
type: string
1087310873
owner:
10874-
$ref: '#/components/schemas/EntityV3MetadataOwner'
10874+
description: The owner of the entity, usually a team.
10875+
type: string
1087510876
tags:
1087610877
description: A set of custom tags.
1087710878
example:
@@ -10940,13 +10941,6 @@ components:
1094010941
- type
1094110942
- url
1094210943
type: object
10943-
EntityV3MetadataOwner:
10944-
additionalProperties: false
10945-
description: The owner of the entity, usually a team.
10946-
properties:
10947-
name:
10948-
description: Team name.
10949-
type: string
1095010944
EntityV3Queue:
1095110945
additionalProperties: false
1095210946
description: Schema for queue entities.

docs/datadog_api_client.v2.model.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4421,13 +4421,6 @@ datadog\_api\_client.v2.model.entity\_v3\_metadata\_links\_items module
44214421
:members:
44224422
:show-inheritance:
44234423

4424-
datadog\_api\_client.v2.model.entity\_v3\_metadata\_owner module
4425-
----------------------------------------------------------------
4426-
4427-
.. automodule:: datadog_api_client.v2.model.entity_v3_metadata_owner
4428-
:members:
4429-
:show-inheritance:
4430-
44314424
datadog\_api\_client.v2.model.entity\_v3\_queue module
44324425
------------------------------------------------------
44334426

src/datadog_api_client/v2/model/entity_v3_metadata.py

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,7 @@ def openapi_types(_):
7070
),
7171
"name": (str,),
7272
"namespace": (str,),
73-
"owner": (
74-
bool,
75-
date,
76-
datetime,
77-
dict,
78-
float,
79-
int,
80-
list,
81-
str,
82-
UUID,
83-
none_type,
84-
),
73+
"owner": (str,),
8574
"tags": ([str],),
8675
}
8776

@@ -112,7 +101,7 @@ def __init__(
112101
links: Union[List[EntityV3MetadataLinksItems], UnsetType] = unset,
113102
managed: Union[Dict[str, Any], UnsetType] = unset,
114103
namespace: Union[str, UnsetType] = unset,
115-
owner: Union[Any, UnsetType] = unset,
104+
owner: Union[str, UnsetType] = unset,
116105
tags: Union[List[str], UnsetType] = unset,
117106
**kwargs,
118107
):
@@ -150,7 +139,7 @@ def __init__(
150139
:type namespace: str, optional
151140
152141
:param owner: The owner of the entity, usually a team.
153-
:type owner: bool, date, datetime, dict, float, int, list, str, UUID, none_type, optional
142+
:type owner: str, optional
154143
155144
:param tags: A set of custom tags.
156145
:type tags: [str], optional

src/datadog_api_client/v2/model/entity_v3_metadata_owner.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

src/datadog_api_client/v2/models/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,6 @@
800800
from datadog_api_client.v2.model.entity_v3_metadata_additional_owners_items import EntityV3MetadataAdditionalOwnersItems
801801
from datadog_api_client.v2.model.entity_v3_metadata_contacts_items import EntityV3MetadataContactsItems
802802
from datadog_api_client.v2.model.entity_v3_metadata_links_items import EntityV3MetadataLinksItems
803-
from datadog_api_client.v2.model.entity_v3_metadata_owner import EntityV3MetadataOwner
804803
from datadog_api_client.v2.model.entity_v3_queue import EntityV3Queue
805804
from datadog_api_client.v2.model.entity_v3_queue_datadog import EntityV3QueueDatadog
806805
from datadog_api_client.v2.model.entity_v3_queue_kind import EntityV3QueueKind
@@ -3034,7 +3033,6 @@
30343033
"EntityV3MetadataAdditionalOwnersItems",
30353034
"EntityV3MetadataContactsItems",
30363035
"EntityV3MetadataLinksItems",
3037-
"EntityV3MetadataOwner",
30383036
"EntityV3Queue",
30393037
"EntityV3QueueDatadog",
30403038
"EntityV3QueueKind",

0 commit comments

Comments
 (0)