huaweicloudsdkosm 3.1.174__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.
- huaweicloudsdkosm/__init__.py +0 -0
- huaweicloudsdkosm/v2/__init__.py +247 -0
- huaweicloudsdkosm/v2/model/__init__.py +244 -0
- huaweicloudsdkosm/v2/model/accessory_json_format_req.py +192 -0
- huaweicloudsdkosm/v2/model/accessory_limit_vo.py +166 -0
- huaweicloudsdkosm/v2/model/accessory_url.py +166 -0
- huaweicloudsdkosm/v2/model/agency_v2.py +282 -0
- huaweicloudsdkosm/v2/model/agree_tenant_authorization_v2_req.py +224 -0
- huaweicloudsdkosm/v2/model/agreement_vo.py +253 -0
- huaweicloudsdkosm/v2/model/area_code_simple_info_v2.py +166 -0
- huaweicloudsdkosm/v2/model/case_label_info.py +166 -0
- huaweicloudsdkosm/v2/model/case_query_label.py +166 -0
- huaweicloudsdkosm/v2/model/case_realtion_info.py +166 -0
- huaweicloudsdkosm/v2/model/check_hosts_request.py +219 -0
- huaweicloudsdkosm/v2/model/check_hosts_response.py +141 -0
- huaweicloudsdkosm/v2/model/check_need_verify_request.py +251 -0
- huaweicloudsdkosm/v2/model/check_need_verify_response.py +141 -0
- huaweicloudsdkosm/v2/model/check_verify_codes_request.py +191 -0
- huaweicloudsdkosm/v2/model/check_verify_codes_response.py +141 -0
- huaweicloudsdkosm/v2/model/common_param_v2.py +195 -0
- huaweicloudsdkosm/v2/model/confirm_authorizations_request.py +219 -0
- huaweicloudsdkosm/v2/model/confirm_authorizations_response.py +141 -0
- huaweicloudsdkosm/v2/model/contact_v2.py +195 -0
- huaweicloudsdkosm/v2/model/contact_way_info_v2.py +336 -0
- huaweicloudsdkosm/v2/model/create_and_delete_privilege_req.py +136 -0
- huaweicloudsdkosm/v2/model/create_case_extends_param_request.py +219 -0
- huaweicloudsdkosm/v2/model/create_case_extends_param_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_case_labels_request.py +222 -0
- huaweicloudsdkosm/v2/model/create_case_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_cases_request.py +249 -0
- huaweicloudsdkosm/v2/model/create_cases_response.py +112 -0
- huaweicloudsdkosm/v2/model/create_diagnose_feedback_request.py +104 -0
- huaweicloudsdkosm/v2/model/create_diagnose_feedback_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_diagnose_job_request.py +104 -0
- huaweicloudsdkosm/v2/model/create_diagnose_job_response.py +170 -0
- huaweicloudsdkosm/v2/model/create_feedback_req.py +164 -0
- huaweicloudsdkosm/v2/model/create_feedback_request.py +104 -0
- huaweicloudsdkosm/v2/model/create_feedback_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_feedback_v2_req.py +240 -0
- huaweicloudsdkosm/v2/model/create_labels_req.py +135 -0
- huaweicloudsdkosm/v2/model/create_labels_request.py +191 -0
- huaweicloudsdkosm/v2/model/create_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_message_do_v2.py +136 -0
- huaweicloudsdkosm/v2/model/create_message_v2_req.py +132 -0
- huaweicloudsdkosm/v2/model/create_messages_request.py +219 -0
- huaweicloudsdkosm/v2/model/create_messages_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_order_incident_v2_req.py +540 -0
- huaweicloudsdkosm/v2/model/create_privileges_request.py +191 -0
- huaweicloudsdkosm/v2/model/create_privileges_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_relations_req.py +136 -0
- huaweicloudsdkosm/v2/model/create_relations_request.py +219 -0
- huaweicloudsdkosm/v2/model/create_relations_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_score_v2_req.py +164 -0
- huaweicloudsdkosm/v2/model/create_scores_request.py +219 -0
- huaweicloudsdkosm/v2/model/create_scores_response.py +141 -0
- huaweicloudsdkosm/v2/model/data_center_v2_do.py +195 -0
- huaweicloudsdkosm/v2/model/delete_accessories_request.py +194 -0
- huaweicloudsdkosm/v2/model/delete_accessories_response.py +141 -0
- huaweicloudsdkosm/v2/model/delete_case_labels_request.py +222 -0
- huaweicloudsdkosm/v2/model/delete_case_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/delete_labels_request.py +194 -0
- huaweicloudsdkosm/v2/model/delete_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/delete_relation_request.py +219 -0
- huaweicloudsdkosm/v2/model/delete_relation_response.py +141 -0
- huaweicloudsdkosm/v2/model/delete_relations_req.py +136 -0
- huaweicloudsdkosm/v2/model/diagnose_record_vo.py +340 -0
- huaweicloudsdkosm/v2/model/diagnose_resource_vo.py +398 -0
- huaweicloudsdkosm/v2/model/download_accessories_request.py +223 -0
- huaweicloudsdkosm/v2/model/download_accessories_response.py +81 -0
- huaweicloudsdkosm/v2/model/download_cases_request.py +541 -0
- huaweicloudsdkosm/v2/model/download_cases_response.py +81 -0
- huaweicloudsdkosm/v2/model/download_images_request.py +223 -0
- huaweicloudsdkosm/v2/model/download_images_response.py +81 -0
- huaweicloudsdkosm/v2/model/extends_param_v2.py +485 -0
- huaweicloudsdkosm/v2/model/file_operate_log.py +311 -0
- huaweicloudsdkosm/v2/model/im_status_v2.py +137 -0
- huaweicloudsdkosm/v2/model/im_unread_v2.py +166 -0
- huaweicloudsdkosm/v2/model/incident_detail_ext_info_v2.py +282 -0
- huaweicloudsdkosm/v2/model/incident_detail_info_v2.py +586 -0
- huaweicloudsdkosm/v2/model/incident_info.py +456 -0
- huaweicloudsdkosm/v2/model/incident_info_v2.py +535 -0
- huaweicloudsdkosm/v2/model/incident_message_v2.py +311 -0
- huaweicloudsdkosm/v2/model/incident_operate_log_v2.py +340 -0
- huaweicloudsdkosm/v2/model/incident_order_auth_detail_info_v2.py +282 -0
- huaweicloudsdkosm/v2/model/incident_order_auth_v2.py +572 -0
- huaweicloudsdkosm/v2/model/incident_order_cc_email_info_v2.py +166 -0
- huaweicloudsdkosm/v2/model/incident_product_category_v2.py +224 -0
- huaweicloudsdkosm/v2/model/incident_satisfaction_v2_do.py +280 -0
- huaweicloudsdkosm/v2/model/incident_status_count.py +137 -0
- huaweicloudsdkosm/v2/model/incident_sub_type_v2_do.py +166 -0
- huaweicloudsdkosm/v2/model/incident_temp_v2.py +166 -0
- huaweicloudsdkosm/v2/model/intellectual_property_v2.py +195 -0
- huaweicloudsdkosm/v2/model/item_result_detail_vo.py +311 -0
- huaweicloudsdkosm/v2/model/item_result_vo.py +282 -0
- huaweicloudsdkosm/v2/model/label_info.py +166 -0
- huaweicloudsdkosm/v2/model/list_accessory_access_urls_request.py +223 -0
- huaweicloudsdkosm/v2/model/list_accessory_access_urls_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_agencies_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_agencies_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_area_codes_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_area_codes_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_authorizations_request.py +369 -0
- huaweicloudsdkosm/v2/model/list_authorizations_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_case_categories_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_case_categories_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_case_cc_emails_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_case_cc_emails_response.py +137 -0
- huaweicloudsdkosm/v2/model/list_case_counts_request.py +195 -0
- huaweicloudsdkosm/v2/model/list_case_counts_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_case_labels_request.py +194 -0
- huaweicloudsdkosm/v2/model/list_case_labels_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_case_limits_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_case_limits_response.py +108 -0
- huaweicloudsdkosm/v2/model/list_case_operate_logs_request.py +281 -0
- huaweicloudsdkosm/v2/model/list_case_operate_logs_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_case_quotas_request.py +223 -0
- huaweicloudsdkosm/v2/model/list_case_quotas_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_case_templates_request.py +194 -0
- huaweicloudsdkosm/v2/model/list_case_templates_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_cases_request.py +543 -0
- huaweicloudsdkosm/v2/model/list_cases_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_customers_regions_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_customers_regions_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_diagnose_items_request.py +104 -0
- huaweicloudsdkosm/v2/model/list_diagnose_items_response.py +170 -0
- huaweicloudsdkosm/v2/model/list_diagnose_job_request.py +108 -0
- huaweicloudsdkosm/v2/model/list_diagnose_job_response.py +286 -0
- huaweicloudsdkosm/v2/model/list_diagnose_records_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_diagnose_records_response.py +199 -0
- huaweicloudsdkosm/v2/model/list_diagnose_resources_request.py +104 -0
- huaweicloudsdkosm/v2/model/list_diagnose_resources_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_extends_params_request.py +252 -0
- huaweicloudsdkosm/v2/model/list_extends_params_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_has_verified_contacts_request.py +427 -0
- huaweicloudsdkosm/v2/model/list_has_verified_contacts_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_history_operate_logs_request.py +366 -0
- huaweicloudsdkosm/v2/model/list_history_operate_logs_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_history_sessions_request.py +309 -0
- huaweicloudsdkosm/v2/model/list_history_sessions_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_labels_request.py +282 -0
- huaweicloudsdkosm/v2/model/list_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_messages_request.py +281 -0
- huaweicloudsdkosm/v2/model/list_messages_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_more_instant_messages_request.py +307 -0
- huaweicloudsdkosm/v2/model/list_more_instant_messages_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_new_instant_messages_request.py +252 -0
- huaweicloudsdkosm/v2/model/list_new_instant_messages_response.py +170 -0
- huaweicloudsdkosm/v2/model/list_order_incident_request.py +543 -0
- huaweicloudsdkosm/v2/model/list_order_incident_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_privileges_request.py +194 -0
- huaweicloudsdkosm/v2/model/list_privileges_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_problem_types_request.py +195 -0
- huaweicloudsdkosm/v2/model/list_problem_types_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_product_categories_request.py +195 -0
- huaweicloudsdkosm/v2/model/list_product_categories_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_regions_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_regions_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_relation_request.py +194 -0
- huaweicloudsdkosm/v2/model/list_relation_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_severities_request.py +222 -0
- huaweicloudsdkosm/v2/model/list_severities_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_sub_customers_request.py +224 -0
- huaweicloudsdkosm/v2/model/list_sub_customers_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_transport_histories_request.py +366 -0
- huaweicloudsdkosm/v2/model/list_transport_histories_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_request.py +223 -0
- huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_response.py +112 -0
- huaweicloudsdkosm/v2/model/operate_authorization_v2_req.py +137 -0
- huaweicloudsdkosm/v2/model/operate_history_session.py +195 -0
- huaweicloudsdkosm/v2/model/operate_log.py +137 -0
- huaweicloudsdkosm/v2/model/partners_service_info.py +224 -0
- huaweicloudsdkosm/v2/model/put_case_ext_param_req.py +166 -0
- huaweicloudsdkosm/v2/model/query_diagnose_items_req.py +137 -0
- huaweicloudsdkosm/v2/model/query_message_info_v2.py +340 -0
- huaweicloudsdkosm/v2/model/query_tsc_diagnose_resources_req.py +137 -0
- huaweicloudsdkosm/v2/model/region.py +137 -0
- huaweicloudsdkosm/v2/model/revoke_message_request.py +222 -0
- huaweicloudsdkosm/v2/model/revoke_message_response.py +141 -0
- huaweicloudsdkosm/v2/model/satisfaction_dimension_simple_info_v2.py +253 -0
- huaweicloudsdkosm/v2/model/send_verify_code_req.py +163 -0
- huaweicloudsdkosm/v2/model/send_verify_codes_request.py +191 -0
- huaweicloudsdkosm/v2/model/send_verify_codes_response.py +141 -0
- huaweicloudsdkosm/v2/model/severity_v2_do.py +166 -0
- huaweicloudsdkosm/v2/model/show_accessory_limits_request.py +166 -0
- huaweicloudsdkosm/v2/model/show_accessory_limits_response.py +108 -0
- huaweicloudsdkosm/v2/model/show_authorization_detail_request.py +223 -0
- huaweicloudsdkosm/v2/model/show_authorization_detail_response.py +605 -0
- huaweicloudsdkosm/v2/model/show_case_detail_request.py +223 -0
- huaweicloudsdkosm/v2/model/show_case_detail_response.py +108 -0
- huaweicloudsdkosm/v2/model/show_case_extends_param_request.py +223 -0
- huaweicloudsdkosm/v2/model/show_case_extends_param_response.py +141 -0
- huaweicloudsdkosm/v2/model/show_case_status_request.py +194 -0
- huaweicloudsdkosm/v2/model/show_case_status_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_configuration_request.py +107 -0
- huaweicloudsdkosm/v2/model/show_configuration_response.py +199 -0
- huaweicloudsdkosm/v2/model/show_customer_privilege_policy_request.py +166 -0
- huaweicloudsdkosm/v2/model/show_customer_privilege_policy_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_download_accessory_url_request.py +193 -0
- huaweicloudsdkosm/v2/model/show_download_accessory_url_response.py +170 -0
- huaweicloudsdkosm/v2/model/show_latest_published_agreement_request.py +195 -0
- huaweicloudsdkosm/v2/model/show_latest_published_agreement_response.py +108 -0
- huaweicloudsdkosm/v2/model/show_login_type_request.py +137 -0
- huaweicloudsdkosm/v2/model/show_login_type_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_partners_cases_privilege_request.py +166 -0
- huaweicloudsdkosm/v2/model/show_partners_cases_privilege_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_partners_service_info_request.py +224 -0
- huaweicloudsdkosm/v2/model/show_partners_service_info_response.py +108 -0
- huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_request.py +195 -0
- huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_response.py +112 -0
- huaweicloudsdkosm/v2/model/sign_agreement_req.py +108 -0
- huaweicloudsdkosm/v2/model/sign_published_agreement_request.py +219 -0
- huaweicloudsdkosm/v2/model/sign_published_agreement_response.py +112 -0
- huaweicloudsdkosm/v2/model/simple_accessory_v2.py +137 -0
- huaweicloudsdkosm/v2/model/simple_incident_business_type_v2.py +195 -0
- huaweicloudsdkosm/v2/model/sub_cutomer_info_v2.py +253 -0
- huaweicloudsdkosm/v2/model/submit_diagnose_job_req.py +165 -0
- huaweicloudsdkosm/v2/model/tenant_agree_auth_detail_v2.py +194 -0
- huaweicloudsdkosm/v2/model/tenant_config_v2.py +108 -0
- huaweicloudsdkosm/v2/model/update_authorizations_request.py +248 -0
- huaweicloudsdkosm/v2/model/update_authorizations_response.py +141 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_req.py +253 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_request.py +219 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_response.py +141 -0
- huaweicloudsdkosm/v2/model/update_cases_request.py +247 -0
- huaweicloudsdkosm/v2/model/update_cases_response.py +141 -0
- huaweicloudsdkosm/v2/model/update_labels_req.py +135 -0
- huaweicloudsdkosm/v2/model/update_labels_request.py +219 -0
- huaweicloudsdkosm/v2/model/update_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/update_new_instant_messages_read_request.py +219 -0
- huaweicloudsdkosm/v2/model/update_new_instant_messages_read_response.py +141 -0
- huaweicloudsdkosm/v2/model/update_unread_new_instant_msg_v2_req.py +108 -0
- huaweicloudsdkosm/v2/model/upload_accessory_request.py +191 -0
- huaweicloudsdkosm/v2/model/upload_accessory_request_body.py +135 -0
- huaweicloudsdkosm/v2/model/upload_accessory_response.py +112 -0
- huaweicloudsdkosm/v2/model/upload_json_accessories_request.py +191 -0
- huaweicloudsdkosm/v2/model/upload_json_accessories_response.py +112 -0
- huaweicloudsdkosm/v2/model/user_instant_incident_msg_v2.py +137 -0
- huaweicloudsdkosm/v2/model/verify_host_v2_req.py +192 -0
- huaweicloudsdkosm/v2/model/verify_verify_code_v2_req.py +250 -0
- huaweicloudsdkosm/v2/model/work_order_operate_v2_req.py +195 -0
- huaweicloudsdkosm/v2/osm_async_client.py +6081 -0
- huaweicloudsdkosm/v2/osm_client.py +6078 -0
- huaweicloudsdkosm/v2/region/__init__.py +0 -0
- huaweicloudsdkosm/v2/region/osm_region.py +31 -0
- huaweicloudsdkosm-3.1.174.dist-info/METADATA +25 -0
- huaweicloudsdkosm-3.1.174.dist-info/RECORD +250 -0
- huaweicloudsdkosm-3.1.174.dist-info/WHEEL +4 -0
- huaweicloudsdkosm-3.1.174.dist-info/licenses/LICENSE +13 -0
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class SubmitDiagnoseJobReq:
|
|
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
|
+
'type': 'int',
|
|
19
|
+
'params': 'dict(str, str)',
|
|
20
|
+
'region_id': 'str'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'type': 'type',
|
|
25
|
+
'params': 'params',
|
|
26
|
+
'region_id': 'region_id'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, type=None, params=None, region_id=None):
|
|
30
|
+
r"""SubmitDiagnoseJobReq
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param type: 任务类型,例如 ecs诊断任务 1,rds诊断任务 2
|
|
35
|
+
:type type: int
|
|
36
|
+
:param params: 类型对应的特有参数,例如ecs需要传eip,rds 需要传输instanceId
|
|
37
|
+
:type params: dict(str, str)
|
|
38
|
+
:param region_id: 节点id
|
|
39
|
+
:type region_id: str
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
self._type = None
|
|
45
|
+
self._params = None
|
|
46
|
+
self._region_id = None
|
|
47
|
+
self.discriminator = None
|
|
48
|
+
|
|
49
|
+
self.type = type
|
|
50
|
+
if params is not None:
|
|
51
|
+
self.params = params
|
|
52
|
+
if region_id is not None:
|
|
53
|
+
self.region_id = region_id
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def type(self):
|
|
57
|
+
r"""Gets the type of this SubmitDiagnoseJobReq.
|
|
58
|
+
|
|
59
|
+
任务类型,例如 ecs诊断任务 1,rds诊断任务 2
|
|
60
|
+
|
|
61
|
+
:return: The type of this SubmitDiagnoseJobReq.
|
|
62
|
+
:rtype: int
|
|
63
|
+
"""
|
|
64
|
+
return self._type
|
|
65
|
+
|
|
66
|
+
@type.setter
|
|
67
|
+
def type(self, type):
|
|
68
|
+
r"""Sets the type of this SubmitDiagnoseJobReq.
|
|
69
|
+
|
|
70
|
+
任务类型,例如 ecs诊断任务 1,rds诊断任务 2
|
|
71
|
+
|
|
72
|
+
:param type: The type of this SubmitDiagnoseJobReq.
|
|
73
|
+
:type type: int
|
|
74
|
+
"""
|
|
75
|
+
self._type = type
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def params(self):
|
|
79
|
+
r"""Gets the params of this SubmitDiagnoseJobReq.
|
|
80
|
+
|
|
81
|
+
类型对应的特有参数,例如ecs需要传eip,rds 需要传输instanceId
|
|
82
|
+
|
|
83
|
+
:return: The params of this SubmitDiagnoseJobReq.
|
|
84
|
+
:rtype: dict(str, str)
|
|
85
|
+
"""
|
|
86
|
+
return self._params
|
|
87
|
+
|
|
88
|
+
@params.setter
|
|
89
|
+
def params(self, params):
|
|
90
|
+
r"""Sets the params of this SubmitDiagnoseJobReq.
|
|
91
|
+
|
|
92
|
+
类型对应的特有参数,例如ecs需要传eip,rds 需要传输instanceId
|
|
93
|
+
|
|
94
|
+
:param params: The params of this SubmitDiagnoseJobReq.
|
|
95
|
+
:type params: dict(str, str)
|
|
96
|
+
"""
|
|
97
|
+
self._params = params
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def region_id(self):
|
|
101
|
+
r"""Gets the region_id of this SubmitDiagnoseJobReq.
|
|
102
|
+
|
|
103
|
+
节点id
|
|
104
|
+
|
|
105
|
+
:return: The region_id of this SubmitDiagnoseJobReq.
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._region_id
|
|
109
|
+
|
|
110
|
+
@region_id.setter
|
|
111
|
+
def region_id(self, region_id):
|
|
112
|
+
r"""Sets the region_id of this SubmitDiagnoseJobReq.
|
|
113
|
+
|
|
114
|
+
节点id
|
|
115
|
+
|
|
116
|
+
:param region_id: The region_id of this SubmitDiagnoseJobReq.
|
|
117
|
+
:type region_id: str
|
|
118
|
+
"""
|
|
119
|
+
self._region_id = region_id
|
|
120
|
+
|
|
121
|
+
def to_dict(self):
|
|
122
|
+
result = {}
|
|
123
|
+
|
|
124
|
+
for attr, _ in self.openapi_types.items():
|
|
125
|
+
value = getattr(self, attr)
|
|
126
|
+
if isinstance(value, list):
|
|
127
|
+
result[attr] = list(map(
|
|
128
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
129
|
+
value
|
|
130
|
+
))
|
|
131
|
+
elif hasattr(value, "to_dict"):
|
|
132
|
+
result[attr] = value.to_dict()
|
|
133
|
+
elif isinstance(value, dict):
|
|
134
|
+
result[attr] = dict(map(
|
|
135
|
+
lambda item: (item[0], item[1].to_dict())
|
|
136
|
+
if hasattr(item[1], "to_dict") else item,
|
|
137
|
+
value.items()
|
|
138
|
+
))
|
|
139
|
+
else:
|
|
140
|
+
if attr in self.sensitive_list:
|
|
141
|
+
result[attr] = "****"
|
|
142
|
+
else:
|
|
143
|
+
result[attr] = value
|
|
144
|
+
|
|
145
|
+
return result
|
|
146
|
+
|
|
147
|
+
def to_str(self):
|
|
148
|
+
"""Returns the string representation of the model"""
|
|
149
|
+
import simplejson as json
|
|
150
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
151
|
+
|
|
152
|
+
def __repr__(self):
|
|
153
|
+
"""For `print`"""
|
|
154
|
+
return self.to_str()
|
|
155
|
+
|
|
156
|
+
def __eq__(self, other):
|
|
157
|
+
"""Returns true if both objects are equal"""
|
|
158
|
+
if not isinstance(other, SubmitDiagnoseJobReq):
|
|
159
|
+
return False
|
|
160
|
+
|
|
161
|
+
return self.__dict__ == other.__dict__
|
|
162
|
+
|
|
163
|
+
def __ne__(self, other):
|
|
164
|
+
"""Returns true if both objects are not equal"""
|
|
165
|
+
return not self == other
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class TenantAgreeAuthDetailV2:
|
|
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
|
+
'port': 'int',
|
|
19
|
+
'account': 'str',
|
|
20
|
+
'password': 'str',
|
|
21
|
+
'auth_detail_id': 'int'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'port': 'port',
|
|
26
|
+
'account': 'account',
|
|
27
|
+
'password': 'password',
|
|
28
|
+
'auth_detail_id': 'auth_detail_id'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
def __init__(self, port=None, account=None, password=None, auth_detail_id=None):
|
|
32
|
+
r"""TenantAgreeAuthDetailV2
|
|
33
|
+
|
|
34
|
+
The model defined in huaweicloud sdk
|
|
35
|
+
|
|
36
|
+
:param port: 端口
|
|
37
|
+
:type port: int
|
|
38
|
+
:param account: 账号
|
|
39
|
+
:type account: str
|
|
40
|
+
:param password: 密码
|
|
41
|
+
:type password: str
|
|
42
|
+
:param auth_detail_id: 授权详情id
|
|
43
|
+
:type auth_detail_id: int
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
self._port = None
|
|
49
|
+
self._account = None
|
|
50
|
+
self._password = None
|
|
51
|
+
self._auth_detail_id = None
|
|
52
|
+
self.discriminator = None
|
|
53
|
+
|
|
54
|
+
if port is not None:
|
|
55
|
+
self.port = port
|
|
56
|
+
if account is not None:
|
|
57
|
+
self.account = account
|
|
58
|
+
if password is not None:
|
|
59
|
+
self.password = password
|
|
60
|
+
self.auth_detail_id = auth_detail_id
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
def port(self):
|
|
64
|
+
r"""Gets the port of this TenantAgreeAuthDetailV2.
|
|
65
|
+
|
|
66
|
+
端口
|
|
67
|
+
|
|
68
|
+
:return: The port of this TenantAgreeAuthDetailV2.
|
|
69
|
+
:rtype: int
|
|
70
|
+
"""
|
|
71
|
+
return self._port
|
|
72
|
+
|
|
73
|
+
@port.setter
|
|
74
|
+
def port(self, port):
|
|
75
|
+
r"""Sets the port of this TenantAgreeAuthDetailV2.
|
|
76
|
+
|
|
77
|
+
端口
|
|
78
|
+
|
|
79
|
+
:param port: The port of this TenantAgreeAuthDetailV2.
|
|
80
|
+
:type port: int
|
|
81
|
+
"""
|
|
82
|
+
self._port = port
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def account(self):
|
|
86
|
+
r"""Gets the account of this TenantAgreeAuthDetailV2.
|
|
87
|
+
|
|
88
|
+
账号
|
|
89
|
+
|
|
90
|
+
:return: The account of this TenantAgreeAuthDetailV2.
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._account
|
|
94
|
+
|
|
95
|
+
@account.setter
|
|
96
|
+
def account(self, account):
|
|
97
|
+
r"""Sets the account of this TenantAgreeAuthDetailV2.
|
|
98
|
+
|
|
99
|
+
账号
|
|
100
|
+
|
|
101
|
+
:param account: The account of this TenantAgreeAuthDetailV2.
|
|
102
|
+
:type account: str
|
|
103
|
+
"""
|
|
104
|
+
self._account = account
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def password(self):
|
|
108
|
+
r"""Gets the password of this TenantAgreeAuthDetailV2.
|
|
109
|
+
|
|
110
|
+
密码
|
|
111
|
+
|
|
112
|
+
:return: The password of this TenantAgreeAuthDetailV2.
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._password
|
|
116
|
+
|
|
117
|
+
@password.setter
|
|
118
|
+
def password(self, password):
|
|
119
|
+
r"""Sets the password of this TenantAgreeAuthDetailV2.
|
|
120
|
+
|
|
121
|
+
密码
|
|
122
|
+
|
|
123
|
+
:param password: The password of this TenantAgreeAuthDetailV2.
|
|
124
|
+
:type password: str
|
|
125
|
+
"""
|
|
126
|
+
self._password = password
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def auth_detail_id(self):
|
|
130
|
+
r"""Gets the auth_detail_id of this TenantAgreeAuthDetailV2.
|
|
131
|
+
|
|
132
|
+
授权详情id
|
|
133
|
+
|
|
134
|
+
:return: The auth_detail_id of this TenantAgreeAuthDetailV2.
|
|
135
|
+
:rtype: int
|
|
136
|
+
"""
|
|
137
|
+
return self._auth_detail_id
|
|
138
|
+
|
|
139
|
+
@auth_detail_id.setter
|
|
140
|
+
def auth_detail_id(self, auth_detail_id):
|
|
141
|
+
r"""Sets the auth_detail_id of this TenantAgreeAuthDetailV2.
|
|
142
|
+
|
|
143
|
+
授权详情id
|
|
144
|
+
|
|
145
|
+
:param auth_detail_id: The auth_detail_id of this TenantAgreeAuthDetailV2.
|
|
146
|
+
:type auth_detail_id: int
|
|
147
|
+
"""
|
|
148
|
+
self._auth_detail_id = auth_detail_id
|
|
149
|
+
|
|
150
|
+
def to_dict(self):
|
|
151
|
+
result = {}
|
|
152
|
+
|
|
153
|
+
for attr, _ in self.openapi_types.items():
|
|
154
|
+
value = getattr(self, attr)
|
|
155
|
+
if isinstance(value, list):
|
|
156
|
+
result[attr] = list(map(
|
|
157
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
158
|
+
value
|
|
159
|
+
))
|
|
160
|
+
elif hasattr(value, "to_dict"):
|
|
161
|
+
result[attr] = value.to_dict()
|
|
162
|
+
elif isinstance(value, dict):
|
|
163
|
+
result[attr] = dict(map(
|
|
164
|
+
lambda item: (item[0], item[1].to_dict())
|
|
165
|
+
if hasattr(item[1], "to_dict") else item,
|
|
166
|
+
value.items()
|
|
167
|
+
))
|
|
168
|
+
else:
|
|
169
|
+
if attr in self.sensitive_list:
|
|
170
|
+
result[attr] = "****"
|
|
171
|
+
else:
|
|
172
|
+
result[attr] = value
|
|
173
|
+
|
|
174
|
+
return result
|
|
175
|
+
|
|
176
|
+
def to_str(self):
|
|
177
|
+
"""Returns the string representation of the model"""
|
|
178
|
+
import simplejson as json
|
|
179
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
180
|
+
|
|
181
|
+
def __repr__(self):
|
|
182
|
+
"""For `print`"""
|
|
183
|
+
return self.to_str()
|
|
184
|
+
|
|
185
|
+
def __eq__(self, other):
|
|
186
|
+
"""Returns true if both objects are equal"""
|
|
187
|
+
if not isinstance(other, TenantAgreeAuthDetailV2):
|
|
188
|
+
return False
|
|
189
|
+
|
|
190
|
+
return self.__dict__ == other.__dict__
|
|
191
|
+
|
|
192
|
+
def __ne__(self, other):
|
|
193
|
+
"""Returns true if both objects are not equal"""
|
|
194
|
+
return not self == other
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class TenantConfigV2:
|
|
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
|
+
'create_case_ccemail_max_count': 'int'
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
attribute_map = {
|
|
22
|
+
'create_case_ccemail_max_count': 'create_case_ccemail_max_count'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
def __init__(self, create_case_ccemail_max_count=None):
|
|
26
|
+
r"""TenantConfigV2
|
|
27
|
+
|
|
28
|
+
The model defined in huaweicloud sdk
|
|
29
|
+
|
|
30
|
+
:param create_case_ccemail_max_count: 抄送邮箱最大个数
|
|
31
|
+
:type create_case_ccemail_max_count: int
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
self._create_case_ccemail_max_count = None
|
|
37
|
+
self.discriminator = None
|
|
38
|
+
|
|
39
|
+
if create_case_ccemail_max_count is not None:
|
|
40
|
+
self.create_case_ccemail_max_count = create_case_ccemail_max_count
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
def create_case_ccemail_max_count(self):
|
|
44
|
+
r"""Gets the create_case_ccemail_max_count of this TenantConfigV2.
|
|
45
|
+
|
|
46
|
+
抄送邮箱最大个数
|
|
47
|
+
|
|
48
|
+
:return: The create_case_ccemail_max_count of this TenantConfigV2.
|
|
49
|
+
:rtype: int
|
|
50
|
+
"""
|
|
51
|
+
return self._create_case_ccemail_max_count
|
|
52
|
+
|
|
53
|
+
@create_case_ccemail_max_count.setter
|
|
54
|
+
def create_case_ccemail_max_count(self, create_case_ccemail_max_count):
|
|
55
|
+
r"""Sets the create_case_ccemail_max_count of this TenantConfigV2.
|
|
56
|
+
|
|
57
|
+
抄送邮箱最大个数
|
|
58
|
+
|
|
59
|
+
:param create_case_ccemail_max_count: The create_case_ccemail_max_count of this TenantConfigV2.
|
|
60
|
+
:type create_case_ccemail_max_count: int
|
|
61
|
+
"""
|
|
62
|
+
self._create_case_ccemail_max_count = create_case_ccemail_max_count
|
|
63
|
+
|
|
64
|
+
def to_dict(self):
|
|
65
|
+
result = {}
|
|
66
|
+
|
|
67
|
+
for attr, _ in self.openapi_types.items():
|
|
68
|
+
value = getattr(self, attr)
|
|
69
|
+
if isinstance(value, list):
|
|
70
|
+
result[attr] = list(map(
|
|
71
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
72
|
+
value
|
|
73
|
+
))
|
|
74
|
+
elif hasattr(value, "to_dict"):
|
|
75
|
+
result[attr] = value.to_dict()
|
|
76
|
+
elif isinstance(value, dict):
|
|
77
|
+
result[attr] = dict(map(
|
|
78
|
+
lambda item: (item[0], item[1].to_dict())
|
|
79
|
+
if hasattr(item[1], "to_dict") else item,
|
|
80
|
+
value.items()
|
|
81
|
+
))
|
|
82
|
+
else:
|
|
83
|
+
if attr in self.sensitive_list:
|
|
84
|
+
result[attr] = "****"
|
|
85
|
+
else:
|
|
86
|
+
result[attr] = value
|
|
87
|
+
|
|
88
|
+
return result
|
|
89
|
+
|
|
90
|
+
def to_str(self):
|
|
91
|
+
"""Returns the string representation of the model"""
|
|
92
|
+
import simplejson as json
|
|
93
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
94
|
+
|
|
95
|
+
def __repr__(self):
|
|
96
|
+
"""For `print`"""
|
|
97
|
+
return self.to_str()
|
|
98
|
+
|
|
99
|
+
def __eq__(self, other):
|
|
100
|
+
"""Returns true if both objects are equal"""
|
|
101
|
+
if not isinstance(other, TenantConfigV2):
|
|
102
|
+
return False
|
|
103
|
+
|
|
104
|
+
return self.__dict__ == other.__dict__
|
|
105
|
+
|
|
106
|
+
def __ne__(self, other):
|
|
107
|
+
"""Returns true if both objects are not equal"""
|
|
108
|
+
return not self == other
|