Skip to content

Commit f5903fd

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for vke-Python-2022-05-12-online-300-2024_01_17_10_16_27
1 parent 4bf4c5d commit f5903fd

12 files changed

+168
-26
lines changed

meta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "1.0.62",
3-
"meta_commit": "7dd06057d68e0272514bd45a8c8d0ec1d750c2b0"
4-
}
2+
"lasted": "1.0.63",
3+
"meta_commit": "90863613f8e9e7680e78928d33bafeae4077f529"
4+
}

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 = "1.0.62"
6+
VERSION = "1.0.63"
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
@@ -67,7 +67,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6767
self.default_headers[header_name] = header_value
6868
self.cookie = cookie
6969
# Set default User-Agent.
70-
self.user_agent = 'volcstack-python-sdk/1.0.62'
70+
self.user_agent = 'volcstack-python-sdk/1.0.63'
7171
self.client_side_validation = configuration.client_side_validation
7272

7373
def __del__(self):

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,5 @@ def to_debug_report(self):
221221
"OS: {env}\n"\
222222
"Python Version: {pyversion}\n"\
223223
"Version of the API: 0.1.0\n"\
224-
"SDK Package Version: 1.0.62".\
224+
"SDK Package Version: 1.0.63".\
225225
format(env=sys.platform, pyversion=sys.version)

volcenginesdkvke/models/filter_for_list_kubeconfigs_input.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,28 @@ class FilterForListKubeconfigsInput(object):
3535
swagger_types = {
3636
'cluster_ids': 'list[str]',
3737
'ids': 'list[str]',
38+
'role_ids': 'list[int]',
3839
'types': 'list[str]',
3940
'user_ids': 'list[int]'
4041
}
4142

4243
attribute_map = {
4344
'cluster_ids': 'ClusterIds',
4445
'ids': 'Ids',
46+
'role_ids': 'RoleIds',
4547
'types': 'Types',
4648
'user_ids': 'UserIds'
4749
}
4850

49-
def __init__(self, cluster_ids=None, ids=None, types=None, user_ids=None, _configuration=None): # noqa: E501
51+
def __init__(self, cluster_ids=None, ids=None, role_ids=None, types=None, user_ids=None, _configuration=None): # noqa: E501
5052
"""FilterForListKubeconfigsInput - a model defined in Swagger""" # noqa: E501
5153
if _configuration is None:
5254
_configuration = Configuration()
5355
self._configuration = _configuration
5456

