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,159 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class UpdateNoticeRuleReq:
|
|
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
|
+
'api_version': 'str',
|
|
19
|
+
'kind': 'str',
|
|
20
|
+
'spec': 'UpdateNoticeRuleItem'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'api_version': 'api_version',
|
|
25
|
+
'kind': 'kind',
|
|
26
|
+
'spec': 'spec'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, api_version=None, kind=None, spec=None):
|
|
30
|
+
r"""UpdateNoticeRuleReq
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param api_version: API版本,固定值“v1”,该值不可修改。
|
|
35
|
+
:type api_version: str
|
|
36
|
+
:param kind: API类型,固定值“NoticeRule”,该值不可修改。
|
|
37
|
+
:type kind: str
|
|
38
|
+
:param spec:
|
|
39
|
+
:type spec: :class:`huaweicloudsdkcae.v1.UpdateNoticeRuleItem`
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
self._api_version = None
|
|
45
|
+
self._kind = None
|
|
46
|
+
self._spec = None
|
|
47
|
+
self.discriminator = None
|
|
48
|
+
|
|
49
|
+
self.api_version = api_version
|
|
50
|
+
self.kind = kind
|
|
51
|
+
self.spec = spec
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
def api_version(self):
|
|
55
|
+
r"""Gets the api_version of this UpdateNoticeRuleReq.
|
|
56
|
+
|
|
57
|
+
API版本,固定值“v1”,该值不可修改。
|
|
58
|
+
|
|
59
|
+
:return: The api_version of this UpdateNoticeRuleReq.
|
|
60
|
+
:rtype: str
|
|
61
|
+
"""
|
|
62
|
+
return self._api_version
|
|
63
|
+
|
|
64
|
+
@api_version.setter
|
|
65
|
+
def api_version(self, api_version):
|
|
66
|
+
r"""Sets the api_version of this UpdateNoticeRuleReq.
|
|
67
|
+
|
|
68
|
+
API版本,固定值“v1”,该值不可修改。
|
|
69
|
+
|
|
70
|
+
:param api_version: The api_version of this UpdateNoticeRuleReq.
|
|
71
|
+
:type api_version: str
|
|
72
|
+
"""
|
|
73
|
+
self._api_version = api_version
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def kind(self):
|
|
77
|
+
r"""Gets the kind of this UpdateNoticeRuleReq.
|
|
78
|
+
|
|
79
|
+
API类型,固定值“NoticeRule”,该值不可修改。
|
|
80
|
+
|
|
81
|
+
:return: The kind of this UpdateNoticeRuleReq.
|
|
82
|
+
:rtype: str
|
|
83
|
+
"""
|
|
84
|
+
return self._kind
|
|
85
|
+
|
|
86
|
+
@kind.setter
|
|
87
|
+
def kind(self, kind):
|
|
88
|
+
r"""Sets the kind of this UpdateNoticeRuleReq.
|
|
89
|
+
|
|
90
|
+
API类型,固定值“NoticeRule”,该值不可修改。
|
|
91
|
+
|
|
92
|
+
:param kind: The kind of this UpdateNoticeRuleReq.
|
|
93
|
+
:type kind: str
|
|
94
|
+
"""
|
|
95
|
+
self._kind = kind
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
def spec(self):
|
|
99
|
+
r"""Gets the spec of this UpdateNoticeRuleReq.
|
|
100
|
+
|
|
101
|
+
:return: The spec of this UpdateNoticeRuleReq.
|
|
102
|
+
:rtype: :class:`huaweicloudsdkcae.v1.UpdateNoticeRuleItem`
|
|
103
|
+
"""
|
|
104
|
+
return self._spec
|
|
105
|
+
|
|
106
|
+
@spec.setter
|
|
107
|
+
def spec(self, spec):
|
|
108
|
+
r"""Sets the spec of this UpdateNoticeRuleReq.
|
|
109
|
+
|
|
110
|
+
:param spec: The spec of this UpdateNoticeRuleReq.
|
|
111
|
+
:type spec: :class:`huaweicloudsdkcae.v1.UpdateNoticeRuleItem`
|
|
112
|
+
"""
|
|
113
|
+
self._spec = spec
|
|
114
|
+
|
|
115
|
+
def to_dict(self):
|
|
116
|
+
result = {}
|
|
117
|
+
|
|
118
|
+
for attr, _ in self.openapi_types.items():
|
|
119
|
+
value = getattr(self, attr)
|
|
120
|
+
if isinstance(value, list):
|
|
121
|
+
result[attr] = list(map(
|
|
122
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
123
|
+
value
|
|
124
|
+
))
|
|
125
|
+
elif hasattr(value, "to_dict"):
|
|
126
|
+
result[attr] = value.to_dict()
|
|
127
|
+
elif isinstance(value, dict):
|
|
128
|
+
result[attr] = dict(map(
|
|
129
|
+
lambda item: (item[0], item[1].to_dict())
|
|
130
|
+
if hasattr(item[1], "to_dict") else item,
|
|
131
|
+
value.items()
|
|
132
|
+
))
|
|
133
|
+
else:
|
|
134
|
+
if attr in self.sensitive_list:
|
|
135
|
+
result[attr] = "****"
|
|
136
|
+
else:
|
|
137
|
+
result[attr] = value
|
|
138
|
+
|
|
139
|
+
return result
|
|
140
|
+
|
|
141
|
+
def to_str(self):
|
|
142
|
+
"""Returns the string representation of the model"""
|
|
143
|
+
import simplejson as json
|
|
144
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
145
|
+
|
|
146
|
+
def __repr__(self):
|
|
147
|
+
"""For `print`"""
|
|
148
|
+
return self.to_str()
|
|
149
|
+
|
|
150
|
+
def __eq__(self, other):
|
|
151
|
+
"""Returns true if both objects are equal"""
|
|
152
|
+
if not isinstance(other, UpdateNoticeRuleReq):
|
|
153
|
+
return False
|
|
154
|
+
|
|
155
|
+
return self.__dict__ == other.__dict__
|
|
156
|
+
|
|
157
|
+
def __ne__(self, other):
|
|
158
|
+
"""Returns true if both objects are not equal"""
|
|
159
|
+
return not self == other
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class UpdateNoticeRuleRequest:
|
|
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
|
+
'rule_id': 'str',
|
|
20
|
+
'body': 'UpdateNoticeRuleReq'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'x_enterprise_project_id': 'X-Enterprise-Project-ID',
|
|
25
|
+
'rule_id': 'rule_id',
|
|
26
|
+
'body': 'body'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, x_enterprise_project_id=None, rule_id=None, body=None):
|
|
30
|
+
r"""UpdateNoticeRuleRequest
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param x_enterprise_project_id: 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
35
|
+
:type x_enterprise_project_id: str
|
|
36
|
+
:param rule_id:
|
|
37
|
+
:type rule_id: str
|
|
38
|
+
:param body: Body of the UpdateNoticeRuleRequest
|
|
39
|
+
:type body: :class:`huaweicloudsdkcae.v1.UpdateNoticeRuleReq`
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
self._x_enterprise_project_id = None
|
|
45
|
+
self._rule_id = None
|
|
46
|
+
self._body = None
|
|
47
|
+
self.discriminator = None
|
|
48
|
+
|
|
49
|
+
if x_enterprise_project_id is not None:
|
|
50
|
+
self.x_enterprise_project_id = x_enterprise_project_id
|
|
51
|
+
self.rule_id = rule_id
|
|
52
|
+
if body is not None:
|
|
53
|
+
self.body = body
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def x_enterprise_project_id(self):
|
|
57
|
+
r"""Gets the x_enterprise_project_id of this UpdateNoticeRuleRequest.
|
|
58
|
+
|
|
59
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
60
|
+
|
|
61
|
+
:return: The x_enterprise_project_id of this UpdateNoticeRuleRequest.
|
|
62
|
+
:rtype: str
|
|
63
|
+
"""
|
|
64
|
+
return self._x_enterprise_project_id
|
|
65
|
+
|
|
66
|
+
@x_enterprise_project_id.setter
|
|
67
|
+
def x_enterprise_project_id(self, x_enterprise_project_id):
|
|
68
|
+
r"""Sets the x_enterprise_project_id of this UpdateNoticeRuleRequest.
|
|
69
|
+
|
|
70
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
71
|
+
|
|
72
|
+
:param x_enterprise_project_id: The x_enterprise_project_id of this UpdateNoticeRuleRequest.
|
|
73
|
+
:type x_enterprise_project_id: str
|
|
74
|
+
"""
|
|
75
|
+
self._x_enterprise_project_id = x_enterprise_project_id
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def rule_id(self):
|
|
79
|
+
r"""Gets the rule_id of this UpdateNoticeRuleRequest.
|
|
80
|
+
|
|
81
|
+
:return: The rule_id of this UpdateNoticeRuleRequest.
|
|
82
|
+
:rtype: str
|
|
83
|
+
"""
|
|
84
|
+
return self._rule_id
|
|
85
|
+
|
|
86
|
+
@rule_id.setter
|
|
87
|
+
def rule_id(self, rule_id):
|
|
88
|
+
r"""Sets the rule_id of this UpdateNoticeRuleRequest.
|
|
89
|
+
|
|
90
|
+
:param rule_id: The rule_id of this UpdateNoticeRuleRequest.
|
|
91
|
+
:type rule_id: str
|
|
92
|
+
"""
|
|
93
|
+
self._rule_id = rule_id
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def body(self):
|
|
97
|
+
r"""Gets the body of this UpdateNoticeRuleRequest.
|
|
98
|
+
|
|
99
|
+
:return: The body of this UpdateNoticeRuleRequest.
|
|
100
|
+
:rtype: :class:`huaweicloudsdkcae.v1.UpdateNoticeRuleReq`
|
|
101
|
+
"""
|
|
102
|
+
return self._body
|
|
103
|
+
|
|
104
|
+
@body.setter
|
|
105
|
+
def body(self, body):
|
|
106
|
+
r"""Sets the body of this UpdateNoticeRuleRequest.
|
|
107
|
+
|
|
108
|
+
:param body: The body of this UpdateNoticeRuleRequest.
|
|
109
|
+
:type body: :class:`huaweicloudsdkcae.v1.UpdateNoticeRuleReq`
|
|
110
|
+
"""
|
|
111
|
+
self._body = body
|
|
112
|
+
|
|
113
|
+
def to_dict(self):
|
|
114
|
+
result = {}
|
|
115
|
+
|
|
116
|
+
for attr, _ in self.openapi_types.items():
|
|
117
|
+
value = getattr(self, attr)
|
|
118
|
+
if isinstance(value, list):
|
|
119
|
+
result[attr] = list(map(
|
|
120
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
121
|
+
value
|
|
122
|
+
))
|
|
123
|
+
elif hasattr(value, "to_dict"):
|
|
124
|
+
result[attr] = value.to_dict()
|
|
125
|
+
elif isinstance(value, dict):
|
|
126
|
+
result[attr] = dict(map(
|
|
127
|
+
lambda item: (item[0], item[1].to_dict())
|
|
128
|
+
if hasattr(item[1], "to_dict") else item,
|
|
129
|
+
value.items()
|
|
130
|
+
))
|
|
131
|
+
else:
|
|
132
|
+
if attr in self.sensitive_list:
|
|
133
|
+
result[attr] = "****"
|
|
134
|
+
else:
|
|
135
|
+
result[attr] = value
|
|
136
|
+
|
|
137
|
+
return result
|
|
138
|
+
|
|
139
|
+
def to_str(self):
|
|
140
|
+
"""Returns the string representation of the model"""
|
|
141
|
+
import simplejson as json
|
|
142
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
143
|
+
|
|
144
|
+
def __repr__(self):
|
|
145
|
+
"""For `print`"""
|
|
146
|
+
return self.to_str()
|
|
147
|
+
|
|
148
|
+
def __eq__(self, other):
|
|
149
|
+
"""Returns true if both objects are equal"""
|
|
150
|
+
if not isinstance(other, UpdateNoticeRuleRequest):
|
|
151
|
+
return False
|
|
152
|
+
|
|
153
|
+
return self.__dict__ == other.__dict__
|
|
154
|
+
|
|
155
|
+
def __ne__(self, other):
|
|
156
|
+
"""Returns true if both objects are not equal"""
|
|
157
|
+
return not self == other
|
|
@@ -0,0 +1,166 @@
|
|
|
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 UpdateNoticeRuleResponse(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
|
+
'spec': 'CreateNoticeRuleRespItem'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'api_version': 'api_version',
|
|
26
|
+
'kind': 'kind',
|
|
27
|
+
'spec': 'spec'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def __init__(self, api_version=None, kind=None, spec=None):
|
|
31
|
+
r"""UpdateNoticeRuleResponse
|
|
32
|
+
|
|
33
|
+
The model defined in huaweicloud sdk
|
|
34
|
+
|
|
35
|
+
:param api_version: API版本,固定值“v1”,该值不可修改。
|
|
36
|
+
:type api_version: str
|
|
37
|
+
:param kind: API类型,固定值“NoticeRule”,该值不可修改。
|
|
38
|
+
:type kind: str
|
|
39
|
+
:param spec:
|
|
40
|
+
:type spec: :class:`huaweicloudsdkcae.v1.CreateNoticeRuleRespItem`
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
super().__init__()
|
|
44
|
+
|
|
45
|
+
self._api_version = None
|
|
46
|
+
self._kind = None
|
|
47
|
+
self._spec = 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 spec is not None:
|
|
55
|
+
self.spec = spec
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def api_version(self):
|
|
59
|
+
r"""Gets the api_version of this UpdateNoticeRuleResponse.
|
|
60
|
+
|
|
61
|
+
API版本,固定值“v1”,该值不可修改。
|
|
62
|
+
|
|
63
|
+
:return: The api_version of this UpdateNoticeRuleResponse.
|
|
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 UpdateNoticeRuleResponse.
|
|
71
|
+
|
|
72
|
+
API版本,固定值“v1”,该值不可修改。
|
|
73
|
+
|
|
74
|
+
:param api_version: The api_version of this UpdateNoticeRuleResponse.
|
|
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 UpdateNoticeRuleResponse.
|
|
82
|
+
|
|
83
|
+
API类型,固定值“NoticeRule”,该值不可修改。
|
|
84
|
+
|
|
85
|
+
:return: The kind of this UpdateNoticeRuleResponse.
|
|
86
|
+
:rtype: str
|
|
87
|
+
"""
|
|
88
|
+
return self._kind
|
|
89
|
+
|
|
90
|
+
@kind.setter
|
|
91
|
+
def kind(self, kind):
|
|
92
|
+
r"""Sets the kind of this UpdateNoticeRuleResponse.
|
|
93
|
+
|
|
94
|
+
API类型,固定值“NoticeRule”,该值不可修改。
|
|
95
|
+
|
|
96
|
+
:param kind: The kind of this UpdateNoticeRuleResponse.
|
|
97
|
+
:type kind: str
|
|
98
|
+
"""
|
|
99
|
+
self._kind = kind
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def spec(self):
|
|
103
|
+
r"""Gets the spec of this UpdateNoticeRuleResponse.
|
|
104
|
+
|
|
105
|
+
:return: The spec of this UpdateNoticeRuleResponse.
|
|
106
|
+
:rtype: :class:`huaweicloudsdkcae.v1.CreateNoticeRuleRespItem`
|
|
107
|
+
"""
|
|
108
|
+
return self._spec
|
|
109
|
+
|
|
110
|
+
@spec.setter
|
|
111
|
+
def spec(self, spec):
|
|
112
|
+
r"""Sets the spec of this UpdateNoticeRuleResponse.
|
|
113
|
+
|
|
114
|
+
:param spec: The spec of this UpdateNoticeRuleResponse.
|
|
115
|
+
:type spec: :class:`huaweicloudsdkcae.v1.CreateNoticeRuleRespItem`
|
|
116
|
+
"""
|
|
117
|
+
self._spec = spec
|
|
118
|
+
|
|
119
|
+
def to_dict(self):
|
|
120
|
+
import warnings
|
|
121
|
+
warnings.warn("UpdateNoticeRuleResponse.to_dict() is deprecated and no longer maintained, "
|
|
122
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
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, UpdateNoticeRuleResponse):
|
|
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,161 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class UpdateSecretRequest:
|
|
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
|
+
'secret_id': 'str',
|
|
19
|
+
'x_enterprise_project_id': 'str',
|
|
20
|
+
'body': 'CreateOrUpdateSecretReq'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'secret_id': 'secret_id',
|
|
25
|
+
'x_enterprise_project_id': 'X-Enterprise-Project-ID',
|
|
26
|
+
'body': 'body'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, secret_id=None, x_enterprise_project_id=None, body=None):
|
|
30
|
+
r"""UpdateSecretRequest
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param secret_id: 凭据ID。
|
|
35
|
+
:type secret_id: str
|
|
36
|
+
:param x_enterprise_project_id: 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
37
|
+
:type x_enterprise_project_id: str
|
|
38
|
+
:param body: Body of the UpdateSecretRequest
|
|
39
|
+
:type body: :class:`huaweicloudsdkcae.v1.CreateOrUpdateSecretReq`
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
self._secret_id = None
|
|
45
|
+
self._x_enterprise_project_id = None
|
|
46
|
+
self._body = None
|
|
47
|
+
self.discriminator = None
|
|
48
|
+
|
|
49
|
+
self.secret_id = secret_id
|
|
50
|
+
if x_enterprise_project_id is not None:
|
|
51
|
+
self.x_enterprise_project_id = x_enterprise_project_id
|
|
52
|
+
if body is not None:
|
|
53
|
+
self.body = body
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def secret_id(self):
|
|
57
|
+
r"""Gets the secret_id of this UpdateSecretRequest.
|
|
58
|
+
|
|
59
|
+
凭据ID。
|
|
60
|
+
|
|
61
|
+
:return: The secret_id of this UpdateSecretRequest.
|
|
62
|
+
:rtype: str
|
|
63
|
+
"""
|
|
64
|
+
return self._secret_id
|
|
65
|
+
|
|
66
|
+
@secret_id.setter
|
|
67
|
+
def secret_id(self, secret_id):
|
|
68
|
+
r"""Sets the secret_id of this UpdateSecretRequest.
|
|
69
|
+
|
|
70
|
+
凭据ID。
|
|
71
|
+
|
|
72
|
+
:param secret_id: The secret_id of this UpdateSecretRequest.
|
|
73
|
+
:type secret_id: str
|
|
74
|
+
"""
|
|
75
|
+
self._secret_id = secret_id
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def x_enterprise_project_id(self):
|
|
79
|
+
r"""Gets the x_enterprise_project_id of this UpdateSecretRequest.
|
|
80
|
+
|
|
81
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
82
|
+
|
|
83
|
+
:return: The x_enterprise_project_id of this UpdateSecretRequest.
|
|
84
|
+
:rtype: str
|
|
85
|
+
"""
|
|
86
|
+
return self._x_enterprise_project_id
|
|
87
|
+
|
|
88
|
+
@x_enterprise_project_id.setter
|
|
89
|
+
def x_enterprise_project_id(self, x_enterprise_project_id):
|
|
90
|
+
r"""Sets the x_enterprise_project_id of this UpdateSecretRequest.
|
|
91
|
+
|
|
92
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
93
|
+
|
|
94
|
+
:param x_enterprise_project_id: The x_enterprise_project_id of this UpdateSecretRequest.
|
|
95
|
+
:type x_enterprise_project_id: str
|
|
96
|
+
"""
|
|
97
|
+
self._x_enterprise_project_id = x_enterprise_project_id
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def body(self):
|
|
101
|
+
r"""Gets the body of this UpdateSecretRequest.
|
|
102
|
+
|
|
103
|
+
:return: The body of this UpdateSecretRequest.
|
|
104
|
+
:rtype: :class:`huaweicloudsdkcae.v1.CreateOrUpdateSecretReq`
|
|
105
|
+
"""
|
|
106
|
+
return self._body
|
|
107
|
+
|
|
108
|
+
@body.setter
|
|
109
|
+
def body(self, body):
|
|
110
|
+
r"""Sets the body of this UpdateSecretRequest.
|
|
111
|
+
|
|
112
|
+
:param body: The body of this UpdateSecretRequest.
|
|
113
|
+
:type body: :class:`huaweicloudsdkcae.v1.CreateOrUpdateSecretReq`
|
|
114
|
+
"""
|
|
115
|
+
self._body = body
|
|
116
|
+
|
|
117
|
+
def to_dict(self):
|
|
118
|
+
result = {}
|
|
119
|
+
|
|
120
|
+
for attr, _ in self.openapi_types.items():
|
|
121
|
+
value = getattr(self, attr)
|
|
122
|
+
if isinstance(value, list):
|
|
123
|
+
result[attr] = list(map(
|
|
124
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
125
|
+
value
|
|
126
|
+
))
|
|
127
|
+
elif hasattr(value, "to_dict"):
|
|
128
|
+
result[attr] = value.to_dict()
|
|
129
|
+
elif isinstance(value, dict):
|
|
130
|
+
result[attr] = dict(map(
|
|
131
|
+
lambda item: (item[0], item[1].to_dict())
|
|
132
|
+
if hasattr(item[1], "to_dict") else item,
|
|
133
|
+
value.items()
|
|
134
|
+
))
|
|
135
|
+
else:
|
|
136
|
+
if attr in self.sensitive_list:
|
|
137
|
+
result[attr] = "****"
|
|
138
|
+
else:
|
|
139
|
+
result[attr] = value
|
|
140
|
+
|
|
141
|
+
return result
|
|
142
|
+
|
|
143
|
+
def to_str(self):
|
|
144
|
+
"""Returns the string representation of the model"""
|
|
145
|
+
import simplejson as json
|
|
146
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
147
|
+
|
|
148
|
+
def __repr__(self):
|
|
149
|
+
"""For `print`"""
|
|
150
|
+
return self.to_str()
|
|
151
|
+
|
|
152
|
+
def __eq__(self, other):
|
|
153
|
+
"""Returns true if both objects are equal"""
|
|
154
|
+
if not isinstance(other, UpdateSecretRequest):
|
|
155
|
+
return False
|
|
156
|
+
|
|
157
|
+
return self.__dict__ == other.__dict__
|
|
158
|
+
|
|
159
|
+
def __ne__(self, other):
|
|
160
|
+
"""Returns true if both objects are not equal"""
|
|
161
|
+
return not self == other
|