Skip to content

Commit

Permalink
Add missing GetRUMApplications response field id (#1577)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec committed Jul 13, 2023
1 parent 952d1cc commit 4ea3e5e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.5",
"regenerated": "2023-07-13 20:37:02.004842",
"spec_repo_commit": "efde263a"
"regenerated": "2023-07-13 21:23:39.298296",
"spec_repo_commit": "70f8c389"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-07-13 20:37:02.018065",
"spec_repo_commit": "efde263a"
"regenerated": "2023-07-13 21:23:39.311523",
"spec_repo_commit": "70f8c389"
}
}
}
4 changes: 4 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10872,6 +10872,10 @@ components:
properties:
attributes:
$ref: '#/components/schemas/RUMApplicationListAttributes'
id:
description: RUM application ID.
example: abcd1234-0000-0000-abcd-1234abcd5678
type: string
type:
$ref: '#/components/schemas/RUMApplicationListType'
required:
Expand Down
19 changes: 17 additions & 2 deletions src/datadog_api_client/v2/model/rum_application_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
# Copyright 2019-Present Datadog, Inc.
from __future__ import annotations

from typing import TYPE_CHECKING
from typing import Union, TYPE_CHECKING

from datadog_api_client.model_utils import (
ModelNormal,
cached_property,
unset,
UnsetType,
)


Expand All @@ -24,24 +26,37 @@ def openapi_types(_):

return {
"attributes": (RUMApplicationListAttributes,),
"id": (str,),
"type": (RUMApplicationListType,),
}

attribute_map = {
"attributes": "attributes",
"id": "id",
"type": "type",
}

def __init__(self_, attributes: RUMApplicationListAttributes, type: RUMApplicationListType, **kwargs):
def __init__(
self_,
attributes: RUMApplicationListAttributes,
type: RUMApplicationListType,
id: Union[str, UnsetType] = unset,
**kwargs,
):
"""
RUM application list.
:param attributes: RUM application list attributes.
:type attributes: RUMApplicationListAttributes
:param id: RUM application ID.
:type id: str, optional
:param type: RUM application list type.
:type type: RUMApplicationListType
"""
if id is not unset:
kwargs["id"] = id
super().__init__(kwargs)

self_.attributes = attributes
Expand Down

0 comments on commit 4ea3e5e

Please sign in to comment.