byteplus-python-sdk-v2 3.0.44__py2.py3-none-any.whl → 3.0.46__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {byteplus_python_sdk_v2-3.0.44.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/METADATA +1 -1
- {byteplus_python_sdk_v2-3.0.44.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/RECORD +211 -25
- {byteplus_python_sdk_v2-3.0.44.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/top_level.txt +2 -0
- byteplussdkbilling/models/list_for_list_amortized_cost_bill_daily_output.py +27 -1
- byteplussdkbilling/models/list_for_list_amortized_cost_bill_detail_output.py +53 -1
- byteplussdkbilling/models/list_for_list_amortized_cost_bill_monthly_output.py +53 -1
- byteplussdkbilling/models/list_for_list_bill_detail_output.py +79 -1
- byteplussdkbilling/models/list_for_list_coupons_output.py +29 -3
- byteplussdkbilling/models/list_for_list_split_bill_detail_output.py +79 -1
- byteplussdkcore/api_client.py +1 -1
- byteplussdkcore/configuration.py +1 -1
- byteplussdkcore/endpoint/providers/default_provider.py +14 -0
- byteplussdkcore/endpoint/providers/standard_provider.py +1 -0
- byteplussdkcore/feature/__init__.py +6 -0
- byteplussdkcore/feature/rds/__init__.py +4 -0
- byteplussdkcore/feature/rds/connect_utils.py +88 -0
- byteplussdkcore/interceptor/interceptors/request.py +4 -0
- byteplussdkcore/interceptor/interceptors/resolve_endpoint_interceptor.py +8 -1
- byteplussdkcore/interceptor/interceptors/sign_request_interceptor.py +25 -13
- byteplussdkcore/signv4.py +86 -0
- byteplussdkcpaas/__init__.py +56 -0
- byteplussdkcpaas/api/__init__.py +6 -0
- byteplussdkcpaas/api/cpaas_api.py +519 -0
- byteplussdkcpaas/models/__init__.py +52 -0
- byteplussdkcpaas/models/action_for_create_template_v2_input.py +201 -0
- byteplussdkcpaas/models/action_for_get_template_v2_output.py +201 -0
- byteplussdkcpaas/models/create_template_v2_request.py +306 -0
- byteplussdkcpaas/models/create_template_v2_response.py +175 -0
- byteplussdkcpaas/models/data_for_create_template_v2_output.py +149 -0
- byteplussdkcpaas/models/data_for_get_template_v2_output.py +253 -0
- byteplussdkcpaas/models/data_for_list_template_v2_output.py +305 -0
- byteplussdkcpaas/models/data_for_send_batch_message_output.py +123 -0
- byteplussdkcpaas/models/data_for_send_message_output.py +123 -0
- byteplussdkcpaas/models/element_style_for_create_template_v2_input.py +305 -0
- byteplussdkcpaas/models/element_style_for_get_template_v2_output.py +305 -0
- byteplussdkcpaas/models/extend_attrs_for_create_template_v2_input.py +227 -0
- byteplussdkcpaas/models/extend_attrs_for_get_template_v2_output.py +227 -0
- byteplussdkcpaas/models/get_template_v2_request.py +150 -0
- byteplussdkcpaas/models/get_template_v2_response.py +201 -0
- byteplussdkcpaas/models/list_template_v2_request.py +255 -0
- byteplussdkcpaas/models/list_template_v2_response.py +201 -0
- byteplussdkcpaas/models/page_dto_list_for_create_template_v2_input.py +175 -0
- byteplussdkcpaas/models/page_dto_list_for_get_template_v2_output.py +175 -0
- byteplussdkcpaas/models/page_element_dto_list_for_create_template_v2_input.py +149 -0
- byteplussdkcpaas/models/page_element_dto_list_for_get_template_v2_output.py +149 -0
- byteplussdkcpaas/models/page_link_list_for_create_template_v2_input.py +227 -0
- byteplussdkcpaas/models/page_link_list_for_get_template_v2_output.py +227 -0
- byteplussdkcpaas/models/priority_for_send_batch_message_input.py +279 -0
- byteplussdkcpaas/models/priority_for_send_message_input.py +279 -0
- byteplussdkcpaas/models/receiver_for_send_batch_message_input.py +149 -0
- byteplussdkcpaas/models/send_batch_message_request.py +281 -0
- byteplussdkcpaas/models/send_batch_message_response.py +175 -0
- byteplussdkcpaas/models/send_message_request.py +281 -0
- byteplussdkcpaas/models/send_message_response.py +175 -0
- byteplussdkcpaas/models/template_list_for_create_template_v2_input.py +305 -0
- byteplussdkcpaas/models/template_list_for_get_template_v2_output.py +305 -0
- byteplussdkcpaas/models/template_status_for_list_template_v2_output.py +175 -0
- byteplussdkcpaas/models/variables_dto_list_for_create_template_v2_input.py +227 -0
- byteplussdkcpaas/models/variables_dto_list_for_get_template_v2_output.py +227 -0
- byteplussdkrdsmssql/__init__.py +13 -1
- byteplussdkrdsmssql/api/rds_mssql_api.py +485 -0
- byteplussdkrdsmssql/models/__init__.py +13 -1
- byteplussdkrdsmssql/models/db_status_for_describe_db_instance_tde_output.py +149 -0
- byteplussdkrdsmssql/models/db_status_for_modify_db_instance_tde_input.py +149 -0
- byteplussdkrdsmssql/models/describe_db_instance_specs_response.py +17 -17
- byteplussdkrdsmssql/models/describe_db_instance_ssl_request.py +124 -0
- byteplussdkrdsmssql/models/describe_db_instance_ssl_response.py +331 -0
- byteplussdkrdsmssql/models/describe_db_instance_tde_request.py +124 -0
- byteplussdkrdsmssql/models/describe_db_instance_tde_response.py +201 -0
- byteplussdkrdsmssql/models/download_ssl_certificate_request.py +124 -0
- byteplussdkrdsmssql/models/download_ssl_certificate_response.py +123 -0
- byteplussdkrdsmssql/models/{instance_spec_info_for_describe_db_instance_specs_output.py → instance_specs_info_for_describe_db_instance_specs_output.py} +45 -45
- byteplussdkrdsmssql/models/modify_db_instance_ssl_request.py +229 -0
- byteplussdkrdsmssql/models/modify_db_instance_ssl_response.py +95 -0
- byteplussdkrdsmssql/models/modify_db_instance_tde_request.py +296 -0
- byteplussdkrdsmssql/models/modify_db_instance_tde_response.py +95 -0
- byteplussdkvpc20250901/__init__.py +149 -0
- byteplussdkvpc20250901/api/__init__.py +6 -0
- byteplussdkvpc20250901/api/vpc20250901_api.py +4399 -0
- byteplussdkvpc20250901/models/__init__.py +145 -0
- byteplussdkvpc20250901/models/assign_private_ip_addresses_request.py +202 -0
- byteplussdkvpc20250901/models/assign_private_ip_addresses_response.py +201 -0
- byteplussdkvpc20250901/models/associate_route_table_request.py +176 -0
- byteplussdkvpc20250901/models/associate_route_table_response.py +149 -0
- byteplussdkvpc20250901/models/associate_vpc_cidr_block_request.py +150 -0
- byteplussdkvpc20250901/models/associate_vpc_cidr_block_response.py +201 -0
- byteplussdkvpc20250901/models/associated_elastic_ip_for_describe_network_interface_attributes_output.py +175 -0
- byteplussdkvpc20250901/models/associated_elastic_ip_for_describe_network_interfaces_output.py +175 -0
- byteplussdkvpc20250901/models/attach_network_interface_request.py +151 -0
- byteplussdkvpc20250901/models/attach_network_interface_response.py +149 -0
- byteplussdkvpc20250901/models/attachment_for_describe_network_interfaces_output.py +149 -0
- byteplussdkvpc20250901/models/authorize_security_group_egress_request.py +309 -0
- byteplussdkvpc20250901/models/authorize_security_group_egress_response.py +149 -0
- byteplussdkvpc20250901/models/authorize_security_group_ingress_request.py +309 -0
- byteplussdkvpc20250901/models/authorize_security_group_ingress_response.py +149 -0
- byteplussdkvpc20250901/models/create_network_interface_request.py +396 -0
- byteplussdkvpc20250901/models/create_network_interface_response.py +175 -0
- byteplussdkvpc20250901/models/create_route_entry_request.py +294 -0
- byteplussdkvpc20250901/models/create_route_entry_response.py +175 -0
- byteplussdkvpc20250901/models/create_route_table_request.py +266 -0
- byteplussdkvpc20250901/models/create_route_table_response.py +175 -0
- byteplussdkvpc20250901/models/create_security_group_request.py +254 -0
- byteplussdkvpc20250901/models/create_security_group_response.py +175 -0
- byteplussdkvpc20250901/models/create_subnet_request.py +294 -0
- byteplussdkvpc20250901/models/create_subnet_response.py +175 -0
- byteplussdkvpc20250901/models/create_vpc_request.py +292 -0
- byteplussdkvpc20250901/models/create_vpc_response.py +201 -0
- byteplussdkvpc20250901/models/delete_network_interface_request.py +124 -0
- byteplussdkvpc20250901/models/delete_network_interface_response.py +149 -0
- byteplussdkvpc20250901/models/delete_route_entry_request.py +124 -0
- byteplussdkvpc20250901/models/delete_route_entry_response.py +149 -0
- byteplussdkvpc20250901/models/delete_route_table_request.py +124 -0
- byteplussdkvpc20250901/models/delete_route_table_response.py +149 -0
- byteplussdkvpc20250901/models/delete_security_group_request.py +124 -0
- byteplussdkvpc20250901/models/delete_security_group_response.py +149 -0
- byteplussdkvpc20250901/models/delete_subnet_request.py +124 -0
- byteplussdkvpc20250901/models/delete_subnet_response.py +149 -0
- byteplussdkvpc20250901/models/delete_vpc_request.py +124 -0
- byteplussdkvpc20250901/models/delete_vpc_response.py +149 -0
- byteplussdkvpc20250901/models/describe_network_interface_attributes_request.py +124 -0
- byteplussdkvpc20250901/models/describe_network_interface_attributes_response.py +695 -0
- byteplussdkvpc20250901/models/describe_network_interfaces_request.py +548 -0
- byteplussdkvpc20250901/models/describe_network_interfaces_response.py +253 -0
- byteplussdkvpc20250901/models/describe_route_entry_list_request.py +393 -0
- byteplussdkvpc20250901/models/describe_route_entry_list_response.py +253 -0
- byteplussdkvpc20250901/models/describe_route_table_list_request.py +334 -0
- byteplussdkvpc20250901/models/describe_route_table_list_response.py +253 -0
- byteplussdkvpc20250901/models/describe_security_group_attributes_request.py +228 -0
- byteplussdkvpc20250901/models/describe_security_group_attributes_response.py +461 -0
- byteplussdkvpc20250901/models/describe_security_groups_request.py +340 -0
- byteplussdkvpc20250901/models/describe_security_groups_response.py +253 -0
- byteplussdkvpc20250901/models/describe_subnet_attributes_request.py +124 -0
- byteplussdkvpc20250901/models/describe_subnet_attributes_response.py +539 -0
- byteplussdkvpc20250901/models/describe_subnets_request.py +438 -0
- byteplussdkvpc20250901/models/describe_subnets_response.py +253 -0
- byteplussdkvpc20250901/models/describe_vpc_attributes_request.py +124 -0
- byteplussdkvpc20250901/models/describe_vpc_attributes_response.py +565 -0
- byteplussdkvpc20250901/models/describe_vpcs_request.py +366 -0
- byteplussdkvpc20250901/models/describe_vpcs_response.py +253 -0
- byteplussdkvpc20250901/models/detach_network_interface_request.py +151 -0
- byteplussdkvpc20250901/models/detach_network_interface_response.py +149 -0
- byteplussdkvpc20250901/models/disassociate_route_table_request.py +176 -0
- byteplussdkvpc20250901/models/disassociate_route_table_response.py +149 -0
- byteplussdkvpc20250901/models/disassociate_vpc_cidr_block_request.py +150 -0
- byteplussdkvpc20250901/models/disassociate_vpc_cidr_block_response.py +149 -0
- byteplussdkvpc20250901/models/list_tags_for_resources_request.py +264 -0
- byteplussdkvpc20250901/models/list_tags_for_resources_response.py +175 -0
- byteplussdkvpc20250901/models/modify_network_interface_attributes_request.py +266 -0
- byteplussdkvpc20250901/models/modify_network_interface_attributes_response.py +149 -0
- byteplussdkvpc20250901/models/modify_route_entry_request.py +188 -0
- byteplussdkvpc20250901/models/modify_route_entry_response.py +123 -0
- byteplussdkvpc20250901/models/modify_route_table_attributes_request.py +188 -0
- byteplussdkvpc20250901/models/modify_route_table_attributes_response.py +123 -0
- byteplussdkvpc20250901/models/modify_security_group_attributes_request.py +176 -0
- byteplussdkvpc20250901/models/modify_security_group_attributes_response.py +123 -0
- byteplussdkvpc20250901/models/modify_security_group_rule_descriptions_egress_request.py +283 -0
- byteplussdkvpc20250901/models/modify_security_group_rule_descriptions_egress_response.py +123 -0
- byteplussdkvpc20250901/models/modify_security_group_rule_descriptions_ingress_request.py +283 -0
- byteplussdkvpc20250901/models/modify_security_group_rule_descriptions_ingress_response.py +123 -0
- byteplussdkvpc20250901/models/modify_subnet_attributes_request.py +188 -0
- byteplussdkvpc20250901/models/modify_subnet_attributes_response.py +149 -0
- byteplussdkvpc20250901/models/modify_vpc_attributes_request.py +214 -0
- byteplussdkvpc20250901/models/modify_vpc_attributes_response.py +149 -0
- byteplussdkvpc20250901/models/network_interface_set_for_describe_network_interfaces_output.py +695 -0
- byteplussdkvpc20250901/models/permission_for_describe_security_group_attributes_output.py +331 -0
- byteplussdkvpc20250901/models/private_ip_set_for_describe_network_interface_attributes_output.py +175 -0
- byteplussdkvpc20250901/models/private_ip_set_for_describe_network_interfaces_output.py +175 -0
- byteplussdkvpc20250901/models/private_ip_sets_for_describe_network_interface_attributes_output.py +123 -0
- byteplussdkvpc20250901/models/private_ip_sets_for_describe_network_interfaces_output.py +123 -0
- byteplussdkvpc20250901/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
- byteplussdkvpc20250901/models/revoke_security_group_egress_request.py +283 -0
- byteplussdkvpc20250901/models/revoke_security_group_egress_response.py +149 -0
- byteplussdkvpc20250901/models/revoke_security_group_ingress_request.py +283 -0
- byteplussdkvpc20250901/models/revoke_security_group_ingress_response.py +149 -0
- byteplussdkvpc20250901/models/route_entry_for_describe_route_entry_list_output.py +357 -0
- byteplussdkvpc20250901/models/route_table_for_describe_subnet_attributes_output.py +149 -0
- byteplussdkvpc20250901/models/route_table_for_describe_subnets_output.py +149 -0
- byteplussdkvpc20250901/models/router_table_list_for_describe_route_table_list_output.py +435 -0
- byteplussdkvpc20250901/models/security_group_for_describe_security_groups_output.py +383 -0
- byteplussdkvpc20250901/models/subnet_for_describe_subnets_output.py +513 -0
- byteplussdkvpc20250901/models/tag_filter_for_describe_network_interfaces_input.py +149 -0
- byteplussdkvpc20250901/models/tag_filter_for_describe_route_table_list_input.py +149 -0
- byteplussdkvpc20250901/models/tag_filter_for_describe_security_groups_input.py +149 -0
- byteplussdkvpc20250901/models/tag_filter_for_describe_subnets_input.py +149 -0
- byteplussdkvpc20250901/models/tag_filter_for_describe_vpcs_input.py +149 -0
- byteplussdkvpc20250901/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- byteplussdkvpc20250901/models/tag_for_create_network_interface_input.py +149 -0
- byteplussdkvpc20250901/models/tag_for_create_route_table_input.py +149 -0
- byteplussdkvpc20250901/models/tag_for_create_security_group_input.py +149 -0
- byteplussdkvpc20250901/models/tag_for_create_subnet_input.py +149 -0
- byteplussdkvpc20250901/models/tag_for_create_vpc_input.py +149 -0
- byteplussdkvpc20250901/models/tag_for_describe_network_interface_attributes_output.py +149 -0
- byteplussdkvpc20250901/models/tag_for_describe_network_interfaces_output.py +149 -0
- byteplussdkvpc20250901/models/tag_for_describe_route_table_list_output.py +149 -0
- byteplussdkvpc20250901/models/tag_for_describe_security_group_attributes_output.py +149 -0
- byteplussdkvpc20250901/models/tag_for_describe_security_groups_output.py +149 -0
- byteplussdkvpc20250901/models/tag_for_describe_subnet_attributes_output.py +149 -0
- byteplussdkvpc20250901/models/tag_for_describe_subnets_output.py +149 -0
- byteplussdkvpc20250901/models/tag_for_describe_vpc_attributes_output.py +149 -0
- byteplussdkvpc20250901/models/tag_for_describe_vpcs_output.py +149 -0
- byteplussdkvpc20250901/models/tag_for_tag_resources_input.py +150 -0
- byteplussdkvpc20250901/models/tag_resources_request.py +183 -0
- byteplussdkvpc20250901/models/tag_resources_response.py +123 -0
- byteplussdkvpc20250901/models/unassign_private_ip_addresses_request.py +150 -0
- byteplussdkvpc20250901/models/unassign_private_ip_addresses_response.py +149 -0
- byteplussdkvpc20250901/models/untag_resources_request.py +183 -0
- byteplussdkvpc20250901/models/untag_resources_response.py +123 -0
- byteplussdkvpc20250901/models/vpc_for_describe_vpcs_output.py +539 -0
- {byteplus_python_sdk_v2-3.0.44.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/WHEEL +0 -0
- {byteplus_python_sdk_v2-3.0.44.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/licenses/LICENSE.txt +0 -0
- {byteplus_python_sdk_v2-3.0.44.dist-info → byteplus_python_sdk_v2-3.0.46.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,548 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
vpc20250901
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DescribeNetworkInterfacesRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'instance_id': 'str',
|
|
37
|
+
'max_results': 'int',
|
|
38
|
+
'network_interface_ids': 'list[str]',
|
|
39
|
+
'network_interface_name': 'str',
|
|
40
|
+
'next_token': 'str',
|
|
41
|
+
'page_number': 'int',
|
|
42
|
+
'page_size': 'int',
|
|
43
|
+
'primary_ip_addresses': 'list[str]',
|
|
44
|
+
'private_ip_addresses': 'list[str]',
|
|
45
|
+
'project_name': 'str',
|
|
46
|
+
'security_group_id': 'str',
|
|
47
|
+
'status': 'str',
|
|
48
|
+
'subnet_id': 'str',
|
|
49
|
+
'tag_filters': 'list[TagFilterForDescribeNetworkInterfacesInput]',
|
|
50
|
+
'type': 'str',
|
|
51
|
+
'vpc_id': 'str',
|
|
52
|
+
'zone_id': 'str'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
attribute_map = {
|
|
56
|
+
'instance_id': 'InstanceId',
|
|
57
|
+
'max_results': 'MaxResults',
|
|
58
|
+
'network_interface_ids': 'NetworkInterfaceIds',
|
|
59
|
+
'network_interface_name': 'NetworkInterfaceName',
|
|
60
|
+
'next_token': 'NextToken',
|
|
61
|
+
'page_number': 'PageNumber',
|
|
62
|
+
'page_size': 'PageSize',
|
|
63
|
+
'primary_ip_addresses': 'PrimaryIpAddresses',
|
|
64
|
+
'private_ip_addresses': 'PrivateIpAddresses',
|
|
65
|
+
'project_name': 'ProjectName',
|
|
66
|
+
'security_group_id': 'SecurityGroupId',
|
|
67
|
+
'status': 'Status',
|
|
68
|
+
'subnet_id': 'SubnetId',
|
|
69
|
+
'tag_filters': 'TagFilters',
|
|
70
|
+
'type': 'Type',
|
|
71
|
+
'vpc_id': 'VpcId',
|
|
72
|
+
'zone_id': 'ZoneId'
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
def __init__(self, instance_id=None, max_results=None, network_interface_ids=None, network_interface_name=None, next_token=None, page_number=None, page_size=None, primary_ip_addresses=None, private_ip_addresses=None, project_name=None, security_group_id=None, status=None, subnet_id=None, tag_filters=None, type=None, vpc_id=None, zone_id=None, _configuration=None): # noqa: E501
|
|
76
|
+
"""DescribeNetworkInterfacesRequest - a model defined in Swagger""" # noqa: E501
|
|
77
|
+
if _configuration is None:
|
|
78
|
+
_configuration = Configuration()
|
|
79
|
+
self._configuration = _configuration
|
|
80
|
+
|
|
81
|
+
self._instance_id = None
|
|
82
|
+
self._max_results = None
|
|
83
|
+
self._network_interface_ids = None
|
|
84
|
+
self._network_interface_name = None
|
|
85
|
+
self._next_token = None
|
|
86
|
+
self._page_number = None
|
|
87
|
+
self._page_size = None
|
|
88
|
+
self._primary_ip_addresses = None
|
|
89
|
+
self._private_ip_addresses = None
|
|
90
|
+
self._project_name = None
|
|
91
|
+
self._security_group_id = None
|
|
92
|
+
self._status = None
|
|
93
|
+
self._subnet_id = None
|
|
94
|
+
self._tag_filters = None
|
|
95
|
+
self._type = None
|
|
96
|
+
self._vpc_id = None
|
|
97
|
+
self._zone_id = None
|
|
98
|
+
self.discriminator = None
|
|
99
|
+
|
|
100
|
+
if instance_id is not None:
|
|
101
|
+
self.instance_id = instance_id
|
|
102
|
+
if max_results is not None:
|
|
103
|
+
self.max_results = max_results
|
|
104
|
+
if network_interface_ids is not None:
|
|
105
|
+
self.network_interface_ids = network_interface_ids
|
|
106
|
+
if network_interface_name is not None:
|
|
107
|
+
self.network_interface_name = network_interface_name
|
|
108
|
+
if next_token is not None:
|
|
109
|
+
self.next_token = next_token
|
|
110
|
+
if page_number is not None:
|
|
111
|
+
self.page_number = page_number
|
|
112
|
+
if page_size is not None:
|
|
113
|
+
self.page_size = page_size
|
|
114
|
+
if primary_ip_addresses is not None:
|
|
115
|
+
self.primary_ip_addresses = primary_ip_addresses
|
|
116
|
+
if private_ip_addresses is not None:
|
|
117
|
+
self.private_ip_addresses = private_ip_addresses
|
|
118
|
+
if project_name is not None:
|
|
119
|
+
self.project_name = project_name
|
|
120
|
+
if security_group_id is not None:
|
|
121
|
+
self.security_group_id = security_group_id
|
|
122
|
+
if status is not None:
|
|
123
|
+
self.status = status
|
|
124
|
+
if subnet_id is not None:
|
|
125
|
+
self.subnet_id = subnet_id
|
|
126
|
+
if tag_filters is not None:
|
|
127
|
+
self.tag_filters = tag_filters
|
|
128
|
+
if type is not None:
|
|
129
|
+
self.type = type
|
|
130
|
+
if vpc_id is not None:
|
|
131
|
+
self.vpc_id = vpc_id
|
|
132
|
+
if zone_id is not None:
|
|
133
|
+
self.zone_id = zone_id
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def instance_id(self):
|
|
137
|
+
"""Gets the instance_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
:return: The instance_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
141
|
+
:rtype: str
|
|
142
|
+
"""
|
|
143
|
+
return self._instance_id
|
|
144
|
+
|
|
145
|
+
@instance_id.setter
|
|
146
|
+
def instance_id(self, instance_id):
|
|
147
|
+
"""Sets the instance_id of this DescribeNetworkInterfacesRequest.
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
:param instance_id: The instance_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
151
|
+
:type: str
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
self._instance_id = instance_id
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
def max_results(self):
|
|
158
|
+
"""Gets the max_results of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
:return: The max_results of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
162
|
+
:rtype: int
|
|
163
|
+
"""
|
|
164
|
+
return self._max_results
|
|
165
|
+
|
|
166
|
+
@max_results.setter
|
|
167
|
+
def max_results(self, max_results):
|
|
168
|
+
"""Sets the max_results of this DescribeNetworkInterfacesRequest.
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
:param max_results: The max_results of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
172
|
+
:type: int
|
|
173
|
+
"""
|
|
174
|
+
if (self._configuration.client_side_validation and
|
|
175
|
+
max_results is not None and max_results > 100): # noqa: E501
|
|
176
|
+
raise ValueError("Invalid value for `max_results`, must be a value less than or equal to `100`") # noqa: E501
|
|
177
|
+
if (self._configuration.client_side_validation and
|
|
178
|
+
max_results is not None and max_results < 1): # noqa: E501
|
|
179
|
+
raise ValueError("Invalid value for `max_results`, must be a value greater than or equal to `1`") # noqa: E501
|
|
180
|
+
|
|
181
|
+
self._max_results = max_results
|
|
182
|
+
|
|
183
|
+
@property
|
|
184
|
+
def network_interface_ids(self):
|
|
185
|
+
"""Gets the network_interface_ids of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
:return: The network_interface_ids of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
189
|
+
:rtype: list[str]
|
|
190
|
+
"""
|
|
191
|
+
return self._network_interface_ids
|
|
192
|
+
|
|
193
|
+
@network_interface_ids.setter
|
|
194
|
+
def network_interface_ids(self, network_interface_ids):
|
|
195
|
+
"""Sets the network_interface_ids of this DescribeNetworkInterfacesRequest.
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
:param network_interface_ids: The network_interface_ids of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
199
|
+
:type: list[str]
|
|
200
|
+
"""
|
|
201
|
+
|
|
202
|
+
self._network_interface_ids = network_interface_ids
|
|
203
|
+
|
|
204
|
+
@property
|
|
205
|
+
def network_interface_name(self):
|
|
206
|
+
"""Gets the network_interface_name of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
:return: The network_interface_name of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
210
|
+
:rtype: str
|
|
211
|
+
"""
|
|
212
|
+
return self._network_interface_name
|
|
213
|
+
|
|
214
|
+
@network_interface_name.setter
|
|
215
|
+
def network_interface_name(self, network_interface_name):
|
|
216
|
+
"""Sets the network_interface_name of this DescribeNetworkInterfacesRequest.
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
:param network_interface_name: The network_interface_name of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
220
|
+
:type: str
|
|
221
|
+
"""
|
|
222
|
+
|
|
223
|
+
self._network_interface_name = network_interface_name
|
|
224
|
+
|
|
225
|
+
@property
|
|
226
|
+
def next_token(self):
|
|
227
|
+
"""Gets the next_token of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
:return: The next_token of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
231
|
+
:rtype: str
|
|
232
|
+
"""
|
|
233
|
+
return self._next_token
|
|
234
|
+
|
|
235
|
+
@next_token.setter
|
|
236
|
+
def next_token(self, next_token):
|
|
237
|
+
"""Sets the next_token of this DescribeNetworkInterfacesRequest.
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
:param next_token: The next_token of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
241
|
+
:type: str
|
|
242
|
+
"""
|
|
243
|
+
|
|
244
|
+
self._next_token = next_token
|
|
245
|
+
|
|
246
|
+
@property
|
|
247
|
+
def page_number(self):
|
|
248
|
+
"""Gets the page_number of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
:return: The page_number of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
252
|
+
:rtype: int
|
|
253
|
+
"""
|
|
254
|
+
return self._page_number
|
|
255
|
+
|
|
256
|
+
@page_number.setter
|
|
257
|
+
def page_number(self, page_number):
|
|
258
|
+
"""Sets the page_number of this DescribeNetworkInterfacesRequest.
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
:param page_number: The page_number of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
262
|
+
:type: int
|
|
263
|
+
"""
|
|
264
|
+
|
|
265
|
+
self._page_number = page_number
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
def page_size(self):
|
|
269
|
+
"""Gets the page_size of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
:return: The page_size of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
273
|
+
:rtype: int
|
|
274
|
+
"""
|
|
275
|
+
return self._page_size
|
|
276
|
+
|
|
277
|
+
@page_size.setter
|
|
278
|
+
def page_size(self, page_size):
|
|
279
|
+
"""Sets the page_size of this DescribeNetworkInterfacesRequest.
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
:param page_size: The page_size of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
283
|
+
:type: int
|
|
284
|
+
"""
|
|
285
|
+
if (self._configuration.client_side_validation and
|
|
286
|
+
page_size is not None and page_size > 100): # noqa: E501
|
|
287
|
+
raise ValueError("Invalid value for `page_size`, must be a value less than or equal to `100`") # noqa: E501
|
|
288
|
+
|
|
289
|
+
self._page_size = page_size
|
|
290
|
+
|
|
291
|
+
@property
|
|
292
|
+
def primary_ip_addresses(self):
|
|
293
|
+
"""Gets the primary_ip_addresses of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
:return: The primary_ip_addresses of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
297
|
+
:rtype: list[str]
|
|
298
|
+
"""
|
|
299
|
+
return self._primary_ip_addresses
|
|
300
|
+
|
|
301
|
+
@primary_ip_addresses.setter
|
|
302
|
+
def primary_ip_addresses(self, primary_ip_addresses):
|
|
303
|
+
"""Sets the primary_ip_addresses of this DescribeNetworkInterfacesRequest.
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
:param primary_ip_addresses: The primary_ip_addresses of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
307
|
+
:type: list[str]
|
|
308
|
+
"""
|
|
309
|
+
|
|
310
|
+
self._primary_ip_addresses = primary_ip_addresses
|
|
311
|
+
|
|
312
|
+
@property
|
|
313
|
+
def private_ip_addresses(self):
|
|
314
|
+
"""Gets the private_ip_addresses of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
:return: The private_ip_addresses of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
318
|
+
:rtype: list[str]
|
|
319
|
+
"""
|
|
320
|
+
return self._private_ip_addresses
|
|
321
|
+
|
|
322
|
+
@private_ip_addresses.setter
|
|
323
|
+
def private_ip_addresses(self, private_ip_addresses):
|
|
324
|
+
"""Sets the private_ip_addresses of this DescribeNetworkInterfacesRequest.
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
:param private_ip_addresses: The private_ip_addresses of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
328
|
+
:type: list[str]
|
|
329
|
+
"""
|
|
330
|
+
|
|
331
|
+
self._private_ip_addresses = private_ip_addresses
|
|
332
|
+
|
|
333
|
+
@property
|
|
334
|
+
def project_name(self):
|
|
335
|
+
"""Gets the project_name of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
:return: The project_name of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
339
|
+
:rtype: str
|
|
340
|
+
"""
|
|
341
|
+
return self._project_name
|
|
342
|
+
|
|
343
|
+
@project_name.setter
|
|
344
|
+
def project_name(self, project_name):
|
|
345
|
+
"""Sets the project_name of this DescribeNetworkInterfacesRequest.
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
:param project_name: The project_name of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
349
|
+
:type: str
|
|
350
|
+
"""
|
|
351
|
+
|
|
352
|
+
self._project_name = project_name
|
|
353
|
+
|
|
354
|
+
@property
|
|
355
|
+
def security_group_id(self):
|
|
356
|
+
"""Gets the security_group_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
:return: The security_group_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
360
|
+
:rtype: str
|
|
361
|
+
"""
|
|
362
|
+
return self._security_group_id
|
|
363
|
+
|
|
364
|
+
@security_group_id.setter
|
|
365
|
+
def security_group_id(self, security_group_id):
|
|
366
|
+
"""Sets the security_group_id of this DescribeNetworkInterfacesRequest.
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
:param security_group_id: The security_group_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
370
|
+
:type: str
|
|
371
|
+
"""
|
|
372
|
+
|
|
373
|
+
self._security_group_id = security_group_id
|
|
374
|
+
|
|
375
|
+
@property
|
|
376
|
+
def status(self):
|
|
377
|
+
"""Gets the status of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
:return: The status of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
381
|
+
:rtype: str
|
|
382
|
+
"""
|
|
383
|
+
return self._status
|
|
384
|
+
|
|
385
|
+
@status.setter
|
|
386
|
+
def status(self, status):
|
|
387
|
+
"""Sets the status of this DescribeNetworkInterfacesRequest.
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
:param status: The status of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
391
|
+
:type: str
|
|
392
|
+
"""
|
|
393
|
+
|
|
394
|
+
self._status = status
|
|
395
|
+
|
|
396
|
+
@property
|
|
397
|
+
def subnet_id(self):
|
|
398
|
+
"""Gets the subnet_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
:return: The subnet_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
402
|
+
:rtype: str
|
|
403
|
+
"""
|
|
404
|
+
return self._subnet_id
|
|
405
|
+
|
|
406
|
+
@subnet_id.setter
|
|
407
|
+
def subnet_id(self, subnet_id):
|
|
408
|
+
"""Sets the subnet_id of this DescribeNetworkInterfacesRequest.
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
:param subnet_id: The subnet_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
412
|
+
:type: str
|
|
413
|
+
"""
|
|
414
|
+
|
|
415
|
+
self._subnet_id = subnet_id
|
|
416
|
+
|
|
417
|
+
@property
|
|
418
|
+
def tag_filters(self):
|
|
419
|
+
"""Gets the tag_filters of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
:return: The tag_filters of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
423
|
+
:rtype: list[TagFilterForDescribeNetworkInterfacesInput]
|
|
424
|
+
"""
|
|
425
|
+
return self._tag_filters
|
|
426
|
+
|
|
427
|
+
@tag_filters.setter
|
|
428
|
+
def tag_filters(self, tag_filters):
|
|
429
|
+
"""Sets the tag_filters of this DescribeNetworkInterfacesRequest.
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
:param tag_filters: The tag_filters of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
433
|
+
:type: list[TagFilterForDescribeNetworkInterfacesInput]
|
|
434
|
+
"""
|
|
435
|
+
|
|
436
|
+
self._tag_filters = tag_filters
|
|
437
|
+
|
|
438
|
+
@property
|
|
439
|
+
def type(self):
|
|
440
|
+
"""Gets the type of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
:return: The type of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
444
|
+
:rtype: str
|
|
445
|
+
"""
|
|
446
|
+
return self._type
|
|
447
|
+
|
|
448
|
+
@type.setter
|
|
449
|
+
def type(self, type):
|
|
450
|
+
"""Sets the type of this DescribeNetworkInterfacesRequest.
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
:param type: The type of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
454
|
+
:type: str
|
|
455
|
+
"""
|
|
456
|
+
|
|
457
|
+
self._type = type
|
|
458
|
+
|
|
459
|
+
@property
|
|
460
|
+
def vpc_id(self):
|
|
461
|
+
"""Gets the vpc_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
:return: The vpc_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
465
|
+
:rtype: str
|
|
466
|
+
"""
|
|
467
|
+
return self._vpc_id
|
|
468
|
+
|
|
469
|
+
@vpc_id.setter
|
|
470
|
+
def vpc_id(self, vpc_id):
|
|
471
|
+
"""Sets the vpc_id of this DescribeNetworkInterfacesRequest.
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
:param vpc_id: The vpc_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
475
|
+
:type: str
|
|
476
|
+
"""
|
|
477
|
+
|
|
478
|
+
self._vpc_id = vpc_id
|
|
479
|
+
|
|
480
|
+
@property
|
|
481
|
+
def zone_id(self):
|
|
482
|
+
"""Gets the zone_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
:return: The zone_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
486
|
+
:rtype: str
|
|
487
|
+
"""
|
|
488
|
+
return self._zone_id
|
|
489
|
+
|
|
490
|
+
@zone_id.setter
|
|
491
|
+
def zone_id(self, zone_id):
|
|
492
|
+
"""Sets the zone_id of this DescribeNetworkInterfacesRequest.
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
:param zone_id: The zone_id of this DescribeNetworkInterfacesRequest. # noqa: E501
|
|
496
|
+
:type: str
|
|
497
|
+
"""
|
|
498
|
+
|
|
499
|
+
self._zone_id = zone_id
|
|
500
|
+
|
|
501
|
+
def to_dict(self):
|
|
502
|
+
"""Returns the model properties as a dict"""
|
|
503
|
+
result = {}
|
|
504
|
+
|
|
505
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
506
|
+
value = getattr(self, attr)
|
|
507
|
+
if isinstance(value, list):
|
|
508
|
+
result[attr] = list(map(
|
|
509
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
510
|
+
value
|
|
511
|
+
))
|
|
512
|
+
elif hasattr(value, "to_dict"):
|
|
513
|
+
result[attr] = value.to_dict()
|
|
514
|
+
elif isinstance(value, dict):
|
|
515
|
+
result[attr] = dict(map(
|
|
516
|
+
lambda item: (item[0], item[1].to_dict())
|
|
517
|
+
if hasattr(item[1], "to_dict") else item,
|
|
518
|
+
value.items()
|
|
519
|
+
))
|
|
520
|
+
else:
|
|
521
|
+
result[attr] = value
|
|
522
|
+
if issubclass(DescribeNetworkInterfacesRequest, dict):
|
|
523
|
+
for key, value in self.items():
|
|
524
|
+
result[key] = value
|
|
525
|
+
|
|
526
|
+
return result
|
|
527
|
+
|
|
528
|
+
def to_str(self):
|
|
529
|
+
"""Returns the string representation of the model"""
|
|
530
|
+
return pprint.pformat(self.to_dict())
|
|
531
|
+
|
|
532
|
+
def __repr__(self):
|
|
533
|
+
"""For `print` and `pprint`"""
|
|
534
|
+
return self.to_str()
|
|
535
|
+
|
|
536
|
+
def __eq__(self, other):
|
|
537
|
+
"""Returns true if both objects are equal"""
|
|
538
|
+
if not isinstance(other, DescribeNetworkInterfacesRequest):
|
|
539
|
+
return False
|
|
540
|
+
|
|
541
|
+
return self.to_dict() == other.to_dict()
|
|
542
|
+
|
|
543
|
+
def __ne__(self, other):
|
|
544
|
+
"""Returns true if both objects are not equal"""
|
|
545
|
+
if not isinstance(other, DescribeNetworkInterfacesRequest):
|
|
546
|
+
return True
|
|
547
|
+
|
|
548
|
+
return self.to_dict() != other.to_dict()
|