Skip to content

Commit 6bb7a2b

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for vpc-Python-2020-04-01-online-1440-2025_08_12_11_10_31
1 parent c86dd7d commit 6bb7a2b

File tree

5 files changed

+32
-6
lines changed

5 files changed

+32
-6
lines changed

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "4.0.10",
3-
"meta_commit": "3986ef5bde77f0161fd6e41f1d35d20bb4560594"
2+
"lasted": "4.0.11",
3+
"meta_commit": "201f06a5b486074d0cd67cfc8af33377b0afa05f"
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 = "4.0.10"
6+
VERSION = "4.0.11"
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/4.0.10'
70+
self.user_agent = 'volcstack-python-sdk/4.0.11'
7171
self.client_side_validation = configuration.client_side_validation
7272

7373
self.interceptor_chain = InterceptorChain()

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def to_debug_report(self):
267267
"OS: {env}\n" \
268268
"Python Version: {pyversion}\n" \
269269
"Version of the API: 0.1.0\n" \
270-
"SDK Package Version: 4.0.10".\
270+
"SDK Package Version: 4.0.11".\
271271
format(env=sys.platform, pyversion=sys.version)
272272

273273
@property

volcenginesdkvpc/models/modify_eip_address_attributes_request.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class ModifyEipAddressAttributesRequest(object):
3636
'allocation_id': 'str',
3737
'bandwidth': 'int',
3838
'description': 'str',
39+
'direct_mode': 'bool',
3940
'name': 'str',
4041
'release_with_instance': 'bool'
4142
}
@@ -44,11 +45,12 @@ class ModifyEipAddressAttributesRequest(object):
4445
'allocation_id': 'AllocationId',
4546
'bandwidth': 'Bandwidth',
4647
'description': 'Description',
48+
'direct_mode': 'DirectMode',
4749
'name': 'Name',
4850
'release_with_instance': 'ReleaseWithInstance'
4951
}
5052

51-
def __init__(self, allocation_id=None, bandwidth=None, description=None, name=None, release_with_instance=None, _configuration=None): # noqa: E501
53+
def __init__(self, allocation_id=None, bandwidth=None, description=None, direct_mode=None, name=None, release_with_instance=None, _configuration=None): # noqa: E501
5254
"""ModifyEipAddressAttributesRequest - a model defined in Swagger""" # noqa: E501
5355
if _configuration is None:
5456
_configuration = Configuration()
@@ -57,6 +59,7 @@ def __init__(self, allocation_id=None, bandwidth=None, description=None, name=No
5759
self._allocation_id = None
5860
self._bandwidth = None
5961
self._description = None
62+
self._direct_mode = None
6063
self._name = None
6164
self._release_with_instance = None
6265
self.discriminator = None
@@ -66,6 +69,8 @@ def __init__(self, allocation_id=None, bandwidth=None, description=None, name=No
6669
self.bandwidth = bandwidth
6770
if description is not None:
6871
self.description = description
72+
if direct_mode is not None:
73+
self.direct_mode = direct_mode
6974
if name is not None:
7075
self.name = name
7176
if release_with_instance is not None:
@@ -145,6 +150,27 @@ def description(self, description):
145150

146151
self._description = description
147152

153+
@property
154+
def direct_mode(self):
155+
"""Gets the direct_mode of this ModifyEipAddressAttributesRequest. # noqa: E501
156+
157+
158+
:return: The direct_mode of this ModifyEipAddressAttributesRequest. # noqa: E501
159+
:rtype: bool
160+
"""
161+
return self._direct_mode
162+
163+
@direct_mode.setter
164+
def direct_mode(self, direct_mode):
165+
"""Sets the direct_mode of this ModifyEipAddressAttributesRequest.
166+
167+
168+
:param direct_mode: The direct_mode of this ModifyEipAddressAttributesRequest. # noqa: E501
169+
:type: bool
170+
"""
171+
172+
self._direct_mode = direct_mode
173+
148174
@property
149175
def name(self):
150176
"""Gets the name of this ModifyEipAddressAttributesRequest. # noqa: E501

0 commit comments

Comments
 (0)