Skip to content

Commit 038ba85

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for fw_center-Python-2021-09-06-online-342-2024_03_05_10_47_17
1 parent 8bb4901 commit 038ba85

25 files changed

+725
-725
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": "1.0.67",
3-
"meta_commit": "784ce604a3bfd6bf3642373426679e90985fce37"
2+
"lasted": "1.0.68",
3+
"meta_commit": "94c6ca39544244a0b2c5567a8b5ed06cdb35b489"
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 = "1.0.67"
6+
VERSION = "1.0.68"
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.67'
70+
self.user_agent = 'volcstack-python-sdk/1.0.68'
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.67".\
224+
"SDK Package Version: 1.0.68".\
225225
format(env=sys.platform, pyversion=sys.version)

volcenginesdkfwcenter/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
from volcenginesdkfwcenter.models.add_vpc_firewall_acl_rule_response import AddVpcFirewallAclRuleResponse
2828
from volcenginesdkfwcenter.models.asset_list_request import AssetListRequest
2929
from volcenginesdkfwcenter.models.asset_list_response import AssetListResponse
30-
from volcenginesdkfwcenter.models.datum_for_asset_list_output import DatumForAssetListOutput
31-
from volcenginesdkfwcenter.models.datum_for_describe_address_book_output import DatumForDescribeAddressBookOutput
32-
from volcenginesdkfwcenter.models.datum_for_describe_control_policy_by_rule_id_output import DatumForDescribeControlPolicyByRuleIdOutput
33-
from volcenginesdkfwcenter.models.datum_for_describe_control_policy_output import DatumForDescribeControlPolicyOutput
34-
from volcenginesdkfwcenter.models.datum_for_describe_vpc_firewall_acl_rule_list_output import DatumForDescribeVpcFirewallAclRuleListOutput
35-
from volcenginesdkfwcenter.models.datum_for_describe_vpc_firewall_list_output import DatumForDescribeVpcFirewallListOutput
30+
from volcenginesdkfwcenter.models.data_for_asset_list_output import DataForAssetListOutput
31+
from volcenginesdkfwcenter.models.data_for_describe_address_book_output import DataForDescribeAddressBookOutput
32+
from volcenginesdkfwcenter.models.data_for_describe_control_policy_by_rule_id_output import DataForDescribeControlPolicyByRuleIdOutput
33+
from volcenginesdkfwcenter.models.data_for_describe_control_policy_output import DataForDescribeControlPolicyOutput
34+
from volcenginesdkfwcenter.models.data_for_describe_vpc_firewall_acl_rule_list_output import DataForDescribeVpcFirewallAclRuleListOutput
35+
from volcenginesdkfwcenter.models.data_for_describe_vpc_firewall_list_output import DataForDescribeVpcFirewallListOutput
3636
from volcenginesdkfwcenter.models.delete_address_book_request import DeleteAddressBookRequest
3737
from volcenginesdkfwcenter.models.delete_address_book_response import DeleteAddressBookResponse
3838
from volcenginesdkfwcenter.models.delete_control_policy_request import DeleteControlPolicyRequest

