Skip to content

Commit 28f4fc9

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for redis-Python-2020-12-07-online-1157-2025_05_14_10_50_42
1 parent 655fa04 commit 28f4fc9

77 files changed

Lines changed: 12386 additions & 547 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "2.0.2",
3-
"meta_commit": "8a281723a8b0c275f2798381133db6ec88d10170"
2+
"lasted": "2.0.3",
3+
"meta_commit": "ad9f3a575e141ea911f935c1fe53066b161e3581"
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 = "2.0.2"
6+
VERSION = "2.0.3"
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/2.0.2'
66+
self.user_agent = 'volcstack-python-sdk/2.0.3'
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
@@ -257,5 +257,5 @@ def to_debug_report(self):
257257
"OS: {env}\n" \
258258
"Python Version: {pyversion}\n" \
259259
"Version of the API: 0.1.0\n" \
260-
"SDK Package Version: 2.0.2".\
260+
"SDK Package Version: 2.0.3".\
261261
format(env=sys.platform, pyversion=sys.version)

volcenginesdkredis/__init__.py

Lines changed: 59 additions & 3 deletions
Large diffs are not rendered by default.

volcenginesdkredis/api/redis_api.py

Lines changed: 2280 additions & 243 deletions
Large diffs are not rendered by default.

volcenginesdkredis/models/__init__.py

Lines changed: 59 additions & 3 deletions
Large diffs are not rendered by default.

volcenginesdkredis/models/account_for_list_db_account_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,32 +34,37 @@ class AccountForListDBAccountOutput(object):
3434
"""
3535
swagger_types = {
3636
'account_name': 'str',
37+
'account_status': 'str',
3738
'description': 'str',
3839
'instance_id': 'str',
3940
'role_name': 'str'
4041
}
4142

4243
attribute_map = {
4344
'account_name': 'AccountName',
45+
'account_status': 'AccountStatus',
4446
'description': 'Description',
4547
'instance_id': 'InstanceId',
4648
'role_name': 'RoleName'
4749
}
4850

49-
def __init__(self, account_name=None, description=None, instance_id=None, role_name=None, _configuration=None): # noqa: E501
51+
def __init__(self, account_name=None, account_status=None, description=None, instance_id=None, role_name=None, _configuration=None): # noqa: E501
5052
"""AccountForListDBAccountOutput - a model defined in Swagger""" # noqa: E501
5153
if _configuration is None:
5254
_configuration = Configuration()
5355
self._configuration = _configuration
5456

5557
self._account_name = None
58+
self._account_status = None
5659
self._description = None
5760
self._instance_id = None
5861
self._role_name = None
5962
self.discriminator = None
6063

6164
if account_name is not None:
6265
self.account_name = account_name
66+
if account_status is not None:
67+
self.account_status = account_status
6368
if description is not None:
6469
self.description = description
6570
if instance_id is not None:
@@ -88,6 +93,27 @@ def account_name(self, account_name):
8893

8994
self._account_name = account_name
9095

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

volcenginesdkredis/models/allow_list_for_describe_allow_lists_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class AllowListForDescribeAllowListsOutput(object):
4040
'allow_list_name': 'str',
4141
'allow_list_type': 'str',
4242
'associated_instance_num': 'int',
43+
'project_name': 'str',
4344
'security_group_bind_infos': 'list[SecurityGroupBindInfoForDescribeAllowListsOutput]'
4445
}
4546

@@ -51,10 +52,11 @@ class AllowListForDescribeAllowListsOutput(object):
5152
'allow_list_name': 'AllowListName',
5253
'allow_list_type': 'AllowListType',
5354
'associated_instance_num': 'AssociatedInstanceNum',
55+
'project_name': 'ProjectName',
5456
'security_group_bind_infos': 'SecurityGroupBindInfos'
5557
}
5658

57-
def __init__(self, allow_list_category=None, allow_list_desc=None, allow_list_ip_num=None, allow_list_id=None, allow_list_name=None, allow_list_type=None, associated_instance_num=None, security_group_bind_infos=None, _configuration=None): # noqa: E501
59+
def __init__(self, allow_list_category=None, allow_list_desc=None, allow_list_ip_num=None, allow_list_id=None, allow_list_name=None, allow_list_type=None, associated_instance_num=None, project_name=None, security_group_bind_infos=None, _configuration=None): # noqa: E501
5860
"""AllowListForDescribeAllowListsOutput - a model defined in Swagger""" # noqa: E501
5961
if _configuration is None:
6062
_configuration = Configuration()
@@ -67,6 +69,7 @@ def __init__(self, allow_list_category=None, allow_list_desc=None, allow_list_ip
6769
self._allow_list_name = None
6870
self._allow_list_type = None
6971
self._associated_instance_num = None
72+
self._project_name = None
7073
self._security_group_bind_infos = None
7174
self.discriminator = None
7275

@@ -84,6 +87,8 @@ def __init__(self, allow_list_category=None, allow_list_desc=None, allow_list_ip
8487
self.allow_list_type = allow_list_type
8588
if associated_instance_num is not None:
8689
self.associated_instance_num = associated_instance_num
90+
if project_name is not None:
91+
self.project_name = project_name
8792
if security_group_bind_infos is not None:
8893
self.security_group_bind_infos = security_group_bind_infos
8994

@@ -234,6 +239,27 @@ def associated_instance_num(self, associated_instance_num):
234239

235240
self._associated_instance_num = associated_instance_num
236241

242+
@property
243+
def project_name(self):
244+
"""Gets the project_name of this AllowListForDescribeAllowListsOutput. # noqa: E501
245+
246+
247+
:return: The project_name of this AllowListForDescribeAllowListsOutput. # noqa: E501
248+
:rtype: str
249+
"""
250+
return self._project_name
251+
252+
@project_name.setter
253+
def project_name(self, project_name):
254+
"""Sets the project_name of this AllowListForDescribeAllowListsOutput.
255+
256+
257+
:param project_name: The project_name of this AllowListForDescribeAllowListsOutput. # noqa: E501
258+
:type: str
259+
"""
260+
261+
self._project_name = project_name
262+
237263
@property
238264
def security_group_bind_infos(self):
239265
"""Gets the security_group_bind_infos of this AllowListForDescribeAllowListsOutput. # noqa: E501

