huaweicloudsdkcae 3.1.179__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.
- huaweicloudsdkcae/__init__.py +0 -0
- huaweicloudsdkcae/v1/__init__.py +256 -0
- huaweicloudsdkcae/v1/cae_async_client.py +3941 -0
- huaweicloudsdkcae/v1/cae_client.py +3938 -0
- huaweicloudsdkcae/v1/model/__init__.py +253 -0
- huaweicloudsdkcae/v1/model/access.py +137 -0
- huaweicloudsdkcae/v1/model/access_configuration_data_items.py +361 -0
- huaweicloudsdkcae/v1/model/access_configuration_http_path.py +166 -0
- huaweicloudsdkcae/v1/model/access_configuration_metadata.py +108 -0
- huaweicloudsdkcae/v1/model/access_configuration_port.py +365 -0
- huaweicloudsdkcae/v1/model/access_control.py +137 -0
- huaweicloudsdkcae/v1/model/action_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/action_on_component_build.py +133 -0
- huaweicloudsdkcae/v1/model/action_on_component_source.py +191 -0
- huaweicloudsdkcae/v1/model/action_on_component_spec.py +212 -0
- huaweicloudsdkcae/v1/model/agency.py +151 -0
- huaweicloudsdkcae/v1/model/agency_item.py +108 -0
- huaweicloudsdkcae/v1/model/agency_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/agency_metadata.py +132 -0
- huaweicloudsdkcae/v1/model/api_version_obj.py +80 -0
- huaweicloudsdkcae/v1/model/app_info.py +137 -0
- huaweicloudsdkcae/v1/model/application_item.py +195 -0
- huaweicloudsdkcae/v1/model/application_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/application_metadata.py +195 -0
- huaweicloudsdkcae/v1/model/archive.py +108 -0
- huaweicloudsdkcae/v1/model/build.py +131 -0
- huaweicloudsdkcae/v1/model/cert_item.py +129 -0
- huaweicloudsdkcae/v1/model/cert_req.py +175 -0
- huaweicloudsdkcae/v1/model/certificate_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/cloud_storage_log_path_info.py +137 -0
- huaweicloudsdkcae/v1/model/component_configuration_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/component_execution_result.py +195 -0
- huaweicloudsdkcae/v1/model/component_info.py +137 -0
- huaweicloudsdkcae/v1/model/component_item.py +249 -0
- huaweicloudsdkcae/v1/model/component_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/component_snapshot_context.py +717 -0
- huaweicloudsdkcae/v1/model/component_snapshot_item.py +220 -0
- huaweicloudsdkcae/v1/model/component_snapshot_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/component_spec.py +473 -0
- huaweicloudsdkcae/v1/model/configuration.py +249 -0
- huaweicloudsdkcae/v1/model/configuration_data.py +129 -0
- huaweicloudsdkcae/v1/model/configuration_data_metadata.py +108 -0
- huaweicloudsdkcae/v1/model/configuration_item.py +131 -0
- huaweicloudsdkcae/v1/model/configuration_request_data_spec.py +896 -0
- huaweicloudsdkcae/v1/model/configuration_request_data_spec_post_start.py +104 -0
- huaweicloudsdkcae/v1/model/configuration_request_data_spec_pre_stop.py +104 -0
- huaweicloudsdkcae/v1/model/configuration_response_data_spec.py +1186 -0
- huaweicloudsdkcae/v1/model/configuration_response_data_spec_post_start.py +104 -0
- huaweicloudsdkcae/v1/model/configuration_response_data_spec_pre_stop.py +104 -0
- huaweicloudsdkcae/v1/model/create_agency_request.py +104 -0
- huaweicloudsdkcae/v1/model/create_agency_response.py +81 -0
- huaweicloudsdkcae/v1/model/create_application_request.py +161 -0
- huaweicloudsdkcae/v1/model/create_application_request_body.py +151 -0
- huaweicloudsdkcae/v1/model/create_application_request_body_metadata.py +107 -0
- huaweicloudsdkcae/v1/model/create_application_response.py +158 -0
- huaweicloudsdkcae/v1/model/create_certificate_request.py +161 -0
- huaweicloudsdkcae/v1/model/create_certificate_response.py +162 -0
- huaweicloudsdkcae/v1/model/create_component_configuration_request.py +217 -0
- huaweicloudsdkcae/v1/model/create_component_configuration_request_body.py +155 -0
- huaweicloudsdkcae/v1/model/create_component_configuration_response.py +81 -0
- huaweicloudsdkcae/v1/model/create_component_request.py +189 -0
- huaweicloudsdkcae/v1/model/create_component_request_body.py +175 -0
- huaweicloudsdkcae/v1/model/create_component_response.py +183 -0
- huaweicloudsdkcae/v1/model/create_component_spec.py +299 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_request.py +189 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body.py +206 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_metadata.py +135 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_spec.py +237 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_response.py +237 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_response_body_status.py +108 -0
- huaweicloudsdkcae/v1/model/create_domain_req.py +151 -0
- huaweicloudsdkcae/v1/model/create_domain_request.py +161 -0
- huaweicloudsdkcae/v1/model/create_domain_response.py +166 -0
- huaweicloudsdkcae/v1/model/create_environment_request.py +133 -0
- huaweicloudsdkcae/v1/model/create_environment_request_body.py +151 -0
- huaweicloudsdkcae/v1/model/create_environment_request_body_metadata.py +136 -0
- huaweicloudsdkcae/v1/model/create_environment_response.py +112 -0
- huaweicloudsdkcae/v1/model/create_meta_cert.py +107 -0
- huaweicloudsdkcae/v1/model/create_meta_domain.py +107 -0
- huaweicloudsdkcae/v1/model/create_monitor_system_request.py +161 -0
- huaweicloudsdkcae/v1/model/create_monitor_system_response.py +81 -0
- huaweicloudsdkcae/v1/model/create_notice_rule_item.py +237 -0
- huaweicloudsdkcae/v1/model/create_notice_rule_req.py +159 -0
- huaweicloudsdkcae/v1/model/create_notice_rule_request.py +133 -0
- huaweicloudsdkcae/v1/model/create_notice_rule_resp_item.py +270 -0
- huaweicloudsdkcae/v1/model/create_notice_rule_response.py +166 -0
- huaweicloudsdkcae/v1/model/create_or_update_secret_detail.py +135 -0
- huaweicloudsdkcae/v1/model/create_or_update_secret_req.py +159 -0
- huaweicloudsdkcae/v1/model/create_secret_request.py +161 -0
- huaweicloudsdkcae/v1/model/create_secret_response.py +166 -0
- huaweicloudsdkcae/v1/model/create_spec_cert.py +135 -0
- huaweicloudsdkcae/v1/model/create_timer_rule_req.py +154 -0
- huaweicloudsdkcae/v1/model/create_timer_rule_request.py +161 -0
- huaweicloudsdkcae/v1/model/create_timer_rule_response.py +158 -0
- huaweicloudsdkcae/v1/model/create_volume_req.py +151 -0
- huaweicloudsdkcae/v1/model/create_volume_request.py +161 -0
- huaweicloudsdkcae/v1/model/create_volume_response.py +81 -0
- huaweicloudsdkcae/v1/model/create_vpc_egress_request.py +161 -0
- huaweicloudsdkcae/v1/model/create_vpc_egress_response.py +158 -0
- huaweicloudsdkcae/v1/model/cron_trigger_scheduler.py +137 -0
- huaweicloudsdkcae/v1/model/delete_application_request.py +164 -0
- huaweicloudsdkcae/v1/model/delete_application_response.py +81 -0
- huaweicloudsdkcae/v1/model/delete_certificate_request.py +164 -0
- huaweicloudsdkcae/v1/model/delete_certificate_response.py +81 -0
- huaweicloudsdkcae/v1/model/delete_component_configuration_request.py +192 -0
- huaweicloudsdkcae/v1/model/delete_component_configuration_response.py +81 -0
- huaweicloudsdkcae/v1/model/delete_component_request.py +192 -0
- huaweicloudsdkcae/v1/model/delete_component_response.py +112 -0
- huaweicloudsdkcae/v1/model/delete_domain_request.py +164 -0
- huaweicloudsdkcae/v1/model/delete_domain_response.py +81 -0
- huaweicloudsdkcae/v1/model/delete_environment_request.py +136 -0
- huaweicloudsdkcae/v1/model/delete_environment_response.py +112 -0
- huaweicloudsdkcae/v1/model/delete_notice_rule_request.py +132 -0
- huaweicloudsdkcae/v1/model/delete_notice_rule_response.py +108 -0
- huaweicloudsdkcae/v1/model/delete_secret_request.py +136 -0
- huaweicloudsdkcae/v1/model/delete_secret_response.py +81 -0
- huaweicloudsdkcae/v1/model/delete_timer_rule_request.py +164 -0
- huaweicloudsdkcae/v1/model/delete_timer_rule_response.py +81 -0
- huaweicloudsdkcae/v1/model/delete_volume_request.py +164 -0
- huaweicloudsdkcae/v1/model/delete_volume_response.py +162 -0
- huaweicloudsdkcae/v1/model/delete_vpc_egress_request.py +164 -0
- huaweicloudsdkcae/v1/model/delete_vpc_egress_response.py +81 -0
- huaweicloudsdkcae/v1/model/domain_item.py +104 -0
- huaweicloudsdkcae/v1/model/domain_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/egress_cidr.py +164 -0
- huaweicloudsdkcae/v1/model/eip_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/environment_item.py +282 -0
- huaweicloudsdkcae/v1/model/environment_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/execute_action_request.py +217 -0
- huaweicloudsdkcae/v1/model/execute_action_request_body.py +177 -0
- huaweicloudsdkcae/v1/model/execute_action_request_body_metadata.py +136 -0
- huaweicloudsdkcae/v1/model/execute_action_response.py +112 -0
- huaweicloudsdkcae/v1/model/execution_details.py +137 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_exec.py +108 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_http_get.py +166 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_liveness_probe.py +299 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_readiness_probe.py +299 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_startup_probe.py +299 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_tcp_socket.py +108 -0
- huaweicloudsdkcae/v1/model/instance.py +166 -0
- huaweicloudsdkcae/v1/model/job_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/job_spec.py +166 -0
- huaweicloudsdkcae/v1/model/life_cycle_configuration_exec.py +108 -0
- huaweicloudsdkcae/v1/model/list_agencies_request.py +77 -0
- huaweicloudsdkcae/v1/model/list_agencies_response.py +162 -0
- huaweicloudsdkcae/v1/model/list_applications_request.py +136 -0
- huaweicloudsdkcae/v1/model/list_applications_response.py +162 -0
- huaweicloudsdkcae/v1/model/list_certificates_request.py +136 -0
- huaweicloudsdkcae/v1/model/list_certificates_response.py +162 -0
- huaweicloudsdkcae/v1/model/list_component_configurations_request.py +221 -0
- huaweicloudsdkcae/v1/model/list_component_configurations_response.py +170 -0
- huaweicloudsdkcae/v1/model/list_component_configurations_response_data.py +129 -0
- huaweicloudsdkcae/v1/model/list_component_instances_request.py +192 -0
- huaweicloudsdkcae/v1/model/list_component_instances_response.py +162 -0
- huaweicloudsdkcae/v1/model/list_component_snapshots_request.py +192 -0
- huaweicloudsdkcae/v1/model/list_component_snapshots_response.py +162 -0
- huaweicloudsdkcae/v1/model/list_components_request.py +280 -0
- huaweicloudsdkcae/v1/model/list_components_response.py +191 -0
- huaweicloudsdkcae/v1/model/list_domains_request.py +136 -0
- huaweicloudsdkcae/v1/model/list_domains_response.py +166 -0
- huaweicloudsdkcae/v1/model/list_effective_components_request.py +136 -0
- huaweicloudsdkcae/v1/model/list_effective_components_response.py +170 -0
- huaweicloudsdkcae/v1/model/list_eip_response_body_spec.py +129 -0
- huaweicloudsdkcae/v1/model/list_eip_response_body_spec_egress.py +166 -0
- huaweicloudsdkcae/v1/model/list_eip_response_body_spec_ingress.py +166 -0
- huaweicloudsdkcae/v1/model/list_eips_request.py +136 -0
- huaweicloudsdkcae/v1/model/list_eips_response.py +158 -0
- huaweicloudsdkcae/v1/model/list_environments_request.py +108 -0
- huaweicloudsdkcae/v1/model/list_environments_response.py +162 -0
- huaweicloudsdkcae/v1/model/list_notice_rules_request.py +108 -0
- huaweicloudsdkcae/v1/model/list_notice_rules_response.py +170 -0
- huaweicloudsdkcae/v1/model/list_secrets_request.py +108 -0
- huaweicloudsdkcae/v1/model/list_secrets_response.py +170 -0
- huaweicloudsdkcae/v1/model/list_timer_rules_request.py +136 -0
- huaweicloudsdkcae/v1/model/list_timer_rules_response.py +158 -0
- huaweicloudsdkcae/v1/model/list_volumes_request.py +164 -0
- huaweicloudsdkcae/v1/model/list_volumes_response.py +162 -0
- huaweicloudsdkcae/v1/model/list_vpc_egress_request.py +136 -0
- huaweicloudsdkcae/v1/model/list_vpc_egress_response.py +158 -0
- huaweicloudsdkcae/v1/model/meta_cert.py +137 -0
- huaweicloudsdkcae/v1/model/meta_domain.py +166 -0
- huaweicloudsdkcae/v1/model/metadata_response.py +224 -0
- huaweicloudsdkcae/v1/model/monitor_system_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/monitor_system_request_body.py +154 -0
- huaweicloudsdkcae/v1/model/monitor_system_request_body_spec.py +306 -0
- huaweicloudsdkcae/v1/model/mount_component.py +253 -0
- huaweicloudsdkcae/v1/model/notice_rule_notification.py +164 -0
- huaweicloudsdkcae/v1/model/notice_rule_scope.py +194 -0
- huaweicloudsdkcae/v1/model/repo.py +166 -0
- huaweicloudsdkcae/v1/model/resource_limit.py +135 -0
- huaweicloudsdkcae/v1/model/resource_limit_for_upgrade.py +137 -0
- huaweicloudsdkcae/v1/model/resources_credential.py +137 -0
- huaweicloudsdkcae/v1/model/retry_job_request.py +164 -0
- huaweicloudsdkcae/v1/model/retry_job_response.py +81 -0
- huaweicloudsdkcae/v1/model/scale_configuration_data_advanced.py +224 -0
- huaweicloudsdkcae/v1/model/scale_configuration_data_trigger.py +133 -0
- huaweicloudsdkcae/v1/model/scaling_trigger_meta.py +195 -0
- huaweicloudsdkcae/v1/model/secret_detail.py +276 -0
- huaweicloudsdkcae/v1/model/show_application_request.py +164 -0
- huaweicloudsdkcae/v1/model/show_application_response.py +158 -0
- huaweicloudsdkcae/v1/model/show_component_request.py +192 -0
- huaweicloudsdkcae/v1/model/show_component_response.py +183 -0
- huaweicloudsdkcae/v1/model/show_execution_result_request.py +164 -0
- huaweicloudsdkcae/v1/model/show_execution_result_response.py +158 -0
- huaweicloudsdkcae/v1/model/show_job_request.py +164 -0
- huaweicloudsdkcae/v1/model/show_job_response.py +158 -0
- huaweicloudsdkcae/v1/model/show_monitor_system_request.py +136 -0
- huaweicloudsdkcae/v1/model/show_monitor_system_response.py +158 -0
- huaweicloudsdkcae/v1/model/show_monitor_system_response_body_spec.py +427 -0
- huaweicloudsdkcae/v1/model/show_notice_rule_request.py +132 -0
- huaweicloudsdkcae/v1/model/show_notice_rule_response.py +166 -0
- huaweicloudsdkcae/v1/model/source.py +189 -0
- huaweicloudsdkcae/v1/model/spec_cert.py +166 -0
- huaweicloudsdkcae/v1/model/task.py +253 -0
- huaweicloudsdkcae/v1/model/time_rule_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/timer_rule_details.py +427 -0
- huaweicloudsdkcae/v1/model/trigger_policy.py +194 -0
- huaweicloudsdkcae/v1/model/update_cert_req.py +151 -0
- huaweicloudsdkcae/v1/model/update_certificate_request.py +189 -0
- huaweicloudsdkcae/v1/model/update_certificate_response.py +81 -0
- huaweicloudsdkcae/v1/model/update_component_request.py +217 -0
- huaweicloudsdkcae/v1/model/update_component_request_body.py +175 -0
- huaweicloudsdkcae/v1/model/update_component_request_metadata.py +136 -0
- huaweicloudsdkcae/v1/model/update_component_request_spec.py +211 -0
- huaweicloudsdkcae/v1/model/update_component_response.py +81 -0
- huaweicloudsdkcae/v1/model/update_eip_request.py +161 -0
- huaweicloudsdkcae/v1/model/update_eip_request_body.py +154 -0
- huaweicloudsdkcae/v1/model/update_eip_request_body_spec.py +129 -0
- huaweicloudsdkcae/v1/model/update_eip_request_body_spec_egress.py +137 -0
- huaweicloudsdkcae/v1/model/update_eip_request_body_spec_ingress.py +137 -0
- huaweicloudsdkcae/v1/model/update_eip_response.py +81 -0
- huaweicloudsdkcae/v1/model/update_monitor_system_request.py +189 -0
- huaweicloudsdkcae/v1/model/update_monitor_system_response.py +81 -0
- huaweicloudsdkcae/v1/model/update_notice_rule_item.py +185 -0
- huaweicloudsdkcae/v1/model/update_notice_rule_req.py +159 -0
- huaweicloudsdkcae/v1/model/update_notice_rule_request.py +157 -0
- huaweicloudsdkcae/v1/model/update_notice_rule_response.py +166 -0
- huaweicloudsdkcae/v1/model/update_secret_request.py +161 -0
- huaweicloudsdkcae/v1/model/update_secret_response.py +166 -0
- huaweicloudsdkcae/v1/model/update_spec_cert.py +135 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_details.py +305 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_req.py +151 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_request.py +189 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_response.py +81 -0
- huaweicloudsdkcae/v1/model/volume.py +282 -0
- huaweicloudsdkcae/v1/model/volume_configuration_data_volume.py +249 -0
- huaweicloudsdkcae/v1/model/volume_configuration_mount_info.py +166 -0
- huaweicloudsdkcae/v1/model/volume_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/volume_spec.py +192 -0
- huaweicloudsdkcae/v1/model/vpc_egress_kind_obj.py +80 -0
- huaweicloudsdkcae/v1/model/vpc_egress_request_body.py +154 -0
- huaweicloudsdkcae/v1/model/vpc_egress_request_body_spec.py +107 -0
- huaweicloudsdkcae/v1/model/vpc_egress_response_body_spec.py +166 -0
- huaweicloudsdkcae/v1/region/__init__.py +0 -0
- huaweicloudsdkcae/v1/region/cae_region.py +60 -0
- huaweicloudsdkcae-3.1.179.dist-info/METADATA +25 -0
- huaweicloudsdkcae-3.1.179.dist-info/RECORD +259 -0
- huaweicloudsdkcae-3.1.179.dist-info/WHEEL +4 -0
- huaweicloudsdkcae-3.1.179.dist-info/licenses/LICENSE +13 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListEipResponseBodySpec:
|
|
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
|
+
'egress': 'ListEipResponseBodySpecEgress',
|
|
19
|
+
'ingress': 'ListEipResponseBodySpecIngress'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'egress': 'egress',
|
|
24
|
+
'ingress': 'ingress'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, egress=None, ingress=None):
|
|
28
|
+
r"""ListEipResponseBodySpec
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param egress:
|
|
33
|
+
:type egress: :class:`huaweicloudsdkcae.v1.ListEipResponseBodySpecEgress`
|
|
34
|
+
:param ingress:
|
|
35
|
+
:type ingress: :class:`huaweicloudsdkcae.v1.ListEipResponseBodySpecIngress`
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._egress = None
|
|
41
|
+
self._ingress = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
if egress is not None:
|
|
45
|
+
self.egress = egress
|
|
46
|
+
if ingress is not None:
|
|
47
|
+
self.ingress = ingress
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
def egress(self):
|
|
51
|
+
r"""Gets the egress of this ListEipResponseBodySpec.
|
|
52
|
+
|
|
53
|
+
:return: The egress of this ListEipResponseBodySpec.
|
|
54
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ListEipResponseBodySpecEgress`
|
|
55
|
+
"""
|
|
56
|
+
return self._egress
|
|
57
|
+
|
|
58
|
+
@egress.setter
|
|
59
|
+
def egress(self, egress):
|
|
60
|
+
r"""Sets the egress of this ListEipResponseBodySpec.
|
|
61
|
+
|
|
62
|
+
:param egress: The egress of this ListEipResponseBodySpec.
|
|
63
|
+
:type egress: :class:`huaweicloudsdkcae.v1.ListEipResponseBodySpecEgress`
|
|
64
|
+
"""
|
|
65
|
+
self._egress = egress
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def ingress(self):
|
|
69
|
+
r"""Gets the ingress of this ListEipResponseBodySpec.
|
|
70
|
+
|
|
71
|
+
:return: The ingress of this ListEipResponseBodySpec.
|
|
72
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ListEipResponseBodySpecIngress`
|
|
73
|
+
"""
|
|
74
|
+
return self._ingress
|
|
75
|
+
|
|
76
|
+
@ingress.setter
|
|
77
|
+
def ingress(self, ingress):
|
|
78
|
+
r"""Sets the ingress of this ListEipResponseBodySpec.
|
|
79
|
+
|
|
80
|
+
:param ingress: The ingress of this ListEipResponseBodySpec.
|
|
81
|
+
:type ingress: :class:`huaweicloudsdkcae.v1.ListEipResponseBodySpecIngress`
|
|
82
|
+
"""
|
|
83
|
+
self._ingress = ingress
|
|
84
|
+
|
|
85
|
+
def to_dict(self):
|
|
86
|
+
result = {}
|
|
87
|
+
|
|
88
|
+
for attr, _ in self.openapi_types.items():
|
|
89
|
+
value = getattr(self, attr)
|
|
90
|
+
if isinstance(value, list):
|
|
91
|
+
result[attr] = list(map(
|
|
92
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
93
|
+
value
|
|
94
|
+
))
|
|
95
|
+
elif hasattr(value, "to_dict"):
|
|
96
|
+
result[attr] = value.to_dict()
|
|
97
|
+
elif isinstance(value, dict):
|
|
98
|
+
result[attr] = dict(map(
|
|
99
|
+
lambda item: (item[0], item[1].to_dict())
|
|
100
|
+
if hasattr(item[1], "to_dict") else item,
|
|
101
|
+
value.items()
|
|
102
|
+
))
|
|
103
|
+
else:
|
|
104
|
+
if attr in self.sensitive_list:
|
|
105
|
+
result[attr] = "****"
|
|
106
|
+
else:
|
|
107
|
+
result[attr] = value
|
|
108
|
+
|
|
109
|
+
return result
|
|
110
|
+
|
|
111
|
+
def to_str(self):
|
|
112
|
+
"""Returns the string representation of the model"""
|
|
113
|
+
import simplejson as json
|
|
114
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
115
|
+
|
|
116
|
+
def __repr__(self):
|
|
117
|
+
"""For `print`"""
|
|
118
|
+
return self.to_str()
|
|
119
|
+
|
|
120
|
+
def __eq__(self, other):
|
|
121
|
+
"""Returns true if both objects are equal"""
|
|
122
|
+
if not isinstance(other, ListEipResponseBodySpec):
|
|
123
|
+
return False
|
|
124
|
+
|
|
125
|
+
return self.__dict__ == other.__dict__
|
|
126
|
+
|
|
127
|
+
def __ne__(self, other):
|
|
128
|
+
"""Returns true if both objects are not equal"""
|
|
129
|
+
return not self == other
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListEipResponseBodySpecEgress:
|
|
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
|
+
'bandwidth_size': 'int',
|
|
19
|
+
'enabled': 'bool',
|
|
20
|
+
'ip_list': 'list[str]'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'bandwidth_size': 'bandwidth_size',
|
|
25
|
+
'enabled': 'enabled',
|
|
26
|
+
'ip_list': 'ip_list'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, bandwidth_size=None, enabled=None, ip_list=None):
|
|
30
|
+
r"""ListEipResponseBodySpecEgress
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param bandwidth_size: 出网IP带宽。
|
|
35
|
+
:type bandwidth_size: int
|
|
36
|
+
:param enabled: 是否关闭出网IP。
|
|
37
|
+
:type enabled: bool
|
|
38
|
+
:param ip_list: 出网IP列表。
|
|
39
|
+
:type ip_list: list[str]
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
self._bandwidth_size = None
|
|
45
|
+
self._enabled = None
|
|
46
|
+
self._ip_list = None
|
|
47
|
+
self.discriminator = None
|
|
48
|
+
|
|
49
|
+
if bandwidth_size is not None:
|
|
50
|
+
self.bandwidth_size = bandwidth_size
|
|
51
|
+
if enabled is not None:
|
|
52
|
+
self.enabled = enabled
|
|
53
|
+
if ip_list is not None:
|
|
54
|
+
self.ip_list = ip_list
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
def bandwidth_size(self):
|
|
58
|
+
r"""Gets the bandwidth_size of this ListEipResponseBodySpecEgress.
|
|
59
|
+
|
|
60
|
+
出网IP带宽。
|
|
61
|
+
|
|
62
|
+
:return: The bandwidth_size of this ListEipResponseBodySpecEgress.
|
|
63
|
+
:rtype: int
|
|
64
|
+
"""
|
|
65
|
+
return self._bandwidth_size
|
|
66
|
+
|
|
67
|
+
@bandwidth_size.setter
|
|
68
|
+
def bandwidth_size(self, bandwidth_size):
|
|
69
|
+
r"""Sets the bandwidth_size of this ListEipResponseBodySpecEgress.
|
|
70
|
+
|
|
71
|
+
出网IP带宽。
|
|
72
|
+
|
|
73
|
+
:param bandwidth_size: The bandwidth_size of this ListEipResponseBodySpecEgress.
|
|
74
|
+
:type bandwidth_size: int
|
|
75
|
+
"""
|
|
76
|
+
self._bandwidth_size = bandwidth_size
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def enabled(self):
|
|
80
|
+
r"""Gets the enabled of this ListEipResponseBodySpecEgress.
|
|
81
|
+
|
|
82
|
+
是否关闭出网IP。
|
|
83
|
+
|
|
84
|
+
:return: The enabled of this ListEipResponseBodySpecEgress.
|
|
85
|
+
:rtype: bool
|
|
86
|
+
"""
|
|
87
|
+
return self._enabled
|
|
88
|
+
|
|
89
|
+
@enabled.setter
|
|
90
|
+
def enabled(self, enabled):
|
|
91
|
+
r"""Sets the enabled of this ListEipResponseBodySpecEgress.
|
|
92
|
+
|
|
93
|
+
是否关闭出网IP。
|
|
94
|
+
|
|
95
|
+
:param enabled: The enabled of this ListEipResponseBodySpecEgress.
|
|
96
|
+
:type enabled: bool
|
|
97
|
+
"""
|
|
98
|
+
self._enabled = enabled
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def ip_list(self):
|
|
102
|
+
r"""Gets the ip_list of this ListEipResponseBodySpecEgress.
|
|
103
|
+
|
|
104
|
+
出网IP列表。
|
|
105
|
+
|
|
106
|
+
:return: The ip_list of this ListEipResponseBodySpecEgress.
|
|
107
|
+
:rtype: list[str]
|
|
108
|
+
"""
|
|
109
|
+
return self._ip_list
|
|
110
|
+
|
|
111
|
+
@ip_list.setter
|
|
112
|
+
def ip_list(self, ip_list):
|
|
113
|
+
r"""Sets the ip_list of this ListEipResponseBodySpecEgress.
|
|
114
|
+
|
|
115
|
+
出网IP列表。
|
|
116
|
+
|
|
117
|
+
:param ip_list: The ip_list of this ListEipResponseBodySpecEgress.
|
|
118
|
+
:type ip_list: list[str]
|
|
119
|
+
"""
|
|
120
|
+
self._ip_list = ip_list
|
|
121
|
+
|
|
122
|
+
def to_dict(self):
|
|
123
|
+
result = {}
|
|
124
|
+
|
|
125
|
+
for attr, _ in self.openapi_types.items():
|
|
126
|
+
value = getattr(self, attr)
|
|
127
|
+
if isinstance(value, list):
|
|
128
|
+
result[attr] = list(map(
|
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
130
|
+
value
|
|
131
|
+
))
|
|
132
|
+
elif hasattr(value, "to_dict"):
|
|
133
|
+
result[attr] = value.to_dict()
|
|
134
|
+
elif isinstance(value, dict):
|
|
135
|
+
result[attr] = dict(map(
|
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
|
138
|
+
value.items()
|
|
139
|
+
))
|
|
140
|
+
else:
|
|
141
|
+
if attr in self.sensitive_list:
|
|
142
|
+
result[attr] = "****"
|
|
143
|
+
else:
|
|
144
|
+
result[attr] = value
|
|
145
|
+
|
|
146
|
+
return result
|
|
147
|
+
|
|
148
|
+
def to_str(self):
|
|
149
|
+
"""Returns the string representation of the model"""
|
|
150
|
+
import simplejson as json
|
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
152
|
+
|
|
153
|
+
def __repr__(self):
|
|
154
|
+
"""For `print`"""
|
|
155
|
+
return self.to_str()
|
|
156
|
+
|
|
157
|
+
def __eq__(self, other):
|
|
158
|
+
"""Returns true if both objects are equal"""
|
|
159
|
+
if not isinstance(other, ListEipResponseBodySpecEgress):
|
|
160
|
+
return False
|
|
161
|
+
|
|
162
|
+
return self.__dict__ == other.__dict__
|
|
163
|
+
|
|
164
|
+
def __ne__(self, other):
|
|
165
|
+
"""Returns true if both objects are not equal"""
|
|
166
|
+
return not self == other
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListEipResponseBodySpecIngress:
|
|
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
|
+
'bandwidth_size': 'int',
|
|
19
|
+
'enabled': 'bool',
|
|
20
|
+
'ip_list': 'list[str]'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'bandwidth_size': 'bandwidth_size',
|
|
25
|
+
'enabled': 'enabled',
|
|
26
|
+
'ip_list': 'ip_list'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, bandwidth_size=None, enabled=None, ip_list=None):
|
|
30
|
+
r"""ListEipResponseBodySpecIngress
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param bandwidth_size: 入网IP带宽
|
|
35
|
+
:type bandwidth_size: int
|
|
36
|
+
:param enabled: 是否关闭入网IP。
|
|
37
|
+
:type enabled: bool
|
|
38
|
+
:param ip_list: 入网IP列表
|
|
39
|
+
:type ip_list: list[str]
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
self._bandwidth_size = None
|
|
45
|
+
self._enabled = None
|
|
46
|
+
self._ip_list = None
|
|
47
|
+
self.discriminator = None
|
|
48
|
+
|
|
49
|
+
if bandwidth_size is not None:
|
|
50
|
+
self.bandwidth_size = bandwidth_size
|
|
51
|
+
if enabled is not None:
|
|
52
|
+
self.enabled = enabled
|
|
53
|
+
if ip_list is not None:
|
|
54
|
+
self.ip_list = ip_list
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
def bandwidth_size(self):
|
|
58
|
+
r"""Gets the bandwidth_size of this ListEipResponseBodySpecIngress.
|
|
59
|
+
|
|
60
|
+
入网IP带宽
|
|
61
|
+
|
|
62
|
+
:return: The bandwidth_size of this ListEipResponseBodySpecIngress.
|
|
63
|
+
:rtype: int
|
|
64
|
+
"""
|
|
65
|
+
return self._bandwidth_size
|
|
66
|
+
|
|
67
|
+
@bandwidth_size.setter
|
|
68
|
+
def bandwidth_size(self, bandwidth_size):
|
|
69
|
+
r"""Sets the bandwidth_size of this ListEipResponseBodySpecIngress.
|
|
70
|
+
|
|
71
|
+
入网IP带宽
|
|
72
|
+
|
|
73
|
+
:param bandwidth_size: The bandwidth_size of this ListEipResponseBodySpecIngress.
|
|
74
|
+
:type bandwidth_size: int
|
|
75
|
+
"""
|
|
76
|
+
self._bandwidth_size = bandwidth_size
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def enabled(self):
|
|
80
|
+
r"""Gets the enabled of this ListEipResponseBodySpecIngress.
|
|
81
|
+
|
|
82
|
+
是否关闭入网IP。
|
|
83
|
+
|
|
84
|
+
:return: The enabled of this ListEipResponseBodySpecIngress.
|
|
85
|
+
:rtype: bool
|
|
86
|
+
"""
|
|
87
|
+
return self._enabled
|
|
88
|
+
|
|
89
|
+
@enabled.setter
|
|
90
|
+
def enabled(self, enabled):
|
|
91
|
+
r"""Sets the enabled of this ListEipResponseBodySpecIngress.
|
|
92
|
+
|
|
93
|
+
是否关闭入网IP。
|
|
94
|
+
|
|
95
|
+
:param enabled: The enabled of this ListEipResponseBodySpecIngress.
|
|
96
|
+
:type enabled: bool
|
|
97
|
+
"""
|
|
98
|
+
self._enabled = enabled
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def ip_list(self):
|
|
102
|
+
r"""Gets the ip_list of this ListEipResponseBodySpecIngress.
|
|
103
|
+
|
|
104
|
+
入网IP列表
|
|
105
|
+
|
|
106
|
+
:return: The ip_list of this ListEipResponseBodySpecIngress.
|
|
107
|
+
:rtype: list[str]
|
|
108
|
+
"""
|
|
109
|
+
return self._ip_list
|
|
110
|
+
|
|
111
|
+
@ip_list.setter
|
|
112
|
+
def ip_list(self, ip_list):
|
|
113
|
+
r"""Sets the ip_list of this ListEipResponseBodySpecIngress.
|
|
114
|
+
|
|
115
|
+
入网IP列表
|
|
116
|
+
|
|
117
|
+
:param ip_list: The ip_list of this ListEipResponseBodySpecIngress.
|
|
118
|
+
:type ip_list: list[str]
|
|
119
|
+
"""
|
|
120
|
+
self._ip_list = ip_list
|
|
121
|
+
|
|
122
|
+
def to_dict(self):
|
|
123
|
+
result = {}
|
|
124
|
+
|
|
125
|
+
for attr, _ in self.openapi_types.items():
|
|
126
|
+
value = getattr(self, attr)
|
|
127
|
+
if isinstance(value, list):
|
|
128
|
+
result[attr] = list(map(
|
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
130
|
+
value
|
|
131
|
+
))
|
|
132
|
+
elif hasattr(value, "to_dict"):
|
|
133
|
+
result[attr] = value.to_dict()
|
|
134
|
+
elif isinstance(value, dict):
|
|
135
|
+
result[attr] = dict(map(
|
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
|
138
|
+
value.items()
|
|
139
|
+
))
|
|
140
|
+
else:
|
|
141
|
+
if attr in self.sensitive_list:
|
|
142
|
+
result[attr] = "****"
|
|
143
|
+
else:
|
|
144
|
+
result[attr] = value
|
|
145
|
+
|
|
146
|
+
return result
|
|
147
|
+
|
|
148
|
+
def to_str(self):
|
|
149
|
+
"""Returns the string representation of the model"""
|
|
150
|
+
import simplejson as json
|
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
152
|
+
|
|
153
|
+
def __repr__(self):
|
|
154
|
+
"""For `print`"""
|
|
155
|
+
return self.to_str()
|
|
156
|
+
|
|
157
|
+
def __eq__(self, other):
|
|
158
|
+
"""Returns true if both objects are equal"""
|
|
159
|
+
if not isinstance(other, ListEipResponseBodySpecIngress):
|
|
160
|
+
return False
|
|
161
|
+
|
|
162
|
+
return self.__dict__ == other.__dict__
|
|
163
|
+
|
|
164
|
+
def __ne__(self, other):
|
|
165
|
+
"""Returns true if both objects are not equal"""
|
|
166
|
+
return not self == other
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListEipsRequest:
|
|
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
|
+
'x_enterprise_project_id': 'str',
|
|
19
|
+
'x_environment_id': 'str'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'x_enterprise_project_id': 'X-Enterprise-Project-ID',
|
|
24
|
+
'x_environment_id': 'X-Environment-ID'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, x_enterprise_project_id=None, x_environment_id=None):
|
|
28
|
+
r"""ListEipsRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param x_enterprise_project_id: 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
33
|
+
:type x_enterprise_project_id: str
|
|
34
|
+
:param x_environment_id: 环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
35
|
+
:type x_environment_id: str
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._x_enterprise_project_id = None
|
|
41
|
+
self._x_environment_id = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
if x_enterprise_project_id is not None:
|
|
45
|
+
self.x_enterprise_project_id = x_enterprise_project_id
|
|
46
|
+
self.x_environment_id = x_environment_id
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def x_enterprise_project_id(self):
|
|
50
|
+
r"""Gets the x_enterprise_project_id of this ListEipsRequest.
|
|
51
|
+
|
|
52
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
53
|
+
|
|
54
|
+
:return: The x_enterprise_project_id of this ListEipsRequest.
|
|
55
|
+
:rtype: str
|
|
56
|
+
"""
|
|
57
|
+
return self._x_enterprise_project_id
|
|
58
|
+
|
|
59
|
+
@x_enterprise_project_id.setter
|
|
60
|
+
def x_enterprise_project_id(self, x_enterprise_project_id):
|
|
61
|
+
r"""Sets the x_enterprise_project_id of this ListEipsRequest.
|
|
62
|
+
|
|
63
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
64
|
+
|
|
65
|
+
:param x_enterprise_project_id: The x_enterprise_project_id of this ListEipsRequest.
|
|
66
|
+
:type x_enterprise_project_id: str
|
|
67
|
+
"""
|
|
68
|
+
self._x_enterprise_project_id = x_enterprise_project_id
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def x_environment_id(self):
|
|
72
|
+
r"""Gets the x_environment_id of this ListEipsRequest.
|
|
73
|
+
|
|
74
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
75
|
+
|
|
76
|
+
:return: The x_environment_id of this ListEipsRequest.
|
|
77
|
+
:rtype: str
|
|
78
|
+
"""
|
|
79
|
+
return self._x_environment_id
|
|
80
|
+
|
|
81
|
+
@x_environment_id.setter
|
|
82
|
+
def x_environment_id(self, x_environment_id):
|
|
83
|
+
r"""Sets the x_environment_id of this ListEipsRequest.
|
|
84
|
+
|
|
85
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
86
|
+
|
|
87
|
+
:param x_environment_id: The x_environment_id of this ListEipsRequest.
|
|
88
|
+
:type x_environment_id: str
|
|
89
|
+
"""
|
|
90
|
+
self._x_environment_id = x_environment_id
|
|
91
|
+
|
|
92
|
+
def to_dict(self):
|
|
93
|
+
result = {}
|
|
94
|
+
|
|
95
|
+
for attr, _ in self.openapi_types.items():
|
|
96
|
+
value = getattr(self, attr)
|
|
97
|
+
if isinstance(value, list):
|
|
98
|
+
result[attr] = list(map(
|
|
99
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
100
|
+
value
|
|
101
|
+
))
|
|
102
|
+
elif hasattr(value, "to_dict"):
|
|
103
|
+
result[attr] = value.to_dict()
|
|
104
|
+
elif isinstance(value, dict):
|
|
105
|
+
result[attr] = dict(map(
|
|
106
|
+
lambda item: (item[0], item[1].to_dict())
|
|
107
|
+
if hasattr(item[1], "to_dict") else item,
|
|
108
|
+
value.items()
|
|
109
|
+
))
|
|
110
|
+
else:
|
|
111
|
+
if attr in self.sensitive_list:
|
|
112
|
+
result[attr] = "****"
|
|
113
|
+
else:
|
|
114
|
+
result[attr] = value
|
|
115
|
+
|
|
116
|
+
return result
|
|
117
|
+
|
|
118
|
+
def to_str(self):
|
|
119
|
+
"""Returns the string representation of the model"""
|
|
120
|
+
import simplejson as json
|
|
121
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
122
|
+
|
|
123
|
+
def __repr__(self):
|
|
124
|
+
"""For `print`"""
|
|
125
|
+
return self.to_str()
|
|
126
|
+
|
|
127
|
+
def __eq__(self, other):
|
|
128
|
+
"""Returns true if both objects are equal"""
|
|
129
|
+
if not isinstance(other, ListEipsRequest):
|
|
130
|
+
return False
|
|
131
|
+
|
|
132
|
+
return self.__dict__ == other.__dict__
|
|
133
|
+
|
|
134
|
+
def __ne__(self, other):
|
|
135
|
+
"""Returns true if both objects are not equal"""
|
|
136
|
+
return not self == other
|