Skip to content

Commit eb50674

Browse files
committed
feat: update vke api
1 parent e93f2af commit eb50674

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

volcenginesdkvke/models/item_for_list_addons_output.py

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class ItemForListAddonsOutput(object):
3434
"""
3535
swagger_types = {
3636
'cluster_id': 'str',
37-
'cluster_type': 'str',
3837
'config': 'str',
3938
'create_client_token': 'str',
4039
'create_time': 'str',
@@ -49,7 +48,6 @@ class ItemForListAddonsOutput(object):
4948

5049
attribute_map = {
5150
'cluster_id': 'ClusterId',
52-
'cluster_type': 'ClusterType',
5351
'config': 'Config',
5452
'create_client_token': 'CreateClientToken',
5553
'create_time': 'CreateTime',
@@ -62,14 +60,13 @@ class ItemForListAddonsOutput(object):
6260
'version': 'Version'
6361
}
6462

65-
def __init__(self, cluster_id=None, cluster_type=None, config=None, create_client_token=None, create_time=None, deploy_mode=None, deploy_node_type=None, name=None, status=None, update_client_token=None, update_time=None, version=None, _configuration=None): # noqa: E501
63+
def __init__(self, cluster_id=None, config=None, create_client_token=None, create_time=None, deploy_mode=None, deploy_node_type=None, name=None, status=None, update_client_token=None, update_time=None, version=None, _configuration=None): # noqa: E501
6664
"""ItemForListAddonsOutput - a model defined in Swagger""" # noqa: E501
6765
if _configuration is None:
6866
_configuration = Configuration()
6967
self._configuration = _configuration
7068

7169
self._cluster_id = None
72-
self._cluster_type = None
7370
self._config = None
7471
self._create_client_token = None
7572
self._create_time = None
@@ -84,8 +81,6 @@ def __init__(self, cluster_id=None, cluster_type=None, config=None, create_clien
8481

8582
if cluster_id is not None:
8683
self.cluster_id = cluster_id
87-
if cluster_type is not None:
88-
self.cluster_type = cluster_type
8984
if config is not None:
9085
self.config = config
9186
if create_client_token is not None:
@@ -128,27 +123,6 @@ def cluster_id(self, cluster_id):
128123

129124
self._cluster_id = cluster_id
130125

131-
@property
132-
def cluster_type(self):
133-
"""Gets the cluster_type of this ItemForListAddonsOutput. # noqa: E501
134-
135-
136-
:return: The cluster_type of this ItemForListAddonsOutput. # noqa: E501
137-
:rtype: str
138-
"""
139-
return self._cluster_type
140-
141-
@cluster_type.setter
142-
def cluster_type(self, cluster_type):
143-
"""Sets the cluster_type of this ItemForListAddonsOutput.
144-
145-
146-
:param cluster_type: The cluster_type of this ItemForListAddonsOutput. # noqa: E501
147-
:type: str
148-
"""
149-
150-
self._cluster_type = cluster_type
151-
152126
@property
153127
def config(self):
154128
"""Gets the config of this ItemForListAddonsOutput. # noqa: E501

volcenginesdkvke/models/item_for_list_nodes_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class ItemForListNodesOutput(object):
3939
'create_client_token': 'str',
4040
'create_time': 'str',
4141
'id': 'str',
42+
'image_id': 'str',
4243
'initialize_script': 'str',
4344
'instance_id': 'str',
4445
'is_virtual': 'bool',
@@ -58,6 +59,7 @@ class ItemForListNodesOutput(object):
5859
'create_client_token': 'CreateClientToken',
5960
'create_time': 'CreateTime',
6061
'id': 'Id',
62+
'image_id': 'ImageId',
6163
'initialize_script': 'InitializeScript',
6264
'instance_id': 'InstanceId',
6365
'is_virtual': 'IsVirtual',
@@ -70,7 +72,7 @@ class ItemForListNodesOutput(object):
7072
'zone_id': 'ZoneId'
7173
}
7274

73-
def __init__(self, additional_container_storage_enabled=None, cluster_id=None, container_storage_path=None, create_client_token=None, create_time=None, id=None, initialize_script=None, instance_id=None, is_virtual=None, kubernetes_config=None, name=None, node_pool_id=None, roles=None, status=None, update_time=None, zone_id=None, _configuration=None): # noqa: E501
75+
def __init__(self, additional_container_storage_enabled=None, cluster_id=None, container_storage_path=None, create_client_token=None, create_time=None, id=None, image_id=None, initialize_script=None, instance_id=None, is_virtual=None, kubernetes_config=None, name=None, node_pool_id=None, roles=None, status=None, update_time=None, zone_id=None, _configuration=None): # noqa: E501
7476
"""ItemForListNodesOutput - a model defined in Swagger""" # noqa: E501
7577
if _configuration is None:
7678
_configuration = Configuration()
@@ -82,6 +84,7 @@ def __init__(self, additional_container_storage_enabled=None, cluster_id=None, c
8284
self._create_client_token = None
8385
self._create_time = None
8486
self._id = None
87+
self._image_id = None
8588
self._initialize_script = None
8689
self._instance_id = None
8790
self._is_virtual = None
@@ -106,6 +109,8 @@ def __init__(self, additional_container_storage_enabled=None, cluster_id=None, c
106109
self.create_time = create_time
107110
if id is not None:
108111
self.id = id
112+
if image_id is not None:
113+
self.image_id = image_id
109114
if initialize_script is not None:
110115
self.initialize_script = initialize_script
111116
if instance_id is not None:
@@ -253,6 +258,27 @@ def id(self, id):
253258

254259
self._id = id
255260

261+
@property
262+
def image_id(self):
263+
"""Gets the image_id of this ItemForListNodesOutput. # noqa: E501
264+
265+
266+
:return: The image_id of this ItemForListNodesOutput. # noqa: E501
267+
:rtype: str
268+
"""
269+
return self._image_id
270+
271+
@image_id.setter
272+
def image_id(self, image_id):
273+
"""Sets the image_id of this ItemForListNodesOutput.
274+
275+
276+
:param image_id: The image_id of this ItemForListNodesOutput. # noqa: E501
277+
:type: str
278+
"""
279+
280+
self._image_id = image_id
281+
256282
@property
257283
def initialize_script(self):
258284
"""Gets the initialize_script of this ItemForListNodesOutput. # noqa: E501

0 commit comments

Comments
 (0)