volcenginesdkfwcenter/models/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
from volcenginesdkfwcenter.models.add_vpc_firewall_acl_rule_response import AddVpcFirewallAclRuleResponse
2424
from volcenginesdkfwcenter.models.asset_list_request import AssetListRequest
2525
from volcenginesdkfwcenter.models.asset_list_response import AssetListResponse
26-
from volcenginesdkfwcenter.models.datum_for_asset_list_output import DatumForAssetListOutput
27-
from volcenginesdkfwcenter.models.datum_for_describe_address_book_output import DatumForDescribeAddressBookOutput
28-
from volcenginesdkfwcenter.models.datum_for_describe_control_policy_by_rule_id_output import DatumForDescribeControlPolicyByRuleIdOutput
29-
from volcenginesdkfwcenter.models.datum_for_describe_control_policy_output import DatumForDescribeControlPolicyOutput
30-
from volcenginesdkfwcenter.models.datum_for_describe_vpc_firewall_acl_rule_list_output import DatumForDescribeVpcFirewallAclRuleListOutput
31-
from volcenginesdkfwcenter.models.datum_for_describe_vpc_firewall_list_output import DatumForDescribeVpcFirewallListOutput
26+
from volcenginesdkfwcenter.models.data_for_asset_list_output import DataForAssetListOutput
27+
from volcenginesdkfwcenter.models.data_for_describe_address_book_output import DataForDescribeAddressBookOutput
28+
from volcenginesdkfwcenter.models.data_for_describe_control_policy_by_rule_id_output import DataForDescribeControlPolicyByRuleIdOutput
29+
from volcenginesdkfwcenter.models.data_for_describe_control_policy_output import DataForDescribeControlPolicyOutput
30+
from volcenginesdkfwcenter.models.data_for_describe_vpc_firewall_acl_rule_list_output import DataForDescribeVpcFirewallAclRuleListOutput
31+
from volcenginesdkfwcenter.models.data_for_describe_vpc_firewall_list_output import DataForDescribeVpcFirewallListOutput
3232
from volcenginesdkfwcenter.models.delete_address_book_request import DeleteAddressBookRequest
3333
from volcenginesdkfwcenter.models.delete_address_book_response import DeleteAddressBookResponse
3434
from volcenginesdkfwcenter.models.delete_control_policy_request import DeleteControlPolicyRequest

volcenginesdkfwcenter/models/add_control_policy_request.py

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@ class AddControlPolicyRequest(object):
3838
'dest_port': 'str',
3939
'dest_port_type': 'str',
4040
'destination': 'str',
41-
'destination_group_type': 'str',
4241
'destination_type': 'str',
4342
'direction': 'str',
4443
'prio': 'int',
4544
'proto': 'str',
4645
'source': 'str',
47-
'source_group_type': 'str',
4846
'source_type': 'str',
4947
'status': 'bool'
5048
}
@@ -55,18 +53,16 @@ class AddControlPolicyRequest(object):
5553
'dest_port': 'DestPort',
5654
'dest_port_type': 'DestPortType',
5755
'destination': 'Destination',
58-
'destination_group_type': 'DestinationGroupType',
5956
'destination_type': 'DestinationType',
6057
'direction': 'Direction',
6158
'prio': 'Prio',
6259
'proto': 'Proto',
6360
'source': 'Source',
64-
'source_group_type': 'SourceGroupType',
6561
'source_type': 'SourceType',
6662
'status': 'Status'
6763
}
6864

