Skip to content

Commit 608ab30

Browse files
author
BitsAdmin
committed
Merge 'vpc-Python-2020-04-01-online-1925-2025_12_10_14_29_07' into 'integration_2025-12-11_1093011093762'
feat: [development task] vpc-1925-Python (1924213) See merge request: !967
2 parents a3f0c31 + e7fdc59 commit 608ab30

File tree

82 files changed

+2148
-93
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+2148
-93
lines changed

volcenginesdkvpc/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@
367367
from volcenginesdkvpc.models.tag_for_describe_ip_address_pools_output import TagForDescribeIpAddressPoolsOutput
368368
from volcenginesdkvpc.models.tag_for_describe_ipv6_address_bandwidth_attributes_output import TagForDescribeIpv6AddressBandwidthAttributesOutput
369369
from volcenginesdkvpc.models.tag_for_describe_ipv6_address_bandwidths_output import TagForDescribeIpv6AddressBandwidthsOutput
370+
from volcenginesdkvpc.models.tag_for_describe_ipv6_gateway_attribute_output import TagForDescribeIpv6GatewayAttributeOutput
370371
from volcenginesdkvpc.models.tag_for_describe_network_acl_attributes_output import TagForDescribeNetworkAclAttributesOutput
371372
from volcenginesdkvpc.models.tag_for_describe_network_acls_output import TagForDescribeNetworkAclsOutput
372373
from volcenginesdkvpc.models.tag_for_describe_network_interface_attributes_output import TagForDescribeNetworkInterfaceAttributesOutput

volcenginesdkvpc/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@
363363
from volcenginesdkvpc.models.tag_for_describe_ip_address_pools_output import TagForDescribeIpAddressPoolsOutput
364364
from volcenginesdkvpc.models.tag_for_describe_ipv6_address_bandwidth_attributes_output import TagForDescribeIpv6AddressBandwidthAttributesOutput
365365
from volcenginesdkvpc.models.tag_for_describe_ipv6_address_bandwidths_output import TagForDescribeIpv6AddressBandwidthsOutput
366+
from volcenginesdkvpc.models.tag_for_describe_ipv6_gateway_attribute_output import TagForDescribeIpv6GatewayAttributeOutput
366367
from volcenginesdkvpc.models.tag_for_describe_network_acl_attributes_output import TagForDescribeNetworkAclAttributesOutput
367368
from volcenginesdkvpc.models.tag_for_describe_network_acls_output import TagForDescribeNetworkAclsOutput
368369
from volcenginesdkvpc.models.tag_for_describe_network_interface_attributes_output import TagForDescribeNetworkInterfaceAttributesOutput

volcenginesdkvpc/models/active_flow_log_request.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def __init__(self, client_token=None, flow_log_id=None, _configuration=None): #
5252
self._flow_log_id = None
5353
self.discriminator = None
5454

55-
self.client_token = client_token
55+
if client_token is not None:
56+
self.client_token = client_token
5657
self.flow_log_id = flow_log_id
5758

