1515
1616if TYPE_CHECKING :
1717 from datadog_api_client .v2 .model .dataset_attributes_response import DatasetAttributesResponse
18+ from datadog_api_client .v2 .model .dataset_type import DatasetType
1819
1920
2021class DatasetResponse (ModelNormal ):
2122 @cached_property
2223 def openapi_types (_ ):
2324 from datadog_api_client .v2 .model .dataset_attributes_response import DatasetAttributesResponse
25+ from datadog_api_client .v2 .model .dataset_type import DatasetType
2426
2527 return {
2628 "attributes" : (DatasetAttributesResponse ,),
2729 "id" : (str ,),
28- "type" : (str ,),
30+ "type" : (DatasetType ,),
2931 }
3032
3133 attribute_map = {
@@ -38,7 +40,7 @@ def __init__(
3840 self_ ,
3941 attributes : Union [DatasetAttributesResponse , UnsetType ] = unset ,
4042 id : Union [str , UnsetType ] = unset ,
41- type : Union [str , UnsetType ] = unset ,
43+ type : Union [DatasetType , UnsetType ] = unset ,
4244 ** kwargs ,
4345 ):
4446 """
@@ -67,8 +69,8 @@ def __init__(
6769 :param id: Unique identifier for the dataset.
6870 :type id: str, optional
6971
70- :param type: Resource type, always " dataset" .
71- :type type: str , optional
72+ :param type: Resource type, always set to `` dataset`` .
73+ :type type: DatasetType , optional
7274 """
7375 if attributes is not unset :
7476 kwargs ["attributes" ] = attributes
0 commit comments