69-
def __init__(self, action=None, description=None, dest_port=None, dest_port_type=None, destination=None, destination_group_type=None, destination_type=None, direction=None, prio=None, proto=None, source=None, source_group_type=None, source_type=None, status=None, _configuration=None): # noqa: E501
65+
def __init__(self, action=None, description=None, dest_port=None, dest_port_type=None, destination=None, destination_type=None, direction=None, prio=None, proto=None, source=None, source_type=None, status=None, _configuration=None): # noqa: E501
7066
"""AddControlPolicyRequest - a model defined in Swagger""" # noqa: E501
7167
if _configuration is None:
7268
_configuration = Configuration()
@@ -77,13 +73,11 @@ def __init__(self, action=None, description=None, dest_port=None, dest_port_type
7773
self._dest_port = None
7874
self._dest_port_type = None
7975
self._destination = None
80-
self._destination_group_type = None
8176
self._destination_type = None
8277
self._direction = None
8378
self._prio = None
8479
self._proto = None
8580
self._source = None
86-
self._source_group_type = None
8781
self._source_type = None
8882
self._status = None
8983
self.discriminator = None
@@ -96,16 +90,12 @@ def __init__(self, action=None, description=None, dest_port=None, dest_port_type
9690
if dest_port_type is not None:
9791
self.dest_port_type = dest_port_type
9892
self.destination = destination
99-
if destination_group_type is not None:
100-
self.destination_group_type = destination_group_type
10193
self.destination_type = destination_type
10294
self.direction = direction
10395
if prio is not None:
10496
self.prio = prio
10597
self.proto = proto
10698
self.source = source
107-
if source_group_type is not None:
108-
self.source_group_type = source_group_type
10999
self.source_type = source_type
110100
if status is not None:
111101
self.status = status
@@ -219,27 +209,6 @@ def destination(self, destination):
219209

220210
self._destination = destination
221211

222-
@property
223-
def destination_group_type(self):
224-
"""Gets the destination_group_type of this AddControlPolicyRequest. # noqa: E501
225-
226-
227-
:return: The destination_group_type of this AddControlPolicyRequest. # noqa: E501
228-
:rtype: str
229-
"""
230-
return self._destination_group_type
231-
232-
@destination_group_type.setter
233-
def destination_group_type(self, destination_group_type):
234-
"""Sets the destination_group_type of this AddControlPolicyRequest.
235-
236-
237-
:param destination_group_type: The destination_group_type of this AddControlPolicyRequest. # noqa: E501
238-
:type: str
239-
"""
240-
241-
self._destination_group_type = destination_group_type
242-
243212
@property
244213
def destination_type(self):
245214
"""Gets the destination_type of this AddControlPolicyRequest. # noqa: E501
@@ -353,27 +322,6 @@ def source(self, source):
353322

354323
self._source = source
355324

356-
@property
357-
def source_group_type(self):
358-
"""Gets the source_group_type of this AddControlPolicyRequest. # noqa: E501
359-
360-
361-
:return: The source_group_type of this AddControlPolicyRequest. # noqa: E501
362-
:rtype: str
363-
"""
364-
return self._source_group_type
365-
366-
@source_group_type.setter
367-
def source_group_type(self, source_group_type):
368-
"""Sets the source_group_type of this AddControlPolicyRequest.
369-
370-
371-
:param source_group_type: The source_group_type of this AddControlPolicyRequest. # noqa: E501
372-
:type: str
373-
"""
374-
375-
self._source_group_type = source_group_type
376-
377325
@property
378326
def source_type(self):
379327
"""Gets the source_type of this AddControlPolicyRequest. # noqa: E501

volcenginesdkfwcenter/models/add_vpc_firewall_acl_rule_request.py

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,10 @@ class AddVpcFirewallAclRuleRequest(object):
3838
'dest_port': 'str',
3939
'dest_port_type': 'str',
4040
'destination': 'str',
41-
'destination_group_type': 'str',
4241
'destination_type': 'str',
4342
'prio': 'int',
4443
'proto': 'str',
4544
'source': 'str',
46-
'source_group_type': 'str',
4745
'source_type': 'str',
4846
'status': 'bool',
4947
'vpc_firewall_id': 'str'
@@ -55,18 +53,16 @@ class AddVpcFirewallAclRuleRequest(object):
5553
'dest_port': 'DestPort',
5654
'dest_port_type': 'DestPortType',
5755
'destination': 'Destination',
58-
'destination_group_type': 'DestinationGroupType',
5956
'destination_type': 'DestinationType',
6057
'prio': 'Prio',
6158
'proto': 'Proto',
6259
'source': 'Source',
63-
'source_group_type': 'SourceGroupType',
6460
'source_type': 'SourceType',
6561
'status': 'Status',
6662
'vpc_firewall_id': 'VpcFirewallId'
6763
}
6864

69-
def __init__(self, action=None, description=None, dest_port=None, dest_port_type=None, destination=None, destination_group_type=None, destination_type=None, prio=None, proto=None, source=None, source_group_type=None, source_type=None, status=None, vpc_firewall_id=None, _configuration=None): # noqa: E501
65+
def __init__(self, action=None, description=None, dest_port=None, dest_port_type=None, destination=None, destination_type=None, prio=None, proto=None, source=None, source_type=None, status=None, vpc_firewall_id=None, _configuration=None): # noqa: E501
7066
"""AddVpcFirewallAclRuleRequest - a model defined in Swagger""" # noqa: E501
7167
if _configuration is None:
7268
_configuration = Configuration()
@@ -77,12 +73,10 @@ def __init__(self, action=None, description=None, dest_port=None, dest_port_type
7773
self._dest_port = None
7874
self._dest_port_type = None
7975
self._destination = None
80-
self._destination_group_type = None
8176
self._destination_type = None
8277
self._prio = None
8378
self._proto = None
8479
self._source = None
85-
self._source_group_type = None
8680
self._source_type = None
8781
self._status = None
8882
self._vpc_firewall_id = None
@@ -96,15 +90,11 @@ def __init__(self, action=None, description=None, dest_port=None, dest_port_type
9690
if dest_port_type is not None:
9791
self.dest_port_type = dest_port_type
9892
self.destination = destination
99-
if destination_group_type is not None:
100-
self.destination_group_type = destination_group_type
10193
self.destination_type = destination_type
10294
if prio is not None:
10395
self.prio = prio
10496
self.proto = proto
10597
self.source = source
106-
if source_group_type is not None:
107-
self.source_group_type = source_group_type
10898
self.source_type = source_type
10999
if status is not None:
110100
self.status = status
@@ -219,27 +209,6 @@ def destination(self, destination):
219209

220210
self._destination = destination
221211

222-
@property
223-
def destination_group_type(self):
224-
"""Gets the destination_group_type of this AddVpcFirewallAclRuleRequest. # noqa: E501
225-
226-
227-
:return: The destination_group_type of this AddVpcFirewallAclRuleRequest. # noqa: E501
228-
:rtype: str
229-
"""
230-
return self._destination_group_type
231-
232-
@destination_group_type.setter
233-
def destination_group_type(self, destination_group_type):
234-
"""Sets the destination_group_type of this AddVpcFirewallAclRuleRequest.
235-
236-
237-
:param destination_group_type: The destination_group_type of this AddVpcFirewallAclRuleRequest. # noqa: E501
238-
:type: str
239-
"""
240-
241-
self._destination_group_type = destination_group_type
242-
243212
@property
244213
def destination_type(self):
245214
"""Gets the destination_type of this AddVpcFirewallAclRuleRequest. # noqa: E501
@@ -330,27 +299,6 @@ def source(self, source):
330299

331300
self._source = source
332301

333-
@property
334-
def source_group_type(self):
335-
"""Gets the source_group_type of this AddVpcFirewallAclRuleRequest. # noqa: E501
336-
337-
338-
:return: The source_group_type of this AddVpcFirewallAclRuleRequest. # noqa: E501
339-
:rtype: str
340-
"""
341-
return self._source_group_type
342-
343-
@source_group_type.setter
344-
def source_group_type(self, source_group_type):
345-
"""Sets the source_group_type of this AddVpcFirewallAclRuleRequest.
346-
347-
348-
:param source_group_type: The source_group_type of this AddVpcFirewallAclRuleRequest. # noqa: E501
349-
:type: str
350-
"""
351-
352-
self._source_group_type = source_group_type
353-
354302
@property
355303
def source_type(self):
356304
"""Gets the source_type of this AddVpcFirewallAclRuleRequest. # noqa: E501

volcenginesdkfwcenter/models/asset_list_response.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class AssetListResponse(object):
3434
"""
3535
swagger_types = {
3636
'count': 'int',
37-
'data': 'list[DatumForAssetListOutput]',
37+
'data': 'list[DataForAssetListOutput]',
3838
'page_number': 'int',
3939
'page_size': 'int',
4040
'total_count': 'int'
@@ -99,7 +99,7 @@ def data(self):
9999
100100
101101
:return: The data of this AssetListResponse. # noqa: E501
102-
:rtype: list[DatumForAssetListOutput]
102+
:rtype: list[DataForAssetListOutput]
103103
"""
104104
return self._data
105105

@@ -109,7 +109,7 @@ def data(self, data):
109109
110110
111111
:param data: The data of this AssetListResponse. # noqa: E501
112-
:type: list[DatumForAssetListOutput]
112+
:type: list[DataForAssetListOutput]
113113
"""
114114

115115
self._data = data

0 commit comments

Comments
 (0)