Skip to content

Commit a9f9964

Browse files
author
BitsAdmin
committed
Merge branch 'storage_ebs-Python-2020-04-01-online-1006-2025_03_05_11_34_53' into 'integration_2025-03-06_777772483330'
feat: [development task] storage_ebs-1006-Python (1059828) See merge request iaasng/volcengine-python-sdk!525
2 parents 82eb66f + 92b3d86 commit a9f9964

File tree

2 files changed

+54
-2
lines changed

2 files changed

+54
-2
lines changed

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)