huaweicloudsdkgeip 3.1.177__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.
- huaweicloudsdkgeip/__init__.py +0 -0
- huaweicloudsdkgeip/v3/__init__.py +224 -0
- huaweicloudsdkgeip/v3/geip_async_client.py +4984 -0
- huaweicloudsdkgeip/v3/geip_client.py +4981 -0
- huaweicloudsdkgeip/v3/model/__init__.py +221 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/allowed_bandwidth_types.py +166 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_request.py +128 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip.py +129 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_associate_instance_info.py +253 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_gc_bandwidth_info.py +398 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body_global_eip_segment.py +249 -0
- huaweicloudsdkgeip/v3/model/associate_instance_request.py +157 -0
- huaweicloudsdkgeip/v3/model/associate_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth.py +135 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip.py +734 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body_global_eip.py +107 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_response.py +133 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_segment_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_job.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip.py +304 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip_internet_bandwidth_info.py +282 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth.py +598 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body_internet_bandwidth.py +395 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_v2_request_body.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body_tags.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_response.py +133 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_segment_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_internet_bandwidths_global_eip_response_body.py +107 -0
- huaweicloudsdkgeip/v3/model/count_geip_segments.py +107 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_request.py +745 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_global_eips.py +107 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_request.py +654 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_request.py +279 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidths.py +107 -0
- huaweicloudsdkgeip/v3/model/create_global_eip.py +135 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip.py +280 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip_tags.py +135 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment.py +304 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment_internet_bandwidth.py +282 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth.py +684 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body_internet_bandwidth.py +365 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_tag.py +136 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_record.py +166 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_request.py +77 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body_tag.py +135 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_request.py +77 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_response.py +108 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth.py +107 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_global_eips.py +734 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_request.py +103 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_request.py +131 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/ext_limit_pojo.py +166 -0
- huaweicloudsdkgeip/v3/model/geip_resource.py +191 -0
- huaweicloudsdkgeip/v3/model/geip_tags.py +135 -0
- huaweicloudsdkgeip/v3/model/get_account_tags_v2.py +135 -0
- huaweicloudsdkgeip/v3/model/global_connection_bandwidth_info.py +253 -0
- huaweicloudsdkgeip/v3/model/instance_info.py +340 -0
- huaweicloudsdkgeip/v3/model/internet_bandwidth_info.py +137 -0
- huaweicloudsdkgeip/v3/model/list_access_sites.py +311 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_request.py +378 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools.py +427 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_request.py +453 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_request.py +245 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_response.py +162 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_request.py +162 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_request.py +154 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments.py +680 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_request.py +853 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_global_eips.py +734 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_request.py +903 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response_body_page_info.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_response.py +137 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_request.py +154 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits.py +249 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_request.py +212 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths.py +746 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_request.py +528 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_jobs.py +311 -0
- huaweicloudsdkgeip/v3/model/list_jobs_request.py +353 -0
- huaweicloudsdkgeip/v3/model/list_jobs_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_quotas.py +107 -0
- huaweicloudsdkgeip/v3/model/list_resources_by_tags_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/list_support_instances_support_regions.py +311 -0
- huaweicloudsdkgeip/v3/model/list_support_masks.py +224 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_request.py +353 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_support_regions.py +340 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_request.py +453 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_request.py +128 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_response.py +166 -0
- huaweicloudsdkgeip/v3/model/lock_info.py +369 -0
- huaweicloudsdkgeip/v3/model/native_uuid.py +77 -0
- huaweicloudsdkgeip/v3/model/resources_info.py +195 -0
- huaweicloudsdkgeip/v3/model/short_global_eip_segment.py +137 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_global_eip.py +734 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment.py +680 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth.py +688 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_job.py +311 -0
- huaweicloudsdkgeip/v3/model/show_jobs_request.py +132 -0
- huaweicloudsdkgeip/v3/model/show_jobs_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_record.py +166 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_request.py +104 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_response.py +162 -0
- huaweicloudsdkgeip/v3/model/sys_tag.py +135 -0
- huaweicloudsdkgeip/v3/model/tag.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body_global_eip.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body_global_eip_segment.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth.py +630 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body_internet_bandwidth.py +224 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/region/__init__.py +0 -0
- huaweicloudsdkgeip/v3/region/geip_region.py +31 -0
- huaweicloudsdkgeip-3.1.177.dist-info/METADATA +25 -0
- huaweicloudsdkgeip-3.1.177.dist-info/RECORD +227 -0
- huaweicloudsdkgeip-3.1.177.dist-info/WHEEL +4 -0
- huaweicloudsdkgeip-3.1.177.dist-info/licenses/LICENSE +13 -0
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'id': 'str',
|
|
19
|
+
'name': 'str',
|
|
20
|
+
'description': 'str',
|
|
21
|
+
'type': 'str',
|
|
22
|
+
'enterprise_project_id': 'str',
|
|
23
|
+
'charge_mode': 'str',
|
|
24
|
+
'bandwidth': 'int',
|
|
25
|
+
'size': 'int',
|
|
26
|
+
'local_area': 'str',
|
|
27
|
+
'remote_area': 'str',
|
|
28
|
+
'tags': 'list[CreateGlobalEipRequestBodyGlobalEipTags]'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
attribute_map = {
|
|
32
|
+
'id': 'id',
|
|
33
|
+
'name': 'name',
|
|
34
|
+
'description': 'description',
|
|
35
|
+
'type': 'type',
|
|
36
|
+
'enterprise_project_id': 'enterprise_project_id',
|
|
37
|
+
'charge_mode': 'charge_mode',
|
|
38
|
+
'bandwidth': 'bandwidth',
|
|
39
|
+
'size': 'size',
|
|
40
|
+
'local_area': 'local_area',
|
|
41
|
+
'remote_area': 'remote_area',
|
|
42
|
+
'tags': 'tags'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, id=None, name=None, description=None, type=None, enterprise_project_id=None, charge_mode=None, bandwidth=None, size=None, local_area=None, remote_area=None, tags=None):
|
|
46
|
+
r"""AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo
|
|
47
|
+
|
|
48
|
+
The model defined in huaweicloud sdk
|
|
49
|
+
|
|
50
|
+
:param id: 骨干带宽的ID
|
|
51
|
+
:type id: str
|
|
52
|
+
:param name: - 功能说明:骨干带宽的名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
53
|
+
:type name: str
|
|
54
|
+
:param description: 骨干带宽描述信息
|
|
55
|
+
:type description: str
|
|
56
|
+
:param type: 骨干带宽类型
|
|
57
|
+
:type type: str
|
|
58
|
+
:param enterprise_project_id: - 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
59
|
+
:type enterprise_project_id: str
|
|
60
|
+
:param charge_mode: 计费模式
|
|
61
|
+
:type charge_mode: str
|
|
62
|
+
:param bandwidth: 域间带宽值
|
|
63
|
+
:type bandwidth: int
|
|
64
|
+
:param size: 域间带宽大小
|
|
65
|
+
:type size: int
|
|
66
|
+
:param local_area: 骨干带宽的两端之一:A点
|
|
67
|
+
:type local_area: str
|
|
68
|
+
:param remote_area: 骨干带宽的两端之一:B点
|
|
69
|
+
:type remote_area: str
|
|
70
|
+
:param tags: 全域弹性公网IP标签
|
|
71
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
self._id = None
|
|
77
|
+
self._name = None
|
|
78
|
+
self._description = None
|
|
79
|
+
self._type = None
|
|
80
|
+
self._enterprise_project_id = None
|
|
81
|
+
self._charge_mode = None
|
|
82
|
+
self._bandwidth = None
|
|
83
|
+
self._size = None
|
|
84
|
+
self._local_area = None
|
|
85
|
+
self._remote_area = None
|
|
86
|
+
self._tags = None
|
|
87
|
+
self.discriminator = None
|
|
88
|
+
|
|
89
|
+
if id is not None:
|
|
90
|
+
self.id = id
|
|
91
|
+
if name is not None:
|
|
92
|
+
self.name = name
|
|
93
|
+
if description is not None:
|
|
94
|
+
self.description = description
|
|
95
|
+
if type is not None:
|
|
96
|
+
self.type = type
|
|
97
|
+
if enterprise_project_id is not None:
|
|
98
|
+
self.enterprise_project_id = enterprise_project_id
|
|
99
|
+
if charge_mode is not None:
|
|
100
|
+
self.charge_mode = charge_mode
|
|
101
|
+
if bandwidth is not None:
|
|
102
|
+
self.bandwidth = bandwidth
|
|
103
|
+
if size is not None:
|
|
104
|
+
self.size = size
|
|
105
|
+
if local_area is not None:
|
|
106
|
+
self.local_area = local_area
|
|
107
|
+
if remote_area is not None:
|
|
108
|
+
self.remote_area = remote_area
|
|
109
|
+
if tags is not None:
|
|
110
|
+
self.tags = tags
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def id(self):
|
|
114
|
+
r"""Gets the id of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
115
|
+
|
|
116
|
+
骨干带宽的ID
|
|
117
|
+
|
|
118
|
+
:return: The id of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
119
|
+
:rtype: str
|
|
120
|
+
"""
|
|
121
|
+
return self._id
|
|
122
|
+
|
|
123
|
+
@id.setter
|
|
124
|
+
def id(self, id):
|
|
125
|
+
r"""Sets the id of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
126
|
+
|
|
127
|
+
骨干带宽的ID
|
|
128
|
+
|
|
129
|
+
:param id: The id of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
130
|
+
:type id: str
|
|
131
|
+
"""
|
|
132
|
+
self._id = id
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
def name(self):
|
|
136
|
+
r"""Gets the name of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
137
|
+
|
|
138
|
+
- 功能说明:骨干带宽的名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
139
|
+
|
|
140
|
+
:return: The name of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
141
|
+
:rtype: str
|
|
142
|
+
"""
|
|
143
|
+
return self._name
|
|
144
|
+
|
|
145
|
+
@name.setter
|
|
146
|
+
def name(self, name):
|
|
147
|
+
r"""Sets the name of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
148
|
+
|
|
149
|
+
- 功能说明:骨干带宽的名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
150
|
+
|
|
151
|
+
:param name: The name of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
152
|
+
:type name: str
|
|
153
|
+
"""
|
|
154
|
+
self._name = name
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
def description(self):
|
|
158
|
+
r"""Gets the description of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
159
|
+
|
|
160
|
+
骨干带宽描述信息
|
|
161
|
+
|
|
162
|
+
:return: The description of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
163
|
+
:rtype: str
|
|
164
|
+
"""
|
|
165
|
+
return self._description
|
|
166
|
+
|
|
167
|
+
@description.setter
|
|
168
|
+
def description(self, description):
|
|
169
|
+
r"""Sets the description of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
170
|
+
|
|
171
|
+
骨干带宽描述信息
|
|
172
|
+
|
|
173
|
+
:param description: The description of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
174
|
+
:type description: str
|
|
175
|
+
"""
|
|
176
|
+
self._description = description
|
|
177
|
+
|
|
178
|
+
@property
|
|
179
|
+
def type(self):
|
|
180
|
+
r"""Gets the type of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
181
|
+
|
|
182
|
+
骨干带宽类型
|
|
183
|
+
|
|
184
|
+
:return: The type of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
185
|
+
:rtype: str
|
|
186
|
+
"""
|
|
187
|
+
return self._type
|
|
188
|
+
|
|
189
|
+
@type.setter
|
|
190
|
+
def type(self, type):
|
|
191
|
+
r"""Sets the type of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
192
|
+
|
|
193
|
+
骨干带宽类型
|
|
194
|
+
|
|
195
|
+
:param type: The type of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
196
|
+
:type type: str
|
|
197
|
+
"""
|
|
198
|
+
self._type = type
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
def enterprise_project_id(self):
|
|
202
|
+
r"""Gets the enterprise_project_id of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
203
|
+
|
|
204
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
205
|
+
|
|
206
|
+
:return: The enterprise_project_id of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
207
|
+
:rtype: str
|
|
208
|
+
"""
|
|
209
|
+
return self._enterprise_project_id
|
|
210
|
+
|
|
211
|
+
@enterprise_project_id.setter
|
|
212
|
+
def enterprise_project_id(self, enterprise_project_id):
|
|
213
|
+
r"""Sets the enterprise_project_id of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
214
|
+
|
|
215
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
216
|
+
|
|
217
|
+
:param enterprise_project_id: The enterprise_project_id of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
218
|
+
:type enterprise_project_id: str
|
|
219
|
+
"""
|
|
220
|
+
self._enterprise_project_id = enterprise_project_id
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
def charge_mode(self):
|
|
224
|
+
r"""Gets the charge_mode of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
225
|
+
|
|
226
|
+
计费模式
|
|
227
|
+
|
|
228
|
+
:return: The charge_mode of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
229
|
+
:rtype: str
|
|
230
|
+
"""
|
|
231
|
+
return self._charge_mode
|
|
232
|
+
|
|
233
|
+
@charge_mode.setter
|
|
234
|
+
def charge_mode(self, charge_mode):
|
|
235
|
+
r"""Sets the charge_mode of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
236
|
+
|
|
237
|
+
计费模式
|
|
238
|
+
|
|
239
|
+
:param charge_mode: The charge_mode of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
240
|
+
:type charge_mode: str
|
|
241
|
+
"""
|
|
242
|
+
self._charge_mode = charge_mode
|
|
243
|
+
|
|
244
|
+
@property
|
|
245
|
+
def bandwidth(self):
|
|
246
|
+
r"""Gets the bandwidth of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
247
|
+
|
|
248
|
+
域间带宽值
|
|
249
|
+
|
|
250
|
+
:return: The bandwidth of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
251
|
+
:rtype: int
|
|
252
|
+
"""
|
|
253
|
+
return self._bandwidth
|
|
254
|
+
|
|
255
|
+
@bandwidth.setter
|
|
256
|
+
def bandwidth(self, bandwidth):
|
|
257
|
+
r"""Sets the bandwidth of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
258
|
+
|
|
259
|
+
域间带宽值
|
|
260
|
+
|
|
261
|
+
:param bandwidth: The bandwidth of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
262
|
+
:type bandwidth: int
|
|
263
|
+
"""
|
|
264
|
+
self._bandwidth = bandwidth
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
def size(self):
|
|
268
|
+
r"""Gets the size of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
269
|
+
|
|
270
|
+
域间带宽大小
|
|
271
|
+
|
|
272
|
+
:return: The size of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
273
|
+
:rtype: int
|
|
274
|
+
"""
|
|
275
|
+
return self._size
|
|
276
|
+
|
|
277
|
+
@size.setter
|
|
278
|
+
def size(self, size):
|
|
279
|
+
r"""Sets the size of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
280
|
+
|
|
281
|
+
域间带宽大小
|
|
282
|
+
|
|
283
|
+
:param size: The size of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
284
|
+
:type size: int
|
|
285
|
+
"""
|
|
286
|
+
self._size = size
|
|
287
|
+
|
|
288
|
+
@property
|
|
289
|
+
def local_area(self):
|
|
290
|
+
r"""Gets the local_area of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
291
|
+
|
|
292
|
+
骨干带宽的两端之一:A点
|
|
293
|
+
|
|
294
|
+
:return: The local_area of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
295
|
+
:rtype: str
|
|
296
|
+
"""
|
|
297
|
+
return self._local_area
|
|
298
|
+
|
|
299
|
+
@local_area.setter
|
|
300
|
+
def local_area(self, local_area):
|
|
301
|
+
r"""Sets the local_area of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
302
|
+
|
|
303
|
+
骨干带宽的两端之一:A点
|
|
304
|
+
|
|
305
|
+
:param local_area: The local_area of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
306
|
+
:type local_area: str
|
|
307
|
+
"""
|
|
308
|
+
self._local_area = local_area
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
def remote_area(self):
|
|
312
|
+
r"""Gets the remote_area of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
313
|
+
|
|
314
|
+
骨干带宽的两端之一:B点
|
|
315
|
+
|
|
316
|
+
:return: The remote_area of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
317
|
+
:rtype: str
|
|
318
|
+
"""
|
|
319
|
+
return self._remote_area
|
|
320
|
+
|
|
321
|
+
@remote_area.setter
|
|
322
|
+
def remote_area(self, remote_area):
|
|
323
|
+
r"""Sets the remote_area of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
324
|
+
|
|
325
|
+
骨干带宽的两端之一:B点
|
|
326
|
+
|
|
327
|
+
:param remote_area: The remote_area of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
328
|
+
:type remote_area: str
|
|
329
|
+
"""
|
|
330
|
+
self._remote_area = remote_area
|
|
331
|
+
|
|
332
|
+
@property
|
|
333
|
+
def tags(self):
|
|
334
|
+
r"""Gets the tags of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
335
|
+
|
|
336
|
+
全域弹性公网IP标签
|
|
337
|
+
|
|
338
|
+
:return: The tags of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
339
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
340
|
+
"""
|
|
341
|
+
return self._tags
|
|
342
|
+
|
|
343
|
+
@tags.setter
|
|
344
|
+
def tags(self, tags):
|
|
345
|
+
r"""Sets the tags of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
346
|
+
|
|
347
|
+
全域弹性公网IP标签
|
|
348
|
+
|
|
349
|
+
:param tags: The tags of this AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo.
|
|
350
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
351
|
+
"""
|
|
352
|
+
self._tags = tags
|
|
353
|
+
|
|
354
|
+
def to_dict(self):
|
|
355
|
+
result = {}
|
|
356
|
+
|
|
357
|
+
for attr, _ in self.openapi_types.items():
|
|
358
|
+
value = getattr(self, attr)
|
|
359
|
+
if isinstance(value, list):
|
|
360
|
+
result[attr] = list(map(
|
|
361
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
362
|
+
value
|
|
363
|
+
))
|
|
364
|
+
elif hasattr(value, "to_dict"):
|
|
365
|
+
result[attr] = value.to_dict()
|
|
366
|
+
elif isinstance(value, dict):
|
|
367
|
+
result[attr] = dict(map(
|
|
368
|
+
lambda item: (item[0], item[1].to_dict())
|
|
369
|
+
if hasattr(item[1], "to_dict") else item,
|
|
370
|
+
value.items()
|
|
371
|
+
))
|
|
372
|
+
else:
|
|
373
|
+
if attr in self.sensitive_list:
|
|
374
|
+
result[attr] = "****"
|
|
375
|
+
else:
|
|
376
|
+
result[attr] = value
|
|
377
|
+
|
|
378
|
+
return result
|
|
379
|
+
|
|
380
|
+
def to_str(self):
|
|
381
|
+
"""Returns the string representation of the model"""
|
|
382
|
+
import simplejson as json
|
|
383
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
384
|
+
|
|
385
|
+
def __repr__(self):
|
|
386
|
+
"""For `print`"""
|
|
387
|
+
return self.to_str()
|
|
388
|
+
|
|
389
|
+
def __eq__(self, other):
|
|
390
|
+
"""Returns true if both objects are equal"""
|
|
391
|
+
if not isinstance(other, AssociateInstanceGlobalEipRequestBodyGlobalEipGcBandwidthInfo):
|
|
392
|
+
return False
|
|
393
|
+
|
|
394
|
+
return self.__dict__ == other.__dict__
|
|
395
|
+
|
|
396
|
+
def __ne__(self, other):
|
|
397
|
+
"""Returns true if both objects are not equal"""
|
|
398
|
+
return not self == other
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AssociateInstanceGlobalEipSegmentRequestBody:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'global_eip_segment': 'AssociateInstanceGlobalEipSegmentRequestBodyGlobalEipSegment'
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
attribute_map = {
|
|
22
|
+
'global_eip_segment': 'global_eip_segment'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
def __init__(self, global_eip_segment=None):
|
|
26
|
+
r"""AssociateInstanceGlobalEipSegmentRequestBody
|
|
27
|
+
|
|
28
|
+
The model defined in huaweicloud sdk
|
|
29
|
+
|
|
30
|
+
:param global_eip_segment:
|
|
31
|
+
:type global_eip_segment: :class:`huaweicloudsdkgeip.v3.AssociateInstanceGlobalEipSegmentRequestBodyGlobalEipSegment`
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
self._global_eip_segment = None
|
|
37
|
+
self.discriminator = None
|
|
38
|
+
|
|
39
|
+
self.global_eip_segment = global_eip_segment
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
def global_eip_segment(self):
|
|
43
|
+
r"""Gets the global_eip_segment of this AssociateInstanceGlobalEipSegmentRequestBody.
|
|
44
|
+
|
|
45
|
+
:return: The global_eip_segment of this AssociateInstanceGlobalEipSegmentRequestBody.
|
|
46
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.AssociateInstanceGlobalEipSegmentRequestBodyGlobalEipSegment`
|
|
47
|
+
"""
|
|
48
|
+
return self._global_eip_segment
|
|
49
|
+
|
|
50
|
+
@global_eip_segment.setter
|
|
51
|
+
def global_eip_segment(self, global_eip_segment):
|
|
52
|
+
r"""Sets the global_eip_segment of this AssociateInstanceGlobalEipSegmentRequestBody.
|
|
53
|
+
|
|
54
|
+
:param global_eip_segment: The global_eip_segment of this AssociateInstanceGlobalEipSegmentRequestBody.
|
|
55
|
+
:type global_eip_segment: :class:`huaweicloudsdkgeip.v3.AssociateInstanceGlobalEipSegmentRequestBodyGlobalEipSegment`
|
|
56
|
+
"""
|
|
57
|
+
self._global_eip_segment = global_eip_segment
|
|
58
|
+
|
|
59
|
+
def to_dict(self):
|
|
60
|
+
result = {}
|
|
61
|
+
|
|
62
|
+
for attr, _ in self.openapi_types.items():
|
|
63
|
+
value = getattr(self, attr)
|
|
64
|
+
if isinstance(value, list):
|
|
65
|
+
result[attr] = list(map(
|
|
66
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
67
|
+
value
|
|
68
|
+
))
|
|
69
|
+
elif hasattr(value, "to_dict"):
|
|
70
|
+
result[attr] = value.to_dict()
|
|
71
|
+
elif isinstance(value, dict):
|
|
72
|
+
result[attr] = dict(map(
|
|
73
|
+
lambda item: (item[0], item[1].to_dict())
|
|
74
|
+
if hasattr(item[1], "to_dict") else item,
|
|
75
|
+
value.items()
|
|
76
|
+
))
|
|
77
|
+
else:
|
|
78
|
+
if attr in self.sensitive_list:
|
|
79
|
+
result[attr] = "****"
|
|
80
|
+
else:
|
|
81
|
+
result[attr] = value
|
|
82
|
+
|
|
83
|
+
return result
|
|
84
|
+
|
|
85
|
+
def to_str(self):
|
|
86
|
+
"""Returns the string representation of the model"""
|
|
87
|
+
import simplejson as json
|
|
88
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
89
|
+
|
|
90
|
+
def __repr__(self):
|
|
91
|
+
"""For `print`"""
|
|
92
|
+
return self.to_str()
|
|
93
|
+
|
|
94
|
+
def __eq__(self, other):
|
|
95
|
+
"""Returns true if both objects are equal"""
|
|
96
|
+
if not isinstance(other, AssociateInstanceGlobalEipSegmentRequestBody):
|
|
97
|
+
return False
|
|
98
|
+
|
|
99
|
+
return self.__dict__ == other.__dict__
|
|
100
|
+
|
|
101
|
+
def __ne__(self, other):
|
|
102
|
+
"""Returns true if both objects are not equal"""
|
|
103
|
+
return not self == other
|