5859
@property
@@ -73,8 +74,6 @@ def client_token(self, client_token):
7374
:param client_token: The client_token of this ActiveFlowLogRequest. # noqa: E501
7475
:type: str
7576
"""
76-
if self._configuration.client_side_validation and client_token is None:
77-
raise ValueError("Invalid value for `client_token`, must not be `None`") # noqa: E501
7877

7978
self._client_token = client_token
8079

volcenginesdkvpc/models/active_flow_log_response.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,51 @@ class ActiveFlowLogResponse(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'async_task_id': 'str',
3637
'request_id': 'str'
3738
}
3839

3940
attribute_map = {
41+
'async_task_id': 'AsyncTaskId',
4042
'request_id': 'RequestId'
4143
}
4244

43-
def __init__(self, request_id=None, _configuration=None): # noqa: E501
45+
def __init__(self, async_task_id=None, request_id=None, _configuration=None): # noqa: E501
4446
"""ActiveFlowLogResponse - a model defined in Swagger""" # noqa: E501
4547
if _configuration is None:
4648
_configuration = Configuration()
4749
self._configuration = _configuration
4850

51+
self._async_task_id = None
4952
self._request_id = None
5053
self.discriminator = None
5154

55+
if async_task_id is not None:
56+
self.async_task_id = async_task_id
5257
if request_id is not None:
5358
self.request_id = request_id
5459

60+
@property
61+
def async_task_id(self):
62+
"""Gets the async_task_id of this ActiveFlowLogResponse. # noqa: E501
63+
64+
65+
:return: The async_task_id of this ActiveFlowLogResponse. # noqa: E501
66+
:rtype: str
67+
"""
68+
return self._async_task_id
69+
70+
@async_task_id.setter
71+
def async_task_id(self, async_task_id):
72+
"""Sets the async_task_id of this ActiveFlowLogResponse.
73+
74+
75+
:param async_task_id: The async_task_id of this ActiveFlowLogResponse. # noqa: E501
76+
:type: str
77+
"""
78+
79+
self._async_task_id = async_task_id
80+
5581
@property
5682
def request_id(self):
5783
"""Gets the request_id of this ActiveFlowLogResponse. # noqa: E501

volcenginesdkvpc/models/allocate_ipv6_address_bandwidth_response.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,31 @@ class AllocateIpv6AddressBandwidthResponse(object):
3434
"""
3535
swagger_types = {
3636
'allocation_id': 'str',
37+
'allocation_ids': 'list[str]',
3738
'request_id': 'str'
3839
}
3940

4041
attribute_map = {
4142
'allocation_id': 'AllocationId',
43+
'allocation_ids': 'AllocationIds',
4244
'request_id': 'RequestId'
4345
}
4446

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

5153
self._allocation_id = None
54+
self._allocation_ids = None
5255
self._request_id = None
5356
self.discriminator = None
5457

5558
if allocation_id is not None:
5659
self.allocation_id = allocation_id
60+
if allocation_ids is not None:
61+
self.allocation_ids = allocation_ids
5762
if request_id is not None:
5863
self.request_id = request_id
5964

@@ -78,6 +83,27 @@ def allocation_id(self, allocation_id):
7883

7984
self._allocation_id = allocation_id
8085

86+
@property
87+
def allocation_ids(self):
88+
"""Gets the allocation_ids of this AllocateIpv6AddressBandwidthResponse. # noqa: E501
89+
90+
91+
:return: The allocation_ids of this AllocateIpv6AddressBandwidthResponse. # noqa: E501
92+
:rtype: list[str]
93+
"""
94+
return self._allocation_ids
95+
96+
@allocation_ids.setter
97+
def allocation_ids(self, allocation_ids):
98+
"""Sets the allocation_ids of this AllocateIpv6AddressBandwidthResponse.
99+
100+
101+
:param allocation_ids: The allocation_ids of this AllocateIpv6AddressBandwidthResponse. # noqa: E501
102+
:type: list[str]
103+
"""
104+
105+
self._allocation_ids = allocation_ids
106+
81107
@property
82108
def request_id(self):
83109
"""Gets the request_id of this AllocateIpv6AddressBandwidthResponse. # noqa: E501

volcenginesdkvpc/models/assign_ipv6_addresses_request.py

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

4142
attribute_map = {
43+
'client_token': 'ClientToken',
4244
'ipv6_address': 'Ipv6Address',
4345
'ipv6_address_count': 'Ipv6AddressCount',
4446
'network_interface_id': 'NetworkInterfaceId'
4547
}
4648

47-
def __init__(self, ipv6_address=None, ipv6_address_count=None, network_interface_id=None, _configuration=None): # noqa: E501
49+
def __init__(self, client_token=None, ipv6_address=None, ipv6_address_count=None, network_interface_id=None, _configuration=None): # noqa: E501
4850
"""AssignIpv6AddressesRequest - a model defined in Swagger""" # noqa: E501
4951
if _configuration is None:
5052
_configuration = Configuration()
5153
self._configuration = _configuration
5254

