Skip to content

Commit 6494030

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for volc_observe-Python-2018-01-01-online-1128-2025_04_24_19_46_03
1 parent d1c3d17 commit 6494030

File tree

5 files changed

+32
-6
lines changed

5 files changed

+32
-6
lines changed

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "1.1.5",
3-
"meta_commit": "521f507e6d49ad7a423e4d27c704afd61929da36"
2+
"lasted": "1.1.6",
3+
"meta_commit": "f9291831fbfa833e2aaeaa1ccad31964ccf246c6"
44
}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup, find_packages # noqa: H301
44

55
NAME = "volcengine-python-sdk"
6-
VERSION = "1.1.5"
6+
VERSION = "1.1.6"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkcore/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6363
self.default_headers[header_name] = header_value
6464
self.cookie = cookie
6565
# Set default User-Agent.
66-
self.user_agent = 'volcstack-python-sdk/1.1.5'
66+
self.user_agent = 'volcstack-python-sdk/1.1.6'
6767
self.client_side_validation = configuration.client_side_validation
6868

6969
self.interceptor_chain = InterceptorChain()

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,5 +250,5 @@ def to_debug_report(self):
250250
"OS: {env}\n" \
251251
"Python Version: {pyversion}\n" \
252252
"Version of the API: 0.1.0\n" \
253-
"SDK Package Version: 1.1.5".\
253+
"SDK Package Version: 1.1.6".\
254254
format(env=sys.platform, pyversion=sys.version)

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)