Skip to content

Commit 93064ca

Browse files
author
BitsAdmin
committed
Merge 'vpc-Python-2020-04-01-online-2030-2026_01_12_22_25_46' into 'integration_2026-01-22_1106749899266'
feat: [development task] vpc-2030-Python (2054081) See merge request: !1037
2 parents 2a229bd + 8b81845 commit 93064ca

5 files changed

Lines changed: 38 additions & 4 deletions

File tree

README.EN.MD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,4 @@ For more examples, see: [SDK Integration Guide](./SDK_Integration.md)
202202
### FAQ
203203

204204
For common issues when using the SDK, see [FAQ](FAQ.EN.md).
205+

volcenginesdkcore/endpoint/providers/default_provider.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,12 @@ def get_endpoint_for(self, region, suffix=endpoint_suffix):
489489
global_endpoint='',
490490
region_endpoint_map={},
491491
),
492+
'livesaas': ServiceEndpointInfo(
493+
service='livesaas',
494+
is_global=True,
495+
global_endpoint='',
496+
region_endpoint_map={},
497+
),
492498
}
493499

494500
bootstrap_region = {

volcenginesdkcore/endpoint/providers/standard_provider.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ def __init__(self, service, is_global):
165165
"vms": ServiceInfo("vms", False),
166166
"eco_partner": ServiceInfo("eco_partner", True),
167167
"smc": ServiceInfo("smc", True),
168+
"livesaas": ServiceInfo("livesaas", True),
168169
}
169170

170171

volcenginesdkvpc/models/ipv6_address_bandwidth_for_describe_ipv6_address_bandwidths_output.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Ipv6AddressBandwidthForDescribeIpv6AddressBandwidthsOutput(object):
3434
"""
3535
swagger_types = {
3636
'allocation_id': 'str',
37-
'bandwidth': 'str',
37+
'bandwidth': 'int',
3838
'bandwidth_package_id': 'str',
3939
'billing_type': 'int',
4040
'business_status': 'str',
@@ -174,7 +174,7 @@ def bandwidth(self):
174174
175175
176176
:return: The bandwidth of this Ipv6AddressBandwidthForDescribeIpv6AddressBandwidthsOutput. # noqa: E501
177-
:rtype: str
177+
:rtype: int
178178
"""
179179
return self._bandwidth
180180

@@ -184,7 +184,7 @@ def bandwidth(self, bandwidth):
184184
185185
186186
:param bandwidth: The bandwidth of this Ipv6AddressBandwidthForDescribeIpv6AddressBandwidthsOutput. # noqa: E501
187-
:type: str
187+
:type: int
188188
"""
189189

190190
self._bandwidth = bandwidth

volcenginesdkvpc/models/unassign_private_ip_addresses_request.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,55 @@ class UnassignPrivateIpAddressesRequest(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'client_token': 'str',
3637
'network_interface_id': 'str',
3738
'private_ip_address': 'list[str]'
3839
}
3940

4041
attribute_map = {
42+
'client_token': 'ClientToken',
4143
'network_interface_id': 'NetworkInterfaceId',
4244
'private_ip_address': 'PrivateIpAddress'
4345
}
4446

45-
def __init__(self, network_interface_id=None, private_ip_address=None, _configuration=None): # noqa: E501
47+
def __init__(self, client_token=None, network_interface_id=None, private_ip_address=None, _configuration=None): # noqa: E501
4648
"""UnassignPrivateIpAddressesRequest - a model defined in Swagger""" # noqa: E501
4749
if _configuration is None:
4850
_configuration = Configuration()
4951
self._configuration = _configuration
5052

53+
self._client_token = None
5154
self._network_interface_id = None
5255
self._private_ip_address = None
5356
self.discriminator = None
5457

58+
if client_token is not None:
59+
self.client_token = client_token
5560
self.network_interface_id = network_interface_id
5661
if private_ip_address is not None:
5762
self.private_ip_address = private_ip_address
5863

64+
@property
65+
def client_token(self):
66+
"""Gets the client_token of this UnassignPrivateIpAddressesRequest. # noqa: E501
67+
68+
69+
:return: The client_token of this UnassignPrivateIpAddressesRequest. # noqa: E501
70+
:rtype: str
71+
"""
72+
return self._client_token
73+
74+
@client_token.setter
75+
def client_token(self, client_token):
76+
"""Sets the client_token of this UnassignPrivateIpAddressesRequest.
77+
78+
79+
:param client_token: The client_token of this UnassignPrivateIpAddressesRequest. # noqa: E501
80+
:type: str
81+
"""
82+
83+
self._client_token = client_token
84+
5985
@property
6086
def network_interface_id(self):
6187
"""Gets the network_interface_id of this UnassignPrivateIpAddressesRequest. # noqa: E501

0 commit comments

Comments
 (0)