55+
self._client_token = None
5356
self._ipv6_address = None
5457
self._ipv6_address_count = None
5558
self._network_interface_id = None
5659
self.discriminator = None
5760

61+
if client_token is not None:
62+
self.client_token = client_token
5863
if ipv6_address is not None:
5964
self.ipv6_address = ipv6_address
6065
if ipv6_address_count is not None:
6166
self.ipv6_address_count = ipv6_address_count
6267
self.network_interface_id = network_interface_id
6368

69+
@property
70+
def client_token(self):
71+
"""Gets the client_token of this AssignIpv6AddressesRequest. # noqa: E501
72+
73+
74+
:return: The client_token of this AssignIpv6AddressesRequest. # noqa: E501
75+
:rtype: str
76+
"""
77+
return self._client_token
78+
79+
@client_token.setter
80+
def client_token(self, client_token):
81+
"""Sets the client_token of this AssignIpv6AddressesRequest.
82+
83+
84+
:param client_token: The client_token of this AssignIpv6AddressesRequest. # noqa: E501
85+
:type: str
86+
"""
87+
88+
self._client_token = client_token
89+
6490
@property
6591
def ipv6_address(self):
6692
"""Gets the ipv6_address of this AssignIpv6AddressesRequest. # noqa: E501

volcenginesdkvpc/models/assign_ipv6_addresses_response.py

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

4142
attribute_map = {
43+
'async_task_id': 'AsyncTaskId',
4244
'ipv6_set': 'Ipv6Set',
4345
'network_interface_id': 'NetworkInterfaceId',
4446
'request_id': 'RequestId'
4547
}
4648

47-
def __init__(self, ipv6_set=None, network_interface_id=None, request_id=None, _configuration=None): # noqa: E501
49+
def __init__(self, async_task_id=None, ipv6_set=None, network_interface_id=None, request_id=None, _configuration=None): # noqa: E501
4850
"""AssignIpv6AddressesResponse - a model defined in Swagger""" # noqa: E501
4951
if _configuration is None:
5052
_configuration = Configuration()
5153
self._configuration = _configuration
5254

55+
self._async_task_id = None
5356
self._ipv6_set = None
5457
self._network_interface_id = None
5558
self._request_id = None
5659
self.discriminator = None
5760

61+
if async_task_id is not None:
62+
self.async_task_id = async_task_id
5863
if ipv6_set is not None:
5964
self.ipv6_set = ipv6_set
6065
if network_interface_id is not None:
6166
self.network_interface_id = network_interface_id
6267
if request_id is not None:
6368
self.request_id = request_id
6469

70+
@property
71+
def async_task_id(self):
72+
"""Gets the async_task_id of this AssignIpv6AddressesResponse. # noqa: E501
73+
74+
75+
:return: The async_task_id of this AssignIpv6AddressesResponse. # noqa: E501
76+
:rtype: str
77+
"""
78+
return self._async_task_id
79+
80+
@async_task_id.setter
81+
def async_task_id(self, async_task_id):
82+
"""Sets the async_task_id of this AssignIpv6AddressesResponse.
83+
84+
85+
:param async_task_id: The async_task_id of this AssignIpv6AddressesResponse. # noqa: E501
86+
:type: str
87+
"""
88+
89+
self._async_task_id = async_task_id
90+
6591
@property
6692
def ipv6_set(self):
6793
"""Gets the ipv6_set of this AssignIpv6AddressesResponse. # noqa: E501

volcenginesdkvpc/models/assign_private_ip_addresses_request.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,34 +33,60 @@ class AssignPrivateIpAddressesRequest(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
'secondary_private_ip_address_count': 'int'
3940
}
4041

4142
attribute_map = {
43+
'client_token': 'ClientToken',
4244
'network_interface_id': 'NetworkInterfaceId',
4345
'private_ip_address': 'PrivateIpAddress',
4446
'secondary_private_ip_address_count': 'SecondaryPrivateIpAddressCount'
4547
}
4648

