33# Copyright 2019-Present Datadog, Inc.
44from __future__ import annotations
55
6- from typing import Union
6+ from typing import List , Union
77
88from datadog_api_client .model_utils import (
99 ModelNormal ,
@@ -25,19 +25,22 @@ class MetricDashboardAttributes(ModelNormal):
2525 def openapi_types (_ ):
2626 return {
2727 "popularity" : (float ,),
28+ "tags" : ([str ],),
2829 "title" : (str ,),
2930 "url" : (str ,),
3031 }
3132
3233 attribute_map = {
3334 "popularity" : "popularity" ,
35+ "tags" : "tags" ,
3436 "title" : "title" ,
3537 "url" : "url" ,
3638 }
3739
3840 def __init__ (
3941 self_ ,
4042 popularity : Union [float , UnsetType ] = unset ,
43+ tags : Union [List [str ], UnsetType ] = unset ,
4144 title : Union [str , UnsetType ] = unset ,
4245 url : Union [str , UnsetType ] = unset ,
4346 ** kwargs ,
@@ -48,6 +51,9 @@ def __init__(
4851 :param popularity: Value from 0 to 5 that ranks popularity of the dashboard.
4952 :type popularity: float, optional
5053
54+ :param tags: List of tag keys used in the asset.
55+ :type tags: [str], optional
56+
5157 :param title: Title of the asset.
5258 :type title: str, optional
5359
@@ -56,6 +62,8 @@ def __init__(
5662 """
5763 if popularity is not unset :
5864 kwargs ["popularity" ] = popularity
65+ if tags is not unset :
66+ kwargs ["tags" ] = tags
5967 if title is not unset :
6068 kwargs ["title" ] = title
6169 if url is not unset :
0 commit comments