Skip to content

Commit 6ea5b63

Browse files
author
BitsAdmin
committed
Merge branch 'vke-Python-2022-05-12-online-1159-2025_05_14_11_43_41' into 'integration_2025-05-15_905360636418'
feat: [development task] vke-1159-Python (1224953) See merge request iaasng/volcengine-python-sdk!607
2 parents 96437bd + 86e020f commit 6ea5b63

1 file changed

Lines changed: 56 additions & 4 deletions

File tree

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)