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,162 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ListCertificatesResponse(SdkResponse):
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
Attributes:
|
|
11
|
+
openapi_types (dict): The key is attribute name
|
|
12
|
+
and the value is attribute type.
|
|
13
|
+
attribute_map (dict): The key is attribute name
|
|
14
|
+
and the value is json key in definition.
|
|
15
|
+
"""
|
|
16
|
+
sensitive_list = []
|
|
17
|
+
|
|
18
|
+
openapi_types = {
|
|
19
|
+
'api_version': 'ApiVersionObj',
|
|
20
|
+
'kind': 'CertificateKindObj',
|
|
21
|
+
'items': 'list[CertItem]'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'api_version': 'api_version',
|
|
26
|
+
'kind': 'kind',
|
|
27
|
+
'items': 'items'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def __init__(self, api_version=None, kind=None, items=None):
|
|
31
|
+
r"""ListCertificatesResponse
|
|
32
|
+
|
|
33
|
+
The model defined in huaweicloud sdk
|
|
34
|
+
|
|
35
|
+
:param api_version:
|
|
36
|
+
:type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
37
|
+
:param kind:
|
|
38
|
+
:type kind: :class:`huaweicloudsdkcae.v1.CertificateKindObj`
|
|
39
|
+
:param items: 证书列表。
|
|
40
|
+
:type items: list[:class:`huaweicloudsdkcae.v1.CertItem`]
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
super().__init__()
|
|
44
|
+
|
|
45
|
+
self._api_version = None
|
|
46
|
+
self._kind = None
|
|
47
|
+
self._items = None
|
|
48
|
+
self.discriminator = None
|
|
49
|
+
|
|
50
|
+
if api_version is not None:
|
|
51
|
+
self.api_version = api_version
|
|
52
|
+
if kind is not None:
|
|
53
|
+
self.kind = kind
|
|
54
|
+
if items is not None:
|
|
55
|
+
self.items = items
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def api_version(self):
|
|
59
|
+
r"""Gets the api_version of this ListCertificatesResponse.
|
|
60
|
+
|
|
61
|
+
:return: The api_version of this ListCertificatesResponse.
|
|
62
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
63
|
+
"""
|
|
64
|
+
return self._api_version
|
|
65
|
+
|
|
66
|
+
@api_version.setter
|
|
67
|
+
def api_version(self, api_version):
|
|
68
|
+
r"""Sets the api_version of this ListCertificatesResponse.
|
|
69
|
+
|
|
70
|
+
:param api_version: The api_version of this ListCertificatesResponse.
|
|
71
|
+
:type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
72
|
+
"""
|
|
73
|
+
self._api_version = api_version
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def kind(self):
|
|
77
|
+
r"""Gets the kind of this ListCertificatesResponse.
|
|
78
|
+
|
|
79
|
+
:return: The kind of this ListCertificatesResponse.
|
|
80
|
+
:rtype: :class:`huaweicloudsdkcae.v1.CertificateKindObj`
|
|
81
|
+
"""
|
|
82
|
+
return self._kind
|
|
83
|
+
|
|
84
|
+
@kind.setter
|
|
85
|
+
def kind(self, kind):
|
|
86
|
+
r"""Sets the kind of this ListCertificatesResponse.
|
|
87
|
+
|
|
88
|
+
:param kind: The kind of this ListCertificatesResponse.
|
|
89
|
+
:type kind: :class:`huaweicloudsdkcae.v1.CertificateKindObj`
|
|
90
|
+
"""
|
|
91
|
+
self._kind = kind
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
def items(self):
|
|
95
|
+
r"""Gets the items of this ListCertificatesResponse.
|
|
96
|
+
|
|
97
|
+
证书列表。
|
|
98
|
+
|
|
99
|
+
:return: The items of this ListCertificatesResponse.
|
|
100
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.CertItem`]
|
|
101
|
+
"""
|
|
102
|
+
return self._items
|
|
103
|
+
|
|
104
|
+
@items.setter
|
|
105
|
+
def items(self, items):
|
|
106
|
+
r"""Sets the items of this ListCertificatesResponse.
|
|
107
|
+
|
|
108
|
+
证书列表。
|
|
109
|
+
|
|
110
|
+
:param items: The items of this ListCertificatesResponse.
|
|
111
|
+
:type items: list[:class:`huaweicloudsdkcae.v1.CertItem`]
|
|
112
|
+
"""
|
|
113
|
+
self._items = items
|
|
114
|
+
|
|
115
|
+
def to_dict(self):
|
|
116
|
+
import warnings
|
|
117
|
+
warnings.warn("ListCertificatesResponse.to_dict() is deprecated and no longer maintained, "
|
|
118
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
119
|
+
result = {}
|
|
120
|
+
|
|
121
|
+
for attr, _ in self.openapi_types.items():
|
|
122
|
+
value = getattr(self, attr)
|
|
123
|
+
if isinstance(value, list):
|
|
124
|
+
result[attr] = list(map(
|
|
125
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
126
|
+
value
|
|
127
|
+
))
|
|
128
|
+
elif hasattr(value, "to_dict"):
|
|
129
|
+
result[attr] = value.to_dict()
|
|
130
|
+
elif isinstance(value, dict):
|
|
131
|
+
result[attr] = dict(map(
|
|
132
|
+
lambda item: (item[0], item[1].to_dict())
|
|
133
|
+
if hasattr(item[1], "to_dict") else item,
|
|
134
|
+
value.items()
|
|
135
|
+
))
|
|
136
|
+
else:
|
|
137
|
+
if attr in self.sensitive_list:
|
|
138
|
+
result[attr] = "****"
|
|
139
|
+
else:
|
|
140
|
+
result[attr] = value
|
|
141
|
+
|
|
142
|
+
return result
|
|
143
|
+
|
|
144
|
+
def to_str(self):
|
|
145
|
+
"""Returns the string representation of the model"""
|
|
146
|
+
import simplejson as json
|
|
147
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
148
|
+
|
|
149
|
+
def __repr__(self):
|
|
150
|
+
"""For `print`"""
|
|
151
|
+
return self.to_str()
|
|
152
|
+
|
|
153
|
+
def __eq__(self, other):
|
|
154
|
+
"""Returns true if both objects are equal"""
|
|
155
|
+
if not isinstance(other, ListCertificatesResponse):
|
|
156
|
+
return False
|
|
157
|
+
|
|
158
|
+
return self.__dict__ == other.__dict__
|
|
159
|
+
|
|
160
|
+
def __ne__(self, other):
|
|
161
|
+
"""Returns true if both objects are not equal"""
|
|
162
|
+
return not self == other
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListComponentConfigurationsRequest:
|
|
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
|
+
'application_id': 'str',
|
|
19
|
+
'component_id': 'str',
|
|
20
|
+
'x_enterprise_project_id': 'str',
|
|
21
|
+
'x_environment_id': 'str',
|
|
22
|
+
'display_mode': 'str'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'application_id': 'application_id',
|
|
27
|
+
'component_id': 'component_id',
|
|
28
|
+
'x_enterprise_project_id': 'X-Enterprise-Project-ID',
|
|
29
|
+
'x_environment_id': 'X-Environment-ID',
|
|
30
|
+
'display_mode': 'displayMode'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, application_id=None, component_id=None, x_enterprise_project_id=None, x_environment_id=None, display_mode=None):
|
|
34
|
+
r"""ListComponentConfigurationsRequest
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param application_id: 应用ID。
|
|
39
|
+
:type application_id: str
|
|
40
|
+
:param component_id: 组件ID。
|
|
41
|
+
:type component_id: str
|
|
42
|
+
:param x_enterprise_project_id: 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
43
|
+
:type x_enterprise_project_id: str
|
|
44
|
+
:param x_environment_id: 环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
45
|
+
:type x_environment_id: str
|
|
46
|
+
:param display_mode: 显示模式,当前只支持“latestEffective”,即只显示最后一次生效配置。
|
|
47
|
+
:type display_mode: str
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
self._application_id = None
|
|
53
|
+
self._component_id = None
|
|
54
|
+
self._x_enterprise_project_id = None
|
|
55
|
+
self._x_environment_id = None
|
|
56
|
+
self._display_mode = None
|
|
57
|
+
self.discriminator = None
|
|
58
|
+
|
|
59
|
+
self.application_id = application_id
|
|
60
|
+
self.component_id = component_id
|
|
61
|
+
if x_enterprise_project_id is not None:
|
|
62
|
+
self.x_enterprise_project_id = x_enterprise_project_id
|
|
63
|
+
self.x_environment_id = x_environment_id
|
|
64
|
+
if display_mode is not None:
|
|
65
|
+
self.display_mode = display_mode
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def application_id(self):
|
|
69
|
+
r"""Gets the application_id of this ListComponentConfigurationsRequest.
|
|
70
|
+
|
|
71
|
+
应用ID。
|
|
72
|
+
|
|
73
|
+
:return: The application_id of this ListComponentConfigurationsRequest.
|
|
74
|
+
:rtype: str
|
|
75
|
+
"""
|
|
76
|
+
return self._application_id
|
|
77
|
+
|
|
78
|
+
@application_id.setter
|
|
79
|
+
def application_id(self, application_id):
|
|
80
|
+
r"""Sets the application_id of this ListComponentConfigurationsRequest.
|
|
81
|
+
|
|
82
|
+
应用ID。
|
|
83
|
+
|
|
84
|
+
:param application_id: The application_id of this ListComponentConfigurationsRequest.
|
|
85
|
+
:type application_id: str
|
|
86
|
+
"""
|
|
87
|
+
self._application_id = application_id
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def component_id(self):
|
|
91
|
+
r"""Gets the component_id of this ListComponentConfigurationsRequest.
|
|
92
|
+
|
|
93
|
+
组件ID。
|
|
94
|
+
|
|
95
|
+
:return: The component_id of this ListComponentConfigurationsRequest.
|
|
96
|
+
:rtype: str
|
|
97
|
+
"""
|
|
98
|
+
return self._component_id
|
|
99
|
+
|
|
100
|
+
@component_id.setter
|
|
101
|
+
def component_id(self, component_id):
|
|
102
|
+
r"""Sets the component_id of this ListComponentConfigurationsRequest.
|
|
103
|
+
|
|
104
|
+
组件ID。
|
|
105
|
+
|
|
106
|
+
:param component_id: The component_id of this ListComponentConfigurationsRequest.
|
|
107
|
+
:type component_id: str
|
|
108
|
+
"""
|
|
109
|
+
self._component_id = component_id
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def x_enterprise_project_id(self):
|
|
113
|
+
r"""Gets the x_enterprise_project_id of this ListComponentConfigurationsRequest.
|
|
114
|
+
|
|
115
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
116
|
+
|
|
117
|
+
:return: The x_enterprise_project_id of this ListComponentConfigurationsRequest.
|
|
118
|
+
:rtype: str
|
|
119
|
+
"""
|
|
120
|
+
return self._x_enterprise_project_id
|
|
121
|
+
|
|
122
|
+
@x_enterprise_project_id.setter
|
|
123
|
+
def x_enterprise_project_id(self, x_enterprise_project_id):
|
|
124
|
+
r"""Sets the x_enterprise_project_id of this ListComponentConfigurationsRequest.
|
|
125
|
+
|
|
126
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
127
|
+
|
|
128
|
+
:param x_enterprise_project_id: The x_enterprise_project_id of this ListComponentConfigurationsRequest.
|
|
129
|
+
:type x_enterprise_project_id: str
|
|
130
|
+
"""
|
|
131
|
+
self._x_enterprise_project_id = x_enterprise_project_id
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def x_environment_id(self):
|
|
135
|
+
r"""Gets the x_environment_id of this ListComponentConfigurationsRequest.
|
|
136
|
+
|
|
137
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
138
|
+
|
|
139
|
+
:return: The x_environment_id of this ListComponentConfigurationsRequest.
|
|
140
|
+
:rtype: str
|
|
141
|
+
"""
|
|
142
|
+
return self._x_environment_id
|
|
143
|
+
|
|
144
|
+
@x_environment_id.setter
|
|
145
|
+
def x_environment_id(self, x_environment_id):
|
|
146
|
+
r"""Sets the x_environment_id of this ListComponentConfigurationsRequest.
|
|
147
|
+
|
|
148
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
149
|
+
|
|
150
|
+
:param x_environment_id: The x_environment_id of this ListComponentConfigurationsRequest.
|
|
151
|
+
:type x_environment_id: str
|
|
152
|
+
"""
|
|
153
|
+
self._x_environment_id = x_environment_id
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
def display_mode(self):
|
|
157
|
+
r"""Gets the display_mode of this ListComponentConfigurationsRequest.
|
|
158
|
+
|
|
159
|
+
显示模式,当前只支持“latestEffective”,即只显示最后一次生效配置。
|
|
160
|
+
|
|
161
|
+
:return: The display_mode of this ListComponentConfigurationsRequest.
|
|
162
|
+
:rtype: str
|
|
163
|
+
"""
|
|
164
|
+
return self._display_mode
|
|
165
|
+
|
|
166
|
+
@display_mode.setter
|
|
167
|
+
def display_mode(self, display_mode):
|
|
168
|
+
r"""Sets the display_mode of this ListComponentConfigurationsRequest.
|
|
169
|
+
|
|
170
|
+
显示模式,当前只支持“latestEffective”,即只显示最后一次生效配置。
|
|
171
|
+
|
|
172
|
+
:param display_mode: The display_mode of this ListComponentConfigurationsRequest.
|
|
173
|
+
:type display_mode: str
|
|
174
|
+
"""
|
|
175
|
+
self._display_mode = display_mode
|
|
176
|
+
|
|
177
|
+
def to_dict(self):
|
|
178
|
+
result = {}
|
|
179
|
+
|
|
180
|
+
for attr, _ in self.openapi_types.items():
|
|
181
|
+
value = getattr(self, attr)
|
|
182
|
+
if isinstance(value, list):
|
|
183
|
+
result[attr] = list(map(
|
|
184
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
185
|
+
value
|
|
186
|
+
))
|
|
187
|
+
elif hasattr(value, "to_dict"):
|
|
188
|
+
result[attr] = value.to_dict()
|
|
189
|
+
elif isinstance(value, dict):
|
|
190
|
+
result[attr] = dict(map(
|
|
191
|
+
lambda item: (item[0], item[1].to_dict())
|
|
192
|
+
if hasattr(item[1], "to_dict") else item,
|
|
193
|
+
value.items()
|
|
194
|
+
))
|
|
195
|
+
else:
|
|
196
|
+
if attr in self.sensitive_list:
|
|
197
|
+
result[attr] = "****"
|
|
198
|
+
else:
|
|
199
|
+
result[attr] = value
|
|
200
|
+
|
|
201
|
+
return result
|
|
202
|
+
|
|
203
|
+
def to_str(self):
|
|
204
|
+
"""Returns the string representation of the model"""
|
|
205
|
+
import simplejson as json
|
|
206
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
207
|
+
|
|
208
|
+
def __repr__(self):
|
|
209
|
+
"""For `print`"""
|
|
210
|
+
return self.to_str()
|
|
211
|
+
|
|
212
|
+
def __eq__(self, other):
|
|
213
|
+
"""Returns true if both objects are equal"""
|
|
214
|
+
if not isinstance(other, ListComponentConfigurationsRequest):
|
|
215
|
+
return False
|
|
216
|
+
|
|
217
|
+
return self.__dict__ == other.__dict__
|
|
218
|
+
|
|
219
|
+
def __ne__(self, other):
|
|
220
|
+
"""Returns true if both objects are not equal"""
|
|
221
|
+
return not self == other
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ListComponentConfigurationsResponse(SdkResponse):
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
Attributes:
|
|
11
|
+
openapi_types (dict): The key is attribute name
|
|
12
|
+
and the value is attribute type.
|
|
13
|
+
attribute_map (dict): The key is attribute name
|
|
14
|
+
and the value is json key in definition.
|
|
15
|
+
"""
|
|
16
|
+
sensitive_list = []
|
|
17
|
+
|
|
18
|
+
openapi_types = {
|
|
19
|
+
'api_version': 'str',
|
|
20
|
+
'kind': 'str',
|
|
21
|
+
'items': 'list[Configuration]'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'api_version': 'api_version',
|
|
26
|
+
'kind': 'kind',
|
|
27
|
+
'items': 'items'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def __init__(self, api_version=None, kind=None, items=None):
|
|
31
|
+
r"""ListComponentConfigurationsResponse
|
|
32
|
+
|
|
33
|
+
The model defined in huaweicloud sdk
|
|
34
|
+
|
|
35
|
+
:param api_version: API版本,固定值“v1”,该值不可修改。
|
|
36
|
+
:type api_version: str
|
|
37
|
+
:param kind: API类型,固定值“ComponentConfiguration”,该值不可修改。
|
|
38
|
+
:type kind: str
|
|
39
|
+
:param items: 组件配置列表。
|
|
40
|
+
:type items: list[:class:`huaweicloudsdkcae.v1.Configuration`]
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
super().__init__()
|
|
44
|
+
|
|
45
|
+
self._api_version = None
|
|
46
|
+
self._kind = None
|
|
47
|
+
self._items = None
|
|
48
|
+
self.discriminator = None
|
|
49
|
+
|
|
50
|
+
if api_version is not None:
|
|
51
|
+
self.api_version = api_version
|
|
52
|
+
if kind is not None:
|
|
53
|
+
self.kind = kind
|
|
54
|
+
if items is not None:
|
|
55
|
+
self.items = items
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def api_version(self):
|
|
59
|
+
r"""Gets the api_version of this ListComponentConfigurationsResponse.
|
|
60
|
+
|
|
61
|
+
API版本,固定值“v1”,该值不可修改。
|
|
62
|
+
|
|
63
|
+
:return: The api_version of this ListComponentConfigurationsResponse.
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._api_version
|
|
67
|
+
|
|
68
|
+
@api_version.setter
|
|
69
|
+
def api_version(self, api_version):
|
|
70
|
+
r"""Sets the api_version of this ListComponentConfigurationsResponse.
|
|
71
|
+
|
|
72
|
+
API版本,固定值“v1”,该值不可修改。
|
|
73
|
+
|
|
74
|
+
:param api_version: The api_version of this ListComponentConfigurationsResponse.
|
|
75
|
+
:type api_version: str
|
|
76
|
+
"""
|
|
77
|
+
self._api_version = api_version
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def kind(self):
|
|
81
|
+
r"""Gets the kind of this ListComponentConfigurationsResponse.
|
|
82
|
+
|
|
83
|
+
API类型,固定值“ComponentConfiguration”,该值不可修改。
|
|
84
|
+
|
|
85
|
+
:return: The kind of this ListComponentConfigurationsResponse.
|
|
86
|
+
:rtype: str
|
|
87
|
+
"""
|
|
88
|
+
return self._kind
|
|
89
|
+
|
|
90
|
+
@kind.setter
|
|
91
|
+
def kind(self, kind):
|
|
92
|
+
r"""Sets the kind of this ListComponentConfigurationsResponse.
|
|
93
|
+
|
|
94
|
+
API类型,固定值“ComponentConfiguration”,该值不可修改。
|
|
95
|
+
|
|
96
|
+
:param kind: The kind of this ListComponentConfigurationsResponse.
|
|
97
|
+
:type kind: str
|
|
98
|
+
"""
|
|
99
|
+
self._kind = kind
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def items(self):
|
|
103
|
+
r"""Gets the items of this ListComponentConfigurationsResponse.
|
|
104
|
+
|
|
105
|
+
组件配置列表。
|
|
106
|
+
|
|
107
|
+
:return: The items of this ListComponentConfigurationsResponse.
|
|
108
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.Configuration`]
|
|
109
|
+
"""
|
|
110
|
+
return self._items
|
|
111
|
+
|
|
112
|
+
@items.setter
|
|
113
|
+
def items(self, items):
|
|
114
|
+
r"""Sets the items of this ListComponentConfigurationsResponse.
|
|
115
|
+
|
|
116
|
+
组件配置列表。
|
|
117
|
+
|
|
118
|
+
:param items: The items of this ListComponentConfigurationsResponse.
|
|
119
|
+
:type items: list[:class:`huaweicloudsdkcae.v1.Configuration`]
|
|
120
|
+
"""
|
|
121
|
+
self._items = items
|
|
122
|
+
|
|
123
|
+
def to_dict(self):
|
|
124
|
+
import warnings
|
|
125
|
+
warnings.warn("ListComponentConfigurationsResponse.to_dict() is deprecated and no longer maintained, "
|
|
126
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
127
|
+
result = {}
|
|
128
|
+
|
|
129
|
+
for attr, _ in self.openapi_types.items():
|
|
130
|
+
value = getattr(self, attr)
|
|
131
|
+
if isinstance(value, list):
|
|
132
|
+
result[attr] = list(map(
|
|
133
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
134
|
+
value
|
|
135
|
+
))
|
|
136
|
+
elif hasattr(value, "to_dict"):
|
|
137
|
+
result[attr] = value.to_dict()
|
|
138
|
+
elif isinstance(value, dict):
|
|
139
|
+
result[attr] = dict(map(
|
|
140
|
+
lambda item: (item[0], item[1].to_dict())
|
|
141
|
+
if hasattr(item[1], "to_dict") else item,
|
|
142
|
+
value.items()
|
|
143
|
+
))
|
|
144
|
+
else:
|
|
145
|
+
if attr in self.sensitive_list:
|
|
146
|
+
result[attr] = "****"
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
|
|
150
|
+
return result
|
|
151
|
+
|
|
152
|
+
def to_str(self):
|
|
153
|
+
"""Returns the string representation of the model"""
|
|
154
|
+
import simplejson as json
|
|
155
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
156
|
+
|
|
157
|
+
def __repr__(self):
|
|
158
|
+
"""For `print`"""
|
|
159
|
+
return self.to_str()
|
|
160
|
+
|
|
161
|
+
def __eq__(self, other):
|
|
162
|
+
"""Returns true if both objects are equal"""
|
|
163
|
+
if not isinstance(other, ListComponentConfigurationsResponse):
|
|
164
|
+
return False
|
|
165
|
+
|
|
166
|
+
return self.__dict__ == other.__dict__
|
|
167
|
+
|
|
168
|
+
def __ne__(self, other):
|
|
169
|
+
"""Returns true if both objects are not equal"""
|
|
170
|
+
return not self == other
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListComponentConfigurationsResponseData:
|
|
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
|
+
'spec': 'ConfigurationResponseDataSpec',
|
|
19
|
+
'metadata': 'ConfigurationDataMetadata'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'spec': 'spec',
|
|
24
|
+
'metadata': 'metadata'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, spec=None, metadata=None):
|
|
28
|
+
r"""ListComponentConfigurationsResponseData
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param spec:
|
|
33
|
+
:type spec: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpec`
|
|
34
|
+
:param metadata:
|
|
35
|
+
:type metadata: :class:`huaweicloudsdkcae.v1.ConfigurationDataMetadata`
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._spec = None
|
|
41
|
+
self._metadata = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
if spec is not None:
|
|
45
|
+
self.spec = spec
|
|
46
|
+
if metadata is not None:
|
|
47
|
+
self.metadata = metadata
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
def spec(self):
|
|
51
|
+
r"""Gets the spec of this ListComponentConfigurationsResponseData.
|
|
52
|
+
|
|
53
|
+
:return: The spec of this ListComponentConfigurationsResponseData.
|
|
54
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpec`
|
|
55
|
+
"""
|
|
56
|
+
return self._spec
|
|
57
|
+
|
|
58
|
+
@spec.setter
|
|
59
|
+
def spec(self, spec):
|
|
60
|
+
r"""Sets the spec of this ListComponentConfigurationsResponseData.
|
|
61
|
+
|
|
62
|
+
:param spec: The spec of this ListComponentConfigurationsResponseData.
|
|
63
|
+
:type spec: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpec`
|
|
64
|
+
"""
|
|
65
|
+
self._spec = spec
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def metadata(self):
|
|
69
|
+
r"""Gets the metadata of this ListComponentConfigurationsResponseData.
|
|
70
|
+
|
|
71
|
+
:return: The metadata of this ListComponentConfigurationsResponseData.
|
|
72
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ConfigurationDataMetadata`
|
|
73
|
+
"""
|
|
74
|
+
return self._metadata
|
|
75
|
+
|
|
76
|
+
@metadata.setter
|
|
77
|
+
def metadata(self, metadata):
|
|
78
|
+
r"""Sets the metadata of this ListComponentConfigurationsResponseData.
|
|
79
|
+
|
|
80
|
+
:param metadata: The metadata of this ListComponentConfigurationsResponseData.
|
|
81
|
+
:type metadata: :class:`huaweicloudsdkcae.v1.ConfigurationDataMetadata`
|
|
82
|
+
"""
|
|
83
|
+
self._metadata = metadata
|
|
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, ListComponentConfigurationsResponseData):
|
|
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
|