47-
def __init__(self, network_interface_id=None, private_ip_address=None, secondary_private_ip_address_count=None, _configuration=None): # noqa: E501
49+
def __init__(self, client_token=None, network_interface_id=None, private_ip_address=None, secondary_private_ip_address_count=None, _configuration=None): # noqa: E501
4850
"""AssignPrivateIpAddressesRequest - a model defined in Swagger""" # noqa: E501
4951
if _configuration is None:
5052
_configuration = Configuration()
5153
self._configuration = _configuration
5254

55+
self._client_token = None
5356
self._network_interface_id = None
5457
self._private_ip_address = None
5558
self._secondary_private_ip_address_count = None
5659
self.discriminator = None
5760

61+
if client_token is not None:
62+
self.client_token = client_token
5863
self.network_interface_id = network_interface_id
5964
if private_ip_address is not None:
6065
self.private_ip_address = private_ip_address
6166
if secondary_private_ip_address_count is not None:
6267
self.secondary_private_ip_address_count = secondary_private_ip_address_count
6368

69+
@property
70+
def client_token(self):
71+
"""Gets the client_token of this AssignPrivateIpAddressesRequest. # noqa: E501
72+
73+
74+
:return: The client_token of this AssignPrivateIpAddressesRequest. # noqa: E501
75+
:rtype: str
76+
"""
77+
return self._client_token
78+
79+
@client_token.setter
80+
def client_token(self, client_token):
81+
"""Sets the client_token of this AssignPrivateIpAddressesRequest.
82+
83+
84+
:param client_token: The client_token of this AssignPrivateIpAddressesRequest. # noqa: E501
85+
:type: str
86+
"""
87+
88+
self._client_token = client_token
89+
6490
@property
6591
def network_interface_id(self):
6692
"""Gets the network_interface_id of this AssignPrivateIpAddressesRequest. # noqa: E501

volcenginesdkvpc/models/assign_private_ip_addresses_response.py

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

4142
attribute_map = {
43+
'async_task_id': 'AsyncTaskId',
4244
'network_interface_id': 'NetworkInterfaceId',
4345
'private_ip_set': 'PrivateIpSet',
4446
'request_id': 'RequestId'
4547
}
4648

47-
def __init__(self, network_interface_id=None, private_ip_set=None, request_id=None, _configuration=None): # noqa: E501
49+
def __init__(self, async_task_id=None, network_interface_id=None, private_ip_set=None, request_id=None, _configuration=None): # noqa: E501
4850
"""AssignPrivateIpAddressesResponse - a model defined in Swagger""" # noqa: E501
4951
if _configuration is None:
5052
_configuration = Configuration()
5153
self._configuration = _configuration
5254

55+
self._async_task_id = None
5356
self._network_interface_id = None
5457
self._private_ip_set = None
5558
self._request_id = None
5659
self.discriminator = None
5760

61+
if async_task_id is not None:
62+
self.async_task_id = async_task_id
5863
if network_interface_id is not None:
5964
self.network_interface_id = network_interface_id
6065
if private_ip_set is not None:
6166
self.private_ip_set = private_ip_set
6267
if request_id is not None:
6368
self.request_id = request_id
6469

70+
@property
71+
def async_task_id(self):
72+
"""Gets the async_task_id of this AssignPrivateIpAddressesResponse. # noqa: E501
73+
74+
75+
:return: The async_task_id of this AssignPrivateIpAddressesResponse. # noqa: E501
76+
:rtype: str
77+
"""
78+
return self._async_task_id
79+
80+
@async_task_id.setter
81+
def async_task_id(self, async_task_id):
82+
"""Sets the async_task_id of this AssignPrivateIpAddressesResponse.
83+
84+
85+
:param async_task_id: The async_task_id of this AssignPrivateIpAddressesResponse. # noqa: E501
86+
:type: str
87+
"""
88+
89+
self._async_task_id = async_task_id
90+
6591
@property
6692
def network_interface_id(self):
6793
"""Gets the network_interface_id of this AssignPrivateIpAddressesResponse. # noqa: E501

0 commit comments

Comments
 (0)