Skip to content

Commit ea0195f

Browse files
committed
feat: update redis api
1 parent b906ab9 commit ea0195f

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

volcenginesdkredis/models/backup_for_describe_backups_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class BackupForDescribeBackupsOutput(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'backup_point_id': 'str',
3637
'backup_strategy': 'str',
3738
'backup_type': 'str',
3839
'end_time': 'str',
@@ -44,6 +45,7 @@ class BackupForDescribeBackupsOutput(object):
4445
}
4546

4647
attribute_map = {
48+
'backup_point_id': 'BackupPointId',
4749
'backup_strategy': 'BackupStrategy',
4850
'backup_type': 'BackupType',
4951
'end_time': 'EndTime',
@@ -54,12 +56,13 @@ class BackupForDescribeBackupsOutput(object):
5456
'status': 'Status'
5557
}
5658

57-
def __init__(self, backup_strategy=None, backup_type=None, end_time=None, instance_detail=None, instance_id=None, size=None, start_time=None, status=None, _configuration=None): # noqa: E501
59+
def __init__(self, backup_point_id=None, backup_strategy=None, backup_type=None, end_time=None, instance_detail=None, instance_id=None, size=None, start_time=None, status=None, _configuration=None): # noqa: E501
5860
"""BackupForDescribeBackupsOutput - a model defined in Swagger""" # noqa: E501
5961
if _configuration is None:
6062
_configuration = Configuration()
6163
self._configuration = _configuration
6264

65+
self._backup_point_id = None
6366
self._backup_strategy = None
6467
self._backup_type = None
6568
self._end_time = None
@@ -70,6 +73,8 @@ def __init__(self, backup_strategy=None, backup_type=None, end_time=None, instan
7073
self._status = None
7174
self.discriminator = None
7275

76+
if backup_point_id is not None:
77+
self.backup_point_id = backup_point_id
7378
if backup_strategy is not None:
7479
self.backup_strategy = backup_strategy
7580
if backup_type is not None:
@@ -87,6 +92,27 @@ def __init__(self, backup_strategy=None, backup_type=None, end_time=None, instan
8792
if status is not None:
8893
self.status = status
8994

95+
@property
96+
def backup_point_id(self):
97+
"""Gets the backup_point_id of this BackupForDescribeBackupsOutput. # noqa: E501
98+
99+
100+
:return: The backup_point_id of this BackupForDescribeBackupsOutput. # noqa: E501
101+
:rtype: str
102+
"""
103+
return self._backup_point_id
104+
105+
@backup_point_id.setter
106+
def backup_point_id(self, backup_point_id):
107+
"""Sets the backup_point_id of this BackupForDescribeBackupsOutput.
108+
109+
110+
:param backup_point_id: The backup_point_id of this BackupForDescribeBackupsOutput. # noqa: E501
111+
:type: str
112+
"""
113+
114+
self._backup_point_id = backup_point_id
115+
90116
@property
91117
def backup_strategy(self):
92118
"""Gets the backup_strategy of this BackupForDescribeBackupsOutput. # noqa: E501

0 commit comments

Comments
 (0)