Skip to content

Commit c00acc7

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for vke-Python-2022-05-12-online-1159-2025_05_14_11_43_41
1 parent bf9f949 commit c00acc7

5 files changed

Lines changed: 61 additions & 9 deletions

File tree

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "3.0.0",
3-
"meta_commit": "8a281723a8b0c275f2798381133db6ec88d10170"
2+
"lasted": "3.0.1",
3+
"meta_commit": "0c4b74f2ae77a2204a3260c667011fc534779da5"
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 = "3.0.0"
6+
VERSION = "3.0.1"
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/3.0.0'
66+
self.user_agent = 'volcstack-python-sdk/3.0.1'
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: 3.0.0".\
260+
"SDK Package Version: 3.0.1".\
261261
format(env=sys.platform, pyversion=sys.version)

volcenginesdkvke/models/proxy_config_for_list_clusters_output.py

Lines changed: 56 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,34 +33,44 @@ class ProxyConfigForListClustersOutput(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'acl_enabled': 'bool',
37+
'acl_ip_whitelist': 'list[str]',
3638
'api_server_endpoints': 'ApiServerEndpointsForListClustersOutput',
3739
'api_server_public_access_config': 'ApiServerPublicAccessConfigForListClustersOutput',
3840
'api_server_public_access_enabled': 'bool',
39-
'subnet_ids': 'str',
41+
'subnet_ids': 'list[str]',
4042
'vpc_id': 'str'
4143
}
4244

4345
attribute_map = {
46+
'acl_enabled': 'AclEnabled',
47+
'acl_ip_whitelist': 'AclIpWhitelist',
4448
'api_server_endpoints': 'ApiServerEndpoints',
4549
'api_server_public_access_config': 'ApiServerPublicAccessConfig',
4650
'api_server_public_access_enabled': 'ApiServerPublicAccessEnabled',
4751
'subnet_ids': 'SubnetIds',
4852
'vpc_id': 'VpcId'
4953
}
5054

51-
def __init__(self, api_server_endpoints=None, api_server_public_access_config=None, api_server_public_access_enabled=None, subnet_ids=None, vpc_id=None, _configuration=None): # noqa: E501
55+
def __init__(self, acl_enabled=None, acl_ip_whitelist=None, api_server_endpoints=None, api_server_public_access_config=None, api_server_public_access_enabled=None, subnet_ids=None, vpc_id=None, _configuration=None): # noqa: E501
5256
"""ProxyConfigForListClustersOutput - a model defined in Swagger""" # noqa: E501
5357
if _configuration is None:
5458
_configuration = Configuration()
5559
self._configuration = _configuration
5660

61+
self._acl_enabled = None
62+
self._acl_ip_whitelist = None
5763
self._api_server_endpoints = None
5864
self._api_server_public_access_config = None
5965
self._api_server_public_access_enabled = None
6066
self._subnet_ids = None
6167
self._vpc_id = None
6268
self.discriminator = None
6369

70+
if acl_enabled is not None:
71+
self.acl_enabled = acl_enabled
72+
if acl_ip_whitelist is not None:
73+
self.acl_ip_whitelist = acl_ip_whitelist
6474
if api_server_endpoints is not None:
6575
self.api_server_endpoints = api_server_endpoints
6676
if api_server_public_access_config is not None:
@@ -72,6 +82,48 @@ def __init__(self, api_server_endpoints=None, api_server_public_access_config=No
7282
if vpc_id is not None:
7383
self.vpc_id = vpc_id
7484

85+
@property
86+
def acl_enabled(self):
87+
"""Gets the acl_enabled of this ProxyConfigForListClustersOutput. # noqa: E501
88+
89+
90+
:return: The acl_enabled of this ProxyConfigForListClustersOutput. # noqa: E501
91+
:rtype: bool
92+
"""
93+
return self._acl_enabled
94+
95+
@acl_enabled.setter
96+
def acl_enabled(self, acl_enabled):
97+
"""Sets the acl_enabled of this ProxyConfigForListClustersOutput.
98+
99+
100+
:param acl_enabled: The acl_enabled of this ProxyConfigForListClustersOutput. # noqa: E501
101+
:type: bool
102+
"""
103+
104+
self._acl_enabled = acl_enabled
105+
106+
@property
107+
def acl_ip_whitelist(self):
108+
"""Gets the acl_ip_whitelist of this ProxyConfigForListClustersOutput. # noqa: E501
109+
110+
111+
:return: The acl_ip_whitelist of this ProxyConfigForListClustersOutput. # noqa: E501
112+
:rtype: list[str]
113+
"""
114+
return self._acl_ip_whitelist
115+
116+
@acl_ip_whitelist.setter
117+
def acl_ip_whitelist(self, acl_ip_whitelist):
118+
"""Sets the acl_ip_whitelist of this ProxyConfigForListClustersOutput.
119+
120+
121+
:param acl_ip_whitelist: The acl_ip_whitelist of this ProxyConfigForListClustersOutput. # noqa: E501
122+
:type: list[str]
123+
"""
124+
125+
self._acl_ip_whitelist = acl_ip_whitelist
126+
75127
@property
76128
def api_server_endpoints(self):
77129
"""Gets the api_server_endpoints of this ProxyConfigForListClustersOutput. # noqa: E501
@@ -141,7 +193,7 @@ def subnet_ids(self):
141193
142194
143195
:return: The subnet_ids of this ProxyConfigForListClustersOutput. # noqa: E501
144-
:rtype: str
196+
:rtype: list[str]
145197
"""
146198
return self._subnet_ids
147199

@@ -151,7 +203,7 @@ def subnet_ids(self, subnet_ids):
151203
152204
153205
:param subnet_ids: The subnet_ids of this ProxyConfigForListClustersOutput. # noqa: E501
154-
:type: str
206+
:type: list[str]
155207
"""
156208

157209
self._subnet_ids = subnet_ids

0 commit comments

Comments
 (0)