Skip to content

Commit c64aa80

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for storage_ebs-Python-2020-04-01-online-1006-2025_03_05_11_34_53
1 parent 1dca137 commit c64aa80

File tree

6 files changed

+59
-7
lines changed

6 files changed

+59
-7
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.0.126",
3-
"meta_commit": "793d9102f87c8e9af5029920b8645fb983518914"
2+
"lasted": "1.0.127",
3+
"meta_commit": "eed018a130ee0d9dc9a421244e245eb156be342a"
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.0.126"
6+
VERSION = "1.0.127"
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
@@ -67,7 +67,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6767
self.default_headers[header_name] = header_value
6868
self.cookie = cookie
6969
# Set default User-Agent.
70-
self.user_agent = 'volcstack-python-sdk/1.0.126'
70+
self.user_agent = 'volcstack-python-sdk/1.0.127'
7171
self.client_side_validation = configuration.client_side_validation
7272

7373
def __del__(self):

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,5 @@ def to_debug_report(self):
221221
"OS: {env}\n"\
222222
"Python Version: {pyversion}\n"\
223223
"Version of the API: 0.1.0\n"\
224-
"SDK Package Version: 1.0.126".\
224+
"SDK Package Version: 1.0.127".\
225225
format(env=sys.platform, pyversion=sys.version)

volcenginesdkstorageebs/models/snapshot_for_describe_snapshot_groups_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class SnapshotForDescribeSnapshotGroupsOutput(object):
3636
'creation_time': 'str',
3737
'description': 'str',
3838
'image_id': 'str',
39+
'instant_access': 'bool',
3940
'progress': 'int',
4041
'project_name': 'str',
4142
'retention_days': 'int',
@@ -59,6 +60,7 @@ class SnapshotForDescribeSnapshotGroupsOutput(object):
5960
'creation_time': 'CreationTime',
6061
'description': 'Description',
6162
'image_id': 'ImageId',
63+
'instant_access': 'InstantAccess',
6264
'progress': 'Progress',
6365
'project_name': 'ProjectName',
6466
'retention_days': 'RetentionDays',
@@ -78,7 +80,7 @@ class SnapshotForDescribeSnapshotGroupsOutput(object):
7880
'zone_id': 'ZoneId'
7981
}
8082