5557
self._cluster_ids = None
5658
self._ids = None
59+
self._role_ids = None
5760
self._types = None
5861
self._user_ids = None
5962
self.discriminator = None
@@ -62,6 +65,8 @@ def __init__(self, cluster_ids=None, ids=None, types=None, user_ids=None, _confi
6265
self.cluster_ids = cluster_ids
6366
if ids is not None:
6467
self.ids = ids
68+
if role_ids is not None:
69+
self.role_ids = role_ids
6570
if types is not None:
6671
self.types = types
6772
if user_ids is not None:
@@ -109,6 +114,27 @@ def ids(self, ids):
109114

110115
self._ids = ids
111116

117+
@property
118+
def role_ids(self):
119+
"""Gets the role_ids of this FilterForListKubeconfigsInput. # noqa: E501
120+
121+
122+
:return: The role_ids of this FilterForListKubeconfigsInput. # noqa: E501
123+
:rtype: list[int]
124+
"""
125+
return self._role_ids
126+
127+
@role_ids.setter
128+
def role_ids(self, role_ids):
129+
"""Sets the role_ids of this FilterForListKubeconfigsInput.
130+
131+
132+
:param role_ids: The role_ids of this FilterForListKubeconfigsInput. # noqa: E501
133+
:type: list[int]
134+
"""
135+
136+
self._role_ids = role_ids
137+
112138
@property
113139
def types(self):
114140
"""Gets the types of this FilterForListKubeconfigsInput. # noqa: E501

volcenginesdkvke/models/item_for_list_kubeconfigs_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class ItemForListKubeconfigsOutput(object):
3838
'expire_time': 'str',
3939
'id': 'str',
4040
'kubeconfig': 'str',
41+
'role_id': 'int',
4142
'type': 'str',
4243
'user_id': 'int'
4344
}
@@ -48,11 +49,12 @@ class ItemForListKubeconfigsOutput(object):
4849
'expire_time': 'ExpireTime',
4950
'id': 'Id',
5051
'kubeconfig': 'Kubeconfig',
52+
'role_id': 'RoleId',
5153
'type': 'Type',
5254
'user_id': 'UserId'
5355
}
5456

55-
def __init__(self, cluster_id=None, create_time=None, expire_time=None, id=None, kubeconfig=None, type=None, user_id=None, _configuration=None): # noqa: E501
57+
def __init__(self, cluster_id=None, create_time=None, expire_time=None, id=None, kubeconfig=None, role_id=None, type=None, user_id=None, _configuration=None): # noqa: E501
5658
"""ItemForListKubeconfigsOutput - a model defined in Swagger""" # noqa: E501
5759
if _configuration is None:
5860
_configuration = Configuration()
@@ -63,6 +65,7 @@ def __init__(self, cluster_id=None, create_time=None, expire_time=None, id=None,
6365
self._expire_time = None
6466
self._id = None
6567
self._kubeconfig = None
68+
self._role_id = None
6669
self._type = None
6770
self._user_id = None
6871
self.discriminator = None
@@ -77,6 +80,8 @@ def __init__(self, cluster_id=None, create_time=None, expire_time=None, id=None,
7780
self.id = id
7881
if kubeconfig is not None:
7982
self.kubeconfig = kubeconfig
83+
if role_id is not None:
84+
self.role_id = role_id
8085
if type is not None:
8186
self.type = type
8287
if user_id is not None:
@@ -187,6 +192,27 @@ def kubeconfig(self, kubeconfig):
187192

188193
self._kubeconfig = kubeconfig
189194

195+
@property
196+
def role_id(self):
197+
"""Gets the role_id of this ItemForListKubeconfigsOutput. # noqa: E501
198+
199+
200+
:return: The role_id of this ItemForListKubeconfigsOutput. # noqa: E501
201+
:rtype: int
202+
"""
203+
return self._role_id
204+
205+
@role_id.setter
206+
def role_id(self, role_id):
207+
"""Sets the role_id of this ItemForListKubeconfigsOutput.
208+
209+
210+
:param role_id: The role_id of this ItemForListKubeconfigsOutput. # noqa: E501
211+
:type: int
212+
"""
213+
214+
self._role_id = role_id
215+
190216
@property
191217
def type(self):
192218
"""Gets the type of this ItemForListKubeconfigsOutput. # noqa: E501

volcenginesdkvke/models/kubernetes_config_for_create_default_node_pool_input.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,35 @@ class KubernetesConfigForCreateDefaultNodePoolInput(object):
3535
swagger_types = {
3636
'cordon': 'bool',
3737
'labels': 'list[LabelForCreateDefaultNodePoolInput]',
38+
'name_prefix': 'str',
3839
'taints': 'list[TaintForCreateDefaultNodePoolInput]'
3940
}
4041

4142
attribute_map = {
4243
'cordon': 'Cordon',
4344
'labels': 'Labels',
45+
'name_prefix': 'NamePrefix',
4446
'taints': 'Taints'
4547
}
4648

47-
def __init__(self, cordon=None, labels=None, taints=None, _configuration=None): # noqa: E501
49+
def __init__(self, cordon=None, labels=None, name_prefix=None, taints=None, _configuration=None): # noqa: E501
4850
"""KubernetesConfigForCreateDefaultNodePoolInput - a model defined in Swagger""" # noqa: E501
4951
if _configuration is None:
5052
_configuration = Configuration()
5153
self._configuration = _configuration
5254

5355
self._cordon = None
5456
self._labels = None
57+
self._name_prefix = None
5558
self._taints = None
5659
self.discriminator = None
5760

5861
if cordon is not None:
5962
self.cordon = cordon
6063
if labels is not None:
6164
self.labels = labels
65+
if name_prefix is not None:
66+
self.name_prefix = name_prefix
6267
if taints is not None:
6368
self.taints = taints
6469

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

105110
self._labels = labels
106111

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

volcenginesdkvke/models/kubernetes_config_for_create_node_pool_input.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,35 @@ class KubernetesConfigForCreateNodePoolInput(object):
3535
swagger_types = {
3636
'cordon': 'bool',
3737
'labels': 'list[LabelForCreateNodePoolInput]',
38+
'name_prefix': 'str',
3839
'taints': 'list[TaintForCreateNodePoolInput]'
3940
}
4041

4142
attribute_map = {
4243
'cordon': 'Cordon',
4344
'labels': 'Labels',
45+
'name_prefix': 'NamePrefix',
4446
'taints': 'Taints'
4547
}
4648

47-
def __init__(self, cordon=None, labels=None, taints=None, _configuration=None): # noqa: E501
49+
def __init__(self, cordon=None, labels=None, name_prefix=None, taints=None, _configuration=None): # noqa: E501
4850
"""KubernetesConfigForCreateNodePoolInput - a model defined in Swagger""" # noqa: E501
4951
if _configuration is None:
5052
_configuration = Configuration()
5153
self._configuration = _configuration
5254

5355
self._cordon = None
5456
self._labels = None
57+
self._name_prefix = None
5558
self._taints = None
5659
self.discriminator = None
5760

5861
if cordon is not None:
5962
self.cordon = cordon
6063
if labels is not None:
6164
self.labels = labels
65+
if name_prefix is not None:
66+
self.name_prefix = name_prefix
6267
if taints is not None:
6368
self.taints = taints
6469

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

105110
self._labels = labels
106111

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

volcenginesdkvke/models/kubernetes_config_for_list_node_pools_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,35 @@ class KubernetesConfigForListNodePoolsOutput(object):
3535
swagger_types = {
3636
'cordon': 'bool',
3737
'labels': 'list[LabelForListNodePoolsOutput]',
38+
'name_prefix': 'str',
3839
'taints': 'list[TaintForListNodePoolsOutput]'
3940
}
4041

4142
attribute_map = {
4243
'cordon': 'Cordon',
4344
'labels': 'Labels',
45+
'name_prefix': 'NamePrefix',
4446
'taints': 'Taints'
4547
}
4648

47-
def __init__(self, cordon=None, labels=None, taints=None, _configuration=None): # noqa: E501
49+
def __init__(self, cordon=None, labels=None, name_prefix=None, taints=None, _configuration=None): # noqa: E501
4850
"""KubernetesConfigForListNodePoolsOutput - a model defined in Swagger""" # noqa: E501
4951
if _configuration is None:
5052
_configuration = Configuration()
5153
self._configuration = _configuration
5254

5355
self._cordon = None
5456
self._labels = None
57+
self._name_prefix = None
5558
self._taints = None
5659
self.discriminator = None
5760

5861
if cordon is not None:
5962
self.cordon = cordon
6063
if labels is not None:
6164
self.labels = labels
65+
if name_prefix is not None:
66+
self.name_prefix = name_prefix
6267
if taints is not None:
6368
self.taints = taints
6469

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

105110
self._labels = labels
106111

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

0 commit comments

Comments
 (0)