Skip to content

Commit e437db1

Browse files
author
BitsAdmin
committed
Merge branch 'volc_observe-Python-2018-01-01-online-1128-2025_04_24_19_46_03' into 'integration_2025-04-28_881197335810'
feat: [development task] Volc_Observe-1128-Python (1191515) See merge request iaasng/volcengine-python-sdk!583
2 parents daadc78 + adf4cfe commit e437db1

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

volcenginesdkvolcobserve/models/data_for_list_alert_group_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class DataForListAlertGroupOutput(object):
3838
'dimension': 'str',
3939
'duration': 'str',
4040
'end_at': 'str',
41+
'id': 'str',
4142
'level': 'str',
4243
'namespace': 'str',
4344
'region': 'str',
@@ -56,6 +57,7 @@ class DataForListAlertGroupOutput(object):
5657
'dimension': 'Dimension',
5758
'duration': 'Duration',
5859
'end_at': 'EndAt',
60+
'id': 'Id',
5961
'level': 'Level',
6062
'namespace': 'Namespace',
6163
'region': 'Region',
@@ -68,7 +70,7 @@ class DataForListAlertGroupOutput(object):
6870
'sub_namespace': 'SubNamespace'
6971
}
7072

71-
def __init__(self, alert_state=None, alert_type=None, dimension=None, duration=None, end_at=None, level=None, namespace=None, region=None, resource_id=None, resource_name=None, resource_type=None, rule_id=None, rule_name=None, start_at=None, sub_namespace=None, _configuration=None): # noqa: E501
73+
def __init__(self, alert_state=None, alert_type=None, dimension=None, duration=None, end_at=None, id=None, level=None, namespace=None, region=None, resource_id=None, resource_name=None, resource_type=None, rule_id=None, rule_name=None, start_at=None, sub_namespace=None, _configuration=None): # noqa: E501
7274
"""DataForListAlertGroupOutput - a model defined in Swagger""" # noqa: E501
7375
if _configuration is None:
7476
_configuration = Configuration()
@@ -79,6 +81,7 @@ def __init__(self, alert_state=None, alert_type=None, dimension=None, duration=N
7981
self._dimension = None
8082
self._duration = None
8183
self._end_at = None
84+
self._id = None
8285
self._level = None
8386
self._namespace = None
8487
self._region = None
@@ -101,6 +104,8 @@ def __init__(self, alert_state=None, alert_type=None, dimension=None, duration=N
101104
self.duration = duration
102105
if end_at is not None:
103106
self.end_at = end_at
107+
if id is not None:
108+
self.id = id
104109
if level is not None:
105110
self.level = level
106111
if namespace is not None:
@@ -227,6 +232,27 @@ def end_at(self, end_at):
227232

228233
self._end_at = end_at
229234

235+
@property
236+
def id(self):
237+
"""Gets the id of this DataForListAlertGroupOutput. # noqa: E501
238+
239+
240+
:return: The id of this DataForListAlertGroupOutput. # noqa: E501
241+
:rtype: str
242+
"""
243+
return self._id
244+
245+
@id.setter
246+
def id(self, id):
247+
"""Sets the id of this DataForListAlertGroupOutput.
248+
249+
250+
:param id: The id of this DataForListAlertGroupOutput. # noqa: E501
251+
:type: str
252+
"""
253+
254+
self._id = id
255+
230256
@property
231257
def level(self):
232258
"""Gets the level of this DataForListAlertGroupOutput. # noqa: E501

0 commit comments

Comments
 (0)