81-
def __init__(self, creation_time=None, description=None, image_id=None, progress=None, project_name=None, retention_days=None, shared=None, snapshot_group_id=None, snapshot_id=None, snapshot_name=None, snapshot_type=None, status=None, tags=None, volume_id=None, volume_kind=None, volume_name=None, volume_size=None, volume_status=None, volume_type=None, zone_id=None, _configuration=None): # noqa: E501
83+
def __init__(self, creation_time=None, description=None, image_id=None, instant_access=None, progress=None, project_name=None, retention_days=None, shared=None, snapshot_group_id=None, snapshot_id=None, snapshot_name=None, snapshot_type=None, status=None, tags=None, volume_id=None, volume_kind=None, volume_name=None, volume_size=None, volume_status=None, volume_type=None, zone_id=None, _configuration=None): # noqa: E501
8284
"""SnapshotForDescribeSnapshotGroupsOutput - a model defined in Swagger""" # noqa: E501
8385
if _configuration is None:
8486
_configuration = Configuration()
@@ -87,6 +89,7 @@ def __init__(self, creation_time=None, description=None, image_id=None, progress
8789
self._creation_time = None
8890
self._description = None
8991
self._image_id = None
92+
self._instant_access = None
9093
self._progress = None
9194
self._project_name = None
9295
self._retention_days = None
@@ -112,6 +115,8 @@ def __init__(self, creation_time=None, description=None, image_id=None, progress
112115
self.description = description
113116
if image_id is not None:
114117
self.image_id = image_id
118+
if instant_access is not None:
119+
self.instant_access = instant_access
115120
if progress is not None:
116121
self.progress = progress
117122
if project_name is not None:
@@ -210,6 +215,27 @@ def image_id(self, image_id):
210215

211216
self._image_id = image_id
212217

218+
@property
219+
def instant_access(self):
220+
"""Gets the instant_access of this SnapshotForDescribeSnapshotGroupsOutput. # noqa: E501
221+
222+
223+
:return: The instant_access of this SnapshotForDescribeSnapshotGroupsOutput. # noqa: E501
224+
:rtype: bool
225+
"""
226+
return self._instant_access
227+
228+
@instant_access.setter
229+
def instant_access(self, instant_access):
230+
"""Sets the instant_access of this SnapshotForDescribeSnapshotGroupsOutput.
231+
232+
233+
:param instant_access: The instant_access of this SnapshotForDescribeSnapshotGroupsOutput. # noqa: E501
234+
:type: bool
235+
"""
236+
237+
self._instant_access = instant_access
238+
213239
@property
214240
def progress(self):
215241
"""Gets the progress of this SnapshotForDescribeSnapshotGroupsOutput. # noqa: E501

volcenginesdkstorageebs/models/snapshot_for_describe_snapshots_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class SnapshotForDescribeSnapshotsOutput(object):
3636
'creation_time': 'str',
3737
'description': 'str',
3838
'image_id': 'str',
39+
'instant_access': 'bool',
3940
'progress': 'int',
4041
'project_name': 'str',
4142
'retention_days': 'int',
@@ -59,6 +60,7 @@ class SnapshotForDescribeSnapshotsOutput(object):
5960
'creation_time': 'CreationTime',
6061
'description': 'Description',
6162
'image_id': 'ImageId',
63+
'instant_access': 'InstantAccess',
6264
'progress': 'Progress',
6365
'project_name': 'ProjectName',
6466
'retention_days': 'RetentionDays',
@@ -78,7 +80,7 @@ class SnapshotForDescribeSnapshotsOutput(object):
7880
'zone_id': 'ZoneId'
7981
}
8082

81-
def __init__(self, creation_time=None, description=None, image_id=None, progress=None, project_name=None, retention_days=None, shared=None, snapshot_group_id=None, snapshot_id=None, snapshot_name=None, snapshot_type=None, status=None, tags=None, volume_id=None, volume_kind=None, volume_name=None, volume_size=None, volume_status=None, volume_type=None, zone_id=None, _configuration=None): # noqa: E501
83+
def __init__(self, creation_time=None, description=None, image_id=None, instant_access=None, progress=None, project_name=None, retention_days=None, shared=None, snapshot_group_id=None, snapshot_id=None, snapshot_name=None, snapshot_type=None, status=None, tags=None, volume_id=None, volume_kind=None, volume_name=None, volume_size=None, volume_status=None, volume_type=None, zone_id=None, _configuration=None): # noqa: E501
8284
"""SnapshotForDescribeSnapshotsOutput - a model defined in Swagger""" # noqa: E501
8385
if _configuration is None:
8486
_configuration = Configuration()
@@ -87,6 +89,7 @@ def __init__(self, creation_time=None, description=None, image_id=None, progress
8789
self._creation_time = None
8890
self._description = None
8991
self._image_id = None
92+
self._instant_access = None
9093
self._progress = None
9194
self._project_name = None
9295
self._retention_days = None
@@ -112,6 +115,8 @@ def __init__(self, creation_time=None, description=None, image_id=None, progress
112115
self.description = description
113116
if image_id is not None:
114117
self.image_id = image_id
118+
if instant_access is not None:
119+
self.instant_access = instant_access
115120
if progress is not None:
116121
self.progress = progress
117122
if project_name is not None:
@@ -210,6 +215,27 @@ def image_id(self, image_id):
210215

211216
self._image_id = image_id
212217

218+
@property
219+
def instant_access(self):
220+
"""Gets the instant_access of this SnapshotForDescribeSnapshotsOutput. # noqa: E501
221+
222+
223+
:return: The instant_access of this SnapshotForDescribeSnapshotsOutput. # noqa: E501
224+
:rtype: bool
225+
"""
226+
return self._instant_access
227+
228+
@instant_access.setter
229+
def instant_access(self, instant_access):
230+
"""Sets the instant_access of this SnapshotForDescribeSnapshotsOutput.
231+
232+
233+
:param instant_access: The instant_access of this SnapshotForDescribeSnapshotsOutput. # noqa: E501
234+
:type: bool
235+
"""
236+
237+
self._instant_access = instant_access
238+
213239
@property
214240
def progress(self):
215241
"""Gets the progress of this SnapshotForDescribeSnapshotsOutput. # noqa: E501

0 commit comments

Comments
 (0)