volcenginesdkredis/models/associated_instance_for_describe_allow_list_detail_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,35 @@ class AssociatedInstanceForDescribeAllowListDetailOutput(object):
3535
swagger_types = {
3636
'instance_id': 'str',
3737
'instance_name': 'str',
38+
'project_name': 'str',
3839
'vpc': 'str'
3940
}
4041

4142
attribute_map = {
4243
'instance_id': 'InstanceId',
4344
'instance_name': 'InstanceName',
45+
'project_name': 'ProjectName',
4446
'vpc': 'VPC'
4547
}
4648

47-
def __init__(self, instance_id=None, instance_name=None, vpc=None, _configuration=None): # noqa: E501
49+
def __init__(self, instance_id=None, instance_name=None, project_name=None, vpc=None, _configuration=None): # noqa: E501
4850
"""AssociatedInstanceForDescribeAllowListDetailOutput - a model defined in Swagger""" # noqa: E501
4951
if _configuration is None:
5052
_configuration = Configuration()
5153
self._configuration = _configuration
5254

5355
self._instance_id = None
5456
self._instance_name = None
57+
self._project_name = None
5558
self._vpc = None
5659
self.discriminator = None
5760

5861
if instance_id is not None:
5962
self.instance_id = instance_id
6063
if instance_name is not None:
6164
self.instance_name = instance_name
65+
if project_name is not None:
66+
self.project_name = project_name
6267
if vpc is not None:
6368
self.vpc = vpc
6469

@@ -104,6 +109,27 @@ def instance_name(self, instance_name):
104109

105110
self._instance_name = instance_name
106111

112+
@property
113+
def project_name(self):
114+
"""Gets the project_name of this AssociatedInstanceForDescribeAllowListDetailOutput. # noqa: E501
115+
116+
117+
:return: The project_name of this AssociatedInstanceForDescribeAllowListDetailOutput. # noqa: E501
118+
:rtype: str
119+
"""
120+
return self._project_name
121+
122+
@project_name.setter
123+
def project_name(self, project_name):
124+
"""Sets the project_name of this AssociatedInstanceForDescribeAllowListDetailOutput.
125+
126+
127+
:param project_name: The project_name of this AssociatedInstanceForDescribeAllowListDetailOutput. # noqa: E501
128+
:type: str
129+
"""
130+
131+
self._project_name = project_name
132+
107133
@property
108134
def vpc(self):
109135
"""Gets the vpc of this AssociatedInstanceForDescribeAllowListDetailOutput. # noqa: E501

0 commit comments

Comments
 (0)