huaweicloudsdkosm 3.1.160__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.
Potentially problematic release.
This version of huaweicloudsdkosm might be problematic. Click here for more details.
- huaweicloudsdkosm/__init__.py +0 -0
- huaweicloudsdkosm/v2/__init__.py +307 -0
- huaweicloudsdkosm/v2/model/__init__.py +304 -0
- huaweicloudsdkosm/v2/model/accessory_json_format_req.py +199 -0
- huaweicloudsdkosm/v2/model/accessory_limit_vo.py +173 -0
- huaweicloudsdkosm/v2/model/accessory_url.py +173 -0
- huaweicloudsdkosm/v2/model/agency_v2.py +289 -0
- huaweicloudsdkosm/v2/model/agree_tenant_authorization_v2_req.py +231 -0
- huaweicloudsdkosm/v2/model/agreement_vo.py +260 -0
- huaweicloudsdkosm/v2/model/answer.py +227 -0
- huaweicloudsdkosm/v2/model/answer_detail.py +194 -0
- huaweicloudsdkosm/v2/model/answer_info.py +231 -0
- huaweicloudsdkosm/v2/model/answer_qa_pair.py +318 -0
- huaweicloudsdkosm/v2/model/area_code_simple_info_v2.py +173 -0
- huaweicloudsdkosm/v2/model/article.py +347 -0
- huaweicloudsdkosm/v2/model/ask_question_req.py +316 -0
- huaweicloudsdkosm/v2/model/case_label_info.py +173 -0
- huaweicloudsdkosm/v2/model/case_query_label.py +173 -0
- huaweicloudsdkosm/v2/model/case_realtion_info.py +173 -0
- huaweicloudsdkosm/v2/model/cbs_flow_entry.py +144 -0
- huaweicloudsdkosm/v2/model/check_hosts_request.py +226 -0
- huaweicloudsdkosm/v2/model/check_hosts_response.py +145 -0
- huaweicloudsdkosm/v2/model/check_need_verify_request.py +258 -0
- huaweicloudsdkosm/v2/model/check_need_verify_response.py +145 -0
- huaweicloudsdkosm/v2/model/check_verify_codes_request.py +198 -0
- huaweicloudsdkosm/v2/model/check_verify_codes_response.py +145 -0
- huaweicloudsdkosm/v2/model/common_param_v2.py +202 -0
- huaweicloudsdkosm/v2/model/confirm_authorizations_request.py +226 -0
- huaweicloudsdkosm/v2/model/confirm_authorizations_response.py +145 -0
- huaweicloudsdkosm/v2/model/contact_v2.py +202 -0
- huaweicloudsdkosm/v2/model/contact_way_info_v2.py +343 -0
- huaweicloudsdkosm/v2/model/create_and_delete_privilege_req.py +143 -0
- huaweicloudsdkosm/v2/model/create_ask_question_request.py +197 -0
- huaweicloudsdkosm/v2/model/create_ask_question_response.py +232 -0
- huaweicloudsdkosm/v2/model/create_case_extends_param_request.py +226 -0
- huaweicloudsdkosm/v2/model/create_case_extends_param_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_case_labels_request.py +229 -0
- huaweicloudsdkosm/v2/model/create_case_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_cases_request.py +256 -0
- huaweicloudsdkosm/v2/model/create_cases_response.py +116 -0
- huaweicloudsdkosm/v2/model/create_diagnose_feedback_request.py +111 -0
- huaweicloudsdkosm/v2/model/create_diagnose_feedback_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_diagnose_job_request.py +111 -0
- huaweicloudsdkosm/v2/model/create_diagnose_job_response.py +174 -0
- huaweicloudsdkosm/v2/model/create_evaluate_request.py +253 -0
- huaweicloudsdkosm/v2/model/create_evaluate_response.py +174 -0
- huaweicloudsdkosm/v2/model/create_feedback_req.py +171 -0
- huaweicloudsdkosm/v2/model/create_feedback_request.py +111 -0
- huaweicloudsdkosm/v2/model/create_feedback_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_feedback_v2_req.py +247 -0
- huaweicloudsdkosm/v2/model/create_labels_req.py +142 -0
- huaweicloudsdkosm/v2/model/create_labels_request.py +198 -0
- huaweicloudsdkosm/v2/model/create_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_message_do_v2.py +143 -0
- huaweicloudsdkosm/v2/model/create_message_v2_req.py +139 -0
- huaweicloudsdkosm/v2/model/create_messages_request.py +226 -0
- huaweicloudsdkosm/v2/model/create_messages_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_order_incident_v2_req.py +547 -0
- huaweicloudsdkosm/v2/model/create_privileges_request.py +198 -0
- huaweicloudsdkosm/v2/model/create_privileges_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_qa_ask_request.py +197 -0
- huaweicloudsdkosm/v2/model/create_qa_ask_response.py +282 -0
- huaweicloudsdkosm/v2/model/create_qa_feedbacks_request.py +226 -0
- huaweicloudsdkosm/v2/model/create_qa_feedbacks_response.py +174 -0
- huaweicloudsdkosm/v2/model/create_question_in_session_request.py +225 -0
- huaweicloudsdkosm/v2/model/create_question_in_session_response.py +232 -0
- huaweicloudsdkosm/v2/model/create_relations_req.py +143 -0
- huaweicloudsdkosm/v2/model/create_relations_request.py +226 -0
- huaweicloudsdkosm/v2/model/create_relations_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_score_v2_req.py +171 -0
- huaweicloudsdkosm/v2/model/create_scores_request.py +226 -0
- huaweicloudsdkosm/v2/model/create_scores_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_session_request.py +172 -0
- huaweicloudsdkosm/v2/model/create_session_response.py +174 -0
- huaweicloudsdkosm/v2/model/data_center_v2_do.py +202 -0
- huaweicloudsdkosm/v2/model/delete_accessories_request.py +201 -0
- huaweicloudsdkosm/v2/model/delete_accessories_response.py +145 -0
- huaweicloudsdkosm/v2/model/delete_case_labels_request.py +229 -0
- huaweicloudsdkosm/v2/model/delete_case_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/delete_labels_request.py +201 -0
- huaweicloudsdkosm/v2/model/delete_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/delete_relation_request.py +226 -0
- huaweicloudsdkosm/v2/model/delete_relation_response.py +145 -0
- huaweicloudsdkosm/v2/model/delete_relations_req.py +143 -0
- huaweicloudsdkosm/v2/model/diagnose_record_vo.py +347 -0
- huaweicloudsdkosm/v2/model/diagnose_resource_vo.py +405 -0
- huaweicloudsdkosm/v2/model/download_accessories_request.py +230 -0
- huaweicloudsdkosm/v2/model/download_accessories_response.py +85 -0
- huaweicloudsdkosm/v2/model/download_cases_request.py +548 -0
- huaweicloudsdkosm/v2/model/download_cases_response.py +85 -0
- huaweicloudsdkosm/v2/model/download_images_request.py +230 -0
- huaweicloudsdkosm/v2/model/download_images_response.py +85 -0
- huaweicloudsdkosm/v2/model/evaluate_request_req.py +115 -0
- huaweicloudsdkosm/v2/model/extend_question.py +144 -0
- huaweicloudsdkosm/v2/model/extends_param_v2.py +492 -0
- huaweicloudsdkosm/v2/model/feedback_option.py +144 -0
- huaweicloudsdkosm/v2/model/file_operate_log.py +318 -0
- huaweicloudsdkosm/v2/model/im_status_v2.py +144 -0
- huaweicloudsdkosm/v2/model/im_unread_v2.py +173 -0
- huaweicloudsdkosm/v2/model/incident_detail_ext_info_v2.py +289 -0
- huaweicloudsdkosm/v2/model/incident_detail_info_v2.py +593 -0
- huaweicloudsdkosm/v2/model/incident_info.py +463 -0
- huaweicloudsdkosm/v2/model/incident_info_v2.py +542 -0
- huaweicloudsdkosm/v2/model/incident_message_v2.py +318 -0
- huaweicloudsdkosm/v2/model/incident_operate_log_v2.py +347 -0
- huaweicloudsdkosm/v2/model/incident_order_auth_detail_info_v2.py +289 -0
- huaweicloudsdkosm/v2/model/incident_order_auth_v2.py +579 -0
- huaweicloudsdkosm/v2/model/incident_order_cc_email_info_v2.py +173 -0
- huaweicloudsdkosm/v2/model/incident_product_category_v2.py +231 -0
- huaweicloudsdkosm/v2/model/incident_satisfaction_v2_do.py +287 -0
- huaweicloudsdkosm/v2/model/incident_status_count.py +144 -0
- huaweicloudsdkosm/v2/model/incident_sub_type_v2_do.py +173 -0
- huaweicloudsdkosm/v2/model/incident_temp_v2.py +173 -0
- huaweicloudsdkosm/v2/model/intellectual_property_v2.py +202 -0
- huaweicloudsdkosm/v2/model/item_result_detail_vo.py +318 -0
- huaweicloudsdkosm/v2/model/item_result_vo.py +289 -0
- huaweicloudsdkosm/v2/model/label_info.py +173 -0
- huaweicloudsdkosm/v2/model/lang_result.py +144 -0
- huaweicloudsdkosm/v2/model/list_accessory_access_urls_request.py +230 -0
- huaweicloudsdkosm/v2/model/list_accessory_access_urls_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_agencies_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_agencies_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_area_codes_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_area_codes_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_articles_request.py +226 -0
- huaweicloudsdkosm/v2/model/list_articles_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_authorizations_request.py +376 -0
- huaweicloudsdkosm/v2/model/list_authorizations_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_case_categories_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_case_categories_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_case_cc_emails_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_case_cc_emails_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_case_counts_request.py +202 -0
- huaweicloudsdkosm/v2/model/list_case_counts_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_case_labels_request.py +201 -0
- huaweicloudsdkosm/v2/model/list_case_labels_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_case_limits_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_case_limits_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_case_operate_logs_request.py +288 -0
- huaweicloudsdkosm/v2/model/list_case_operate_logs_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_case_quotas_request.py +230 -0
- huaweicloudsdkosm/v2/model/list_case_quotas_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_case_templates_request.py +201 -0
- huaweicloudsdkosm/v2/model/list_case_templates_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_cases_request.py +550 -0
- huaweicloudsdkosm/v2/model/list_cases_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_customers_regions_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_customers_regions_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_diagnose_items_request.py +111 -0
- huaweicloudsdkosm/v2/model/list_diagnose_items_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_diagnose_job_request.py +115 -0
- huaweicloudsdkosm/v2/model/list_diagnose_job_response.py +290 -0
- huaweicloudsdkosm/v2/model/list_diagnose_records_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_diagnose_records_response.py +203 -0
- huaweicloudsdkosm/v2/model/list_diagnose_resources_request.py +111 -0
- huaweicloudsdkosm/v2/model/list_diagnose_resources_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_extends_params_request.py +259 -0
- huaweicloudsdkosm/v2/model/list_extends_params_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_feedback_option_request.py +230 -0
- huaweicloudsdkosm/v2/model/list_feedback_option_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_has_verified_contacts_request.py +434 -0
- huaweicloudsdkosm/v2/model/list_has_verified_contacts_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_history_operate_logs_request.py +373 -0
- huaweicloudsdkosm/v2/model/list_history_operate_logs_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_history_sessions_request.py +316 -0
- huaweicloudsdkosm/v2/model/list_history_sessions_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_labels_request.py +289 -0
- huaweicloudsdkosm/v2/model/list_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_messages_request.py +288 -0
- huaweicloudsdkosm/v2/model/list_messages_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_more_instant_messages_request.py +314 -0
- huaweicloudsdkosm/v2/model/list_more_instant_messages_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_new_instant_messages_request.py +259 -0
- huaweicloudsdkosm/v2/model/list_new_instant_messages_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_notices_request.py +198 -0
- huaweicloudsdkosm/v2/model/list_notices_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_order_incident_request.py +550 -0
- huaweicloudsdkosm/v2/model/list_order_incident_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_privileges_request.py +201 -0
- huaweicloudsdkosm/v2/model/list_privileges_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_problem_types_request.py +202 -0
- huaweicloudsdkosm/v2/model/list_problem_types_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_product_categories_request.py +202 -0
- huaweicloudsdkosm/v2/model/list_product_categories_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_recommend_words_request.py +260 -0
- huaweicloudsdkosm/v2/model/list_recommend_words_response.py +203 -0
- huaweicloudsdkosm/v2/model/list_regions_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_regions_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_relation_request.py +201 -0
- huaweicloudsdkosm/v2/model/list_relation_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_severities_request.py +229 -0
- huaweicloudsdkosm/v2/model/list_severities_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_sub_customers_request.py +231 -0
- huaweicloudsdkosm/v2/model/list_sub_customers_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_tools_request.py +198 -0
- huaweicloudsdkosm/v2/model/list_tools_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_transport_histories_request.py +373 -0
- huaweicloudsdkosm/v2/model/list_transport_histories_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_request.py +230 -0
- huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_response.py +116 -0
- huaweicloudsdkosm/v2/model/notice.py +199 -0
- huaweicloudsdkosm/v2/model/operate_authorization_v2_req.py +144 -0
- huaweicloudsdkosm/v2/model/operate_history_session.py +202 -0
- huaweicloudsdkosm/v2/model/operate_log.py +144 -0
- huaweicloudsdkosm/v2/model/partners_service_info.py +231 -0
- huaweicloudsdkosm/v2/model/put_case_ext_param_req.py +173 -0
- huaweicloudsdkosm/v2/model/qa_ask_req.py +346 -0
- huaweicloudsdkosm/v2/model/qa_feedback_req.py +345 -0
- huaweicloudsdkosm/v2/model/qa_flow_hit_node_vo.py +202 -0
- huaweicloudsdkosm/v2/model/qa_flow_hit_result.py +198 -0
- huaweicloudsdkosm/v2/model/qa_graph_answer.py +202 -0
- huaweicloudsdkosm/v2/model/qa_pair.py +289 -0
- huaweicloudsdkosm/v2/model/qabot_answer.py +347 -0
- huaweicloudsdkosm/v2/model/query_associated_question_req.py +172 -0
- huaweicloudsdkosm/v2/model/query_diagnose_items_req.py +144 -0
- huaweicloudsdkosm/v2/model/query_message_info_v2.py +347 -0
- huaweicloudsdkosm/v2/model/query_tsc_diagnose_resources_req.py +144 -0
- huaweicloudsdkosm/v2/model/recommend_word.py +285 -0
- huaweicloudsdkosm/v2/model/region.py +144 -0
- huaweicloudsdkosm/v2/model/relation_theme.py +144 -0
- huaweicloudsdkosm/v2/model/relevance_qapair.py +173 -0
- huaweicloudsdkosm/v2/model/revoke_message_request.py +229 -0
- huaweicloudsdkosm/v2/model/revoke_message_response.py +145 -0
- huaweicloudsdkosm/v2/model/satisfaction_dimension_simple_info_v2.py +260 -0
- huaweicloudsdkosm/v2/model/search_articles_req.py +201 -0
- huaweicloudsdkosm/v2/model/search_notices_req.py +143 -0
- huaweicloudsdkosm/v2/model/search_qa_pairs_req.py +144 -0
- huaweicloudsdkosm/v2/model/search_tools_req.py +201 -0
- huaweicloudsdkosm/v2/model/send_verify_code_req.py +170 -0
- huaweicloudsdkosm/v2/model/send_verify_codes_request.py +198 -0
- huaweicloudsdkosm/v2/model/send_verify_codes_response.py +145 -0
- huaweicloudsdkosm/v2/model/session_ask_question_req.py +288 -0
- huaweicloudsdkosm/v2/model/severity_v2_do.py +173 -0
- huaweicloudsdkosm/v2/model/show_accessory_limits_request.py +173 -0
- huaweicloudsdkosm/v2/model/show_accessory_limits_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_associated_questions_request.py +197 -0
- huaweicloudsdkosm/v2/model/show_associated_questions_response.py +174 -0
- huaweicloudsdkosm/v2/model/show_authorization_detail_request.py +230 -0
- huaweicloudsdkosm/v2/model/show_authorization_detail_response.py +609 -0
- huaweicloudsdkosm/v2/model/show_case_detail_request.py +230 -0
- huaweicloudsdkosm/v2/model/show_case_detail_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_case_extends_param_request.py +230 -0
- huaweicloudsdkosm/v2/model/show_case_extends_param_response.py +145 -0
- huaweicloudsdkosm/v2/model/show_case_status_request.py +201 -0
- huaweicloudsdkosm/v2/model/show_case_status_response.py +116 -0
- huaweicloudsdkosm/v2/model/show_configuration_request.py +114 -0
- huaweicloudsdkosm/v2/model/show_configuration_response.py +203 -0
- huaweicloudsdkosm/v2/model/show_customer_privilege_policy_request.py +173 -0
- huaweicloudsdkosm/v2/model/show_customer_privilege_policy_response.py +116 -0
- huaweicloudsdkosm/v2/model/show_download_accessory_url_request.py +200 -0
- huaweicloudsdkosm/v2/model/show_download_accessory_url_response.py +174 -0
- huaweicloudsdkosm/v2/model/show_latest_published_agreement_request.py +202 -0
- huaweicloudsdkosm/v2/model/show_latest_published_agreement_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_login_type_request.py +144 -0
- huaweicloudsdkosm/v2/model/show_login_type_response.py +116 -0
- huaweicloudsdkosm/v2/model/show_partners_cases_privilege_request.py +173 -0
- huaweicloudsdkosm/v2/model/show_partners_cases_privilege_response.py +116 -0
- huaweicloudsdkosm/v2/model/show_partners_service_info_request.py +231 -0
- huaweicloudsdkosm/v2/model/show_partners_service_info_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_qa_pair_detail_request.py +200 -0
- huaweicloudsdkosm/v2/model/show_qa_pair_detail_response.py +170 -0
- huaweicloudsdkosm/v2/model/show_qa_pairs_request.py +225 -0
- huaweicloudsdkosm/v2/model/show_qa_pairs_response.py +174 -0
- huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_request.py +202 -0
- huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_response.py +116 -0
- huaweicloudsdkosm/v2/model/show_theme_request.py +259 -0
- huaweicloudsdkosm/v2/model/show_theme_response.py +232 -0
- huaweicloudsdkosm/v2/model/sign_agreement_req.py +115 -0
- huaweicloudsdkosm/v2/model/sign_published_agreement_request.py +226 -0
- huaweicloudsdkosm/v2/model/sign_published_agreement_response.py +116 -0
- huaweicloudsdkosm/v2/model/simple_accessory_v2.py +144 -0
- huaweicloudsdkosm/v2/model/simple_incident_business_type_v2.py +202 -0
- huaweicloudsdkosm/v2/model/simple_qa_pair.py +173 -0
- huaweicloudsdkosm/v2/model/sub_cutomer_info_v2.py +260 -0
- huaweicloudsdkosm/v2/model/submit_diagnose_job_req.py +172 -0
- huaweicloudsdkosm/v2/model/tenant_agree_auth_detail_v2.py +201 -0
- huaweicloudsdkosm/v2/model/tenant_config_v2.py +115 -0
- huaweicloudsdkosm/v2/model/tool.py +287 -0
- huaweicloudsdkosm/v2/model/update_authorizations_request.py +255 -0
- huaweicloudsdkosm/v2/model/update_authorizations_response.py +145 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_req.py +260 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_request.py +226 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_response.py +145 -0
- huaweicloudsdkosm/v2/model/update_cases_request.py +254 -0
- huaweicloudsdkosm/v2/model/update_cases_response.py +145 -0
- huaweicloudsdkosm/v2/model/update_labels_req.py +142 -0
- huaweicloudsdkosm/v2/model/update_labels_request.py +226 -0
- huaweicloudsdkosm/v2/model/update_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/update_new_instant_messages_read_request.py +226 -0
- huaweicloudsdkosm/v2/model/update_new_instant_messages_read_response.py +145 -0
- huaweicloudsdkosm/v2/model/update_unread_new_instant_msg_v2_req.py +115 -0
- huaweicloudsdkosm/v2/model/upload_accessory_request.py +198 -0
- huaweicloudsdkosm/v2/model/upload_accessory_request_body.py +142 -0
- huaweicloudsdkosm/v2/model/upload_accessory_response.py +116 -0
- huaweicloudsdkosm/v2/model/upload_json_accessories_request.py +198 -0
- huaweicloudsdkosm/v2/model/upload_json_accessories_response.py +116 -0
- huaweicloudsdkosm/v2/model/user_instant_incident_msg_v2.py +144 -0
- huaweicloudsdkosm/v2/model/verify_host_v2_req.py +199 -0
- huaweicloudsdkosm/v2/model/verify_verify_code_v2_req.py +257 -0
- huaweicloudsdkosm/v2/model/work_order_operate_v2_req.py +202 -0
- huaweicloudsdkosm/v2/osm_async_client.py +7166 -0
- huaweicloudsdkosm/v2/osm_client.py +7163 -0
- huaweicloudsdkosm/v2/region/__init__.py +0 -0
- huaweicloudsdkosm/v2/region/osm_region.py +31 -0
- huaweicloudsdkosm-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkosm-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkosm-3.1.160.dist-info/RECORD +311 -0
- huaweicloudsdkosm-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkosm-3.1.160.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class DeleteRelationResponse(SdkResponse):
|
|
10
|
+
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
openapi_types (dict): The key is attribute name
|
|
14
|
+
and the value is attribute type.
|
|
15
|
+
attribute_map (dict): The key is attribute name
|
|
16
|
+
and the value is json key in definition.
|
|
17
|
+
"""
|
|
18
|
+
sensitive_list = []
|
|
19
|
+
|
|
20
|
+
openapi_types = {
|
|
21
|
+
'error_code': 'str',
|
|
22
|
+
'error_msg': 'str'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'error_code': 'error_code',
|
|
27
|
+
'error_msg': 'error_msg'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def __init__(self, error_code=None, error_msg=None):
|
|
31
|
+
r"""DeleteRelationResponse
|
|
32
|
+
|
|
33
|
+
The model defined in huaweicloud sdk
|
|
34
|
+
|
|
35
|
+
:param error_code: 错误码
|
|
36
|
+
:type error_code: str
|
|
37
|
+
:param error_msg: 错误描述
|
|
38
|
+
:type error_msg: str
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
super(DeleteRelationResponse, self).__init__()
|
|
42
|
+
|
|
43
|
+
self._error_code = None
|
|
44
|
+
self._error_msg = None
|
|
45
|
+
self.discriminator = None
|
|
46
|
+
|
|
47
|
+
if error_code is not None:
|
|
48
|
+
self.error_code = error_code
|
|
49
|
+
if error_msg is not None:
|
|
50
|
+
self.error_msg = error_msg
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
def error_code(self):
|
|
54
|
+
r"""Gets the error_code of this DeleteRelationResponse.
|
|
55
|
+
|
|
56
|
+
错误码
|
|
57
|
+
|
|
58
|
+
:return: The error_code of this DeleteRelationResponse.
|
|
59
|
+
:rtype: str
|
|
60
|
+
"""
|
|
61
|
+
return self._error_code
|
|
62
|
+
|
|
63
|
+
@error_code.setter
|
|
64
|
+
def error_code(self, error_code):
|
|
65
|
+
r"""Sets the error_code of this DeleteRelationResponse.
|
|
66
|
+
|
|
67
|
+
错误码
|
|
68
|
+
|
|
69
|
+
:param error_code: The error_code of this DeleteRelationResponse.
|
|
70
|
+
:type error_code: str
|
|
71
|
+
"""
|
|
72
|
+
self._error_code = error_code
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
def error_msg(self):
|
|
76
|
+
r"""Gets the error_msg of this DeleteRelationResponse.
|
|
77
|
+
|
|
78
|
+
错误描述
|
|
79
|
+
|
|
80
|
+
:return: The error_msg of this DeleteRelationResponse.
|
|
81
|
+
:rtype: str
|
|
82
|
+
"""
|
|
83
|
+
return self._error_msg
|
|
84
|
+
|
|
85
|
+
@error_msg.setter
|
|
86
|
+
def error_msg(self, error_msg):
|
|
87
|
+
r"""Sets the error_msg of this DeleteRelationResponse.
|
|
88
|
+
|
|
89
|
+
错误描述
|
|
90
|
+
|
|
91
|
+
:param error_msg: The error_msg of this DeleteRelationResponse.
|
|
92
|
+
:type error_msg: str
|
|
93
|
+
"""
|
|
94
|
+
self._error_msg = error_msg
|
|
95
|
+
|
|
96
|
+
def to_dict(self):
|
|
97
|
+
"""Returns the model properties as a dict"""
|
|
98
|
+
result = {}
|
|
99
|
+
|
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
101
|
+
value = getattr(self, attr)
|
|
102
|
+
if isinstance(value, list):
|
|
103
|
+
result[attr] = list(map(
|
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
105
|
+
value
|
|
106
|
+
))
|
|
107
|
+
elif hasattr(value, "to_dict"):
|
|
108
|
+
result[attr] = value.to_dict()
|
|
109
|
+
elif isinstance(value, dict):
|
|
110
|
+
result[attr] = dict(map(
|
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
|
113
|
+
value.items()
|
|
114
|
+
))
|
|
115
|
+
else:
|
|
116
|
+
if attr in self.sensitive_list:
|
|
117
|
+
result[attr] = "****"
|
|
118
|
+
else:
|
|
119
|
+
result[attr] = value
|
|
120
|
+
|
|
121
|
+
return result
|
|
122
|
+
|
|
123
|
+
def to_str(self):
|
|
124
|
+
"""Returns the string representation of the model"""
|
|
125
|
+
import simplejson as json
|
|
126
|
+
if six.PY2:
|
|
127
|
+
import sys
|
|
128
|
+
reload(sys)
|
|
129
|
+
sys.setdefaultencoding("utf-8")
|
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
131
|
+
|
|
132
|
+
def __repr__(self):
|
|
133
|
+
"""For `print`"""
|
|
134
|
+
return self.to_str()
|
|
135
|
+
|
|
136
|
+
def __eq__(self, other):
|
|
137
|
+
"""Returns true if both objects are equal"""
|
|
138
|
+
if not isinstance(other, DeleteRelationResponse):
|
|
139
|
+
return False
|
|
140
|
+
|
|
141
|
+
return self.__dict__ == other.__dict__
|
|
142
|
+
|
|
143
|
+
def __ne__(self, other):
|
|
144
|
+
"""Returns true if both objects are not equal"""
|
|
145
|
+
return not self == other
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class DeleteRelationsReq:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'related_id': 'str',
|
|
21
|
+
'group_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'related_id': 'related_id',
|
|
26
|
+
'group_id': 'group_id'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, related_id=None, group_id=None):
|
|
30
|
+
r"""DeleteRelationsReq
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param related_id: 要解除关联的工单id
|
|
35
|
+
:type related_id: str
|
|
36
|
+
:param group_id: 华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
37
|
+
:type group_id: str
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._related_id = None
|
|
43
|
+
self._group_id = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
self.related_id = related_id
|
|
47
|
+
if group_id is not None:
|
|
48
|
+
self.group_id = group_id
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def related_id(self):
|
|
52
|
+
r"""Gets the related_id of this DeleteRelationsReq.
|
|
53
|
+
|
|
54
|
+
要解除关联的工单id
|
|
55
|
+
|
|
56
|
+
:return: The related_id of this DeleteRelationsReq.
|
|
57
|
+
:rtype: str
|
|
58
|
+
"""
|
|
59
|
+
return self._related_id
|
|
60
|
+
|
|
61
|
+
@related_id.setter
|
|
62
|
+
def related_id(self, related_id):
|
|
63
|
+
r"""Sets the related_id of this DeleteRelationsReq.
|
|
64
|
+
|
|
65
|
+
要解除关联的工单id
|
|
66
|
+
|
|
67
|
+
:param related_id: The related_id of this DeleteRelationsReq.
|
|
68
|
+
:type related_id: str
|
|
69
|
+
"""
|
|
70
|
+
self._related_id = related_id
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def group_id(self):
|
|
74
|
+
r"""Gets the group_id of this DeleteRelationsReq.
|
|
75
|
+
|
|
76
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
77
|
+
|
|
78
|
+
:return: The group_id of this DeleteRelationsReq.
|
|
79
|
+
:rtype: str
|
|
80
|
+
"""
|
|
81
|
+
return self._group_id
|
|
82
|
+
|
|
83
|
+
@group_id.setter
|
|
84
|
+
def group_id(self, group_id):
|
|
85
|
+
r"""Sets the group_id of this DeleteRelationsReq.
|
|
86
|
+
|
|
87
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
88
|
+
|
|
89
|
+
:param group_id: The group_id of this DeleteRelationsReq.
|
|
90
|
+
:type group_id: str
|
|
91
|
+
"""
|
|
92
|
+
self._group_id = group_id
|
|
93
|
+
|
|
94
|
+
def to_dict(self):
|
|
95
|
+
"""Returns the model properties as a dict"""
|
|
96
|
+
result = {}
|
|
97
|
+
|
|
98
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
99
|
+
value = getattr(self, attr)
|
|
100
|
+
if isinstance(value, list):
|
|
101
|
+
result[attr] = list(map(
|
|
102
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
103
|
+
value
|
|
104
|
+
))
|
|
105
|
+
elif hasattr(value, "to_dict"):
|
|
106
|
+
result[attr] = value.to_dict()
|
|
107
|
+
elif isinstance(value, dict):
|
|
108
|
+
result[attr] = dict(map(
|
|
109
|
+
lambda item: (item[0], item[1].to_dict())
|
|
110
|
+
if hasattr(item[1], "to_dict") else item,
|
|
111
|
+
value.items()
|
|
112
|
+
))
|
|
113
|
+
else:
|
|
114
|
+
if attr in self.sensitive_list:
|
|
115
|
+
result[attr] = "****"
|
|
116
|
+
else:
|
|
117
|
+
result[attr] = value
|
|
118
|
+
|
|
119
|
+
return result
|
|
120
|
+
|
|
121
|
+
def to_str(self):
|
|
122
|
+
"""Returns the string representation of the model"""
|
|
123
|
+
import simplejson as json
|
|
124
|
+
if six.PY2:
|
|
125
|
+
import sys
|
|
126
|
+
reload(sys)
|
|
127
|
+
sys.setdefaultencoding("utf-8")
|
|
128
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
129
|
+
|
|
130
|
+
def __repr__(self):
|
|
131
|
+
"""For `print`"""
|
|
132
|
+
return self.to_str()
|
|
133
|
+
|
|
134
|
+
def __eq__(self, other):
|
|
135
|
+
"""Returns true if both objects are equal"""
|
|
136
|
+
if not isinstance(other, DeleteRelationsReq):
|
|
137
|
+
return False
|
|
138
|
+
|
|
139
|
+
return self.__dict__ == other.__dict__
|
|
140
|
+
|
|
141
|
+
def __ne__(self, other):
|
|
142
|
+
"""Returns true if both objects are not equal"""
|
|
143
|
+
return not self == other
|
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class DiagnoseRecordVo:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'id': 'str',
|
|
21
|
+
'status': 'str',
|
|
22
|
+
'params': 'dict(str, str)',
|
|
23
|
+
'domain_id': 'str',
|
|
24
|
+
'create_time': 'int',
|
|
25
|
+
'job_id': 'str',
|
|
26
|
+
'abnormal_items': 'list[str]',
|
|
27
|
+
'red_count': 'int',
|
|
28
|
+
'region': 'str'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
attribute_map = {
|
|
32
|
+
'id': 'id',
|
|
33
|
+
'status': 'status',
|
|
34
|
+
'params': 'params',
|
|
35
|
+
'domain_id': 'domain_id',
|
|
36
|
+
'create_time': 'create_time',
|
|
37
|
+
'job_id': 'job_id',
|
|
38
|
+
'abnormal_items': 'abnormal_items',
|
|
39
|
+
'red_count': 'red_count',
|
|
40
|
+
'region': 'region'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, id=None, status=None, params=None, domain_id=None, create_time=None, job_id=None, abnormal_items=None, red_count=None, region=None):
|
|
44
|
+
r"""DiagnoseRecordVo
|
|
45
|
+
|
|
46
|
+
The model defined in huaweicloud sdk
|
|
47
|
+
|
|
48
|
+
:param id: ID
|
|
49
|
+
:type id: str
|
|
50
|
+
:param status: 状态
|
|
51
|
+
:type status: str
|
|
52
|
+
:param params: 不同诊断定独有的属性
|
|
53
|
+
:type params: dict(str, str)
|
|
54
|
+
:param domain_id: 创建人
|
|
55
|
+
:type domain_id: str
|
|
56
|
+
:param create_time: 创建时间戳
|
|
57
|
+
:type create_time: int
|
|
58
|
+
:param job_id: 任务ID
|
|
59
|
+
:type job_id: str
|
|
60
|
+
:param abnormal_items: 异常项id列表
|
|
61
|
+
:type abnormal_items: list[str]
|
|
62
|
+
:param red_count: 异常项数量
|
|
63
|
+
:type red_count: int
|
|
64
|
+
:param region: 区域
|
|
65
|
+
:type region: str
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
self._id = None
|
|
71
|
+
self._status = None
|
|
72
|
+
self._params = None
|
|
73
|
+
self._domain_id = None
|
|
74
|
+
self._create_time = None
|
|
75
|
+
self._job_id = None
|
|
76
|
+
self._abnormal_items = None
|
|
77
|
+
self._red_count = None
|
|
78
|
+
self._region = None
|
|
79
|
+
self.discriminator = None
|
|
80
|
+
|
|
81
|
+
if id is not None:
|
|
82
|
+
self.id = id
|
|
83
|
+
if status is not None:
|
|
84
|
+
self.status = status
|
|
85
|
+
if params is not None:
|
|
86
|
+
self.params = params
|
|
87
|
+
if domain_id is not None:
|
|
88
|
+
self.domain_id = domain_id
|
|
89
|
+
if create_time is not None:
|
|
90
|
+
self.create_time = create_time
|
|
91
|
+
if job_id is not None:
|
|
92
|
+
self.job_id = job_id
|
|
93
|
+
if abnormal_items is not None:
|
|
94
|
+
self.abnormal_items = abnormal_items
|
|
95
|
+
if red_count is not None:
|
|
96
|
+
self.red_count = red_count
|
|
97
|
+
if region is not None:
|
|
98
|
+
self.region = region
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def id(self):
|
|
102
|
+
r"""Gets the id of this DiagnoseRecordVo.
|
|
103
|
+
|
|
104
|
+
ID
|
|
105
|
+
|
|
106
|
+
:return: The id of this DiagnoseRecordVo.
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._id
|
|
110
|
+
|
|
111
|
+
@id.setter
|
|
112
|
+
def id(self, id):
|
|
113
|
+
r"""Sets the id of this DiagnoseRecordVo.
|
|
114
|
+
|
|
115
|
+
ID
|
|
116
|
+
|
|
117
|
+
:param id: The id of this DiagnoseRecordVo.
|
|
118
|
+
:type id: str
|
|
119
|
+
"""
|
|
120
|
+
self._id = id
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def status(self):
|
|
124
|
+
r"""Gets the status of this DiagnoseRecordVo.
|
|
125
|
+
|
|
126
|
+
状态
|
|
127
|
+
|
|
128
|
+
:return: The status of this DiagnoseRecordVo.
|
|
129
|
+
:rtype: str
|
|
130
|
+
"""
|
|
131
|
+
return self._status
|
|
132
|
+
|
|
133
|
+
@status.setter
|
|
134
|
+
def status(self, status):
|
|
135
|
+
r"""Sets the status of this DiagnoseRecordVo.
|
|
136
|
+
|
|
137
|
+
状态
|
|
138
|
+
|
|
139
|
+
:param status: The status of this DiagnoseRecordVo.
|
|
140
|
+
:type status: str
|
|
141
|
+
"""
|
|
142
|
+
self._status = status
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
def params(self):
|
|
146
|
+
r"""Gets the params of this DiagnoseRecordVo.
|
|
147
|
+
|
|
148
|
+
不同诊断定独有的属性
|
|
149
|
+
|
|
150
|
+
:return: The params of this DiagnoseRecordVo.
|
|
151
|
+
:rtype: dict(str, str)
|
|
152
|
+
"""
|
|
153
|
+
return self._params
|
|
154
|
+
|
|
155
|
+
@params.setter
|
|
156
|
+
def params(self, params):
|
|
157
|
+
r"""Sets the params of this DiagnoseRecordVo.
|
|
158
|
+
|
|
159
|
+
不同诊断定独有的属性
|
|
160
|
+
|
|
161
|
+
:param params: The params of this DiagnoseRecordVo.
|
|
162
|
+
:type params: dict(str, str)
|
|
163
|
+
"""
|
|
164
|
+
self._params = params
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
def domain_id(self):
|
|
168
|
+
r"""Gets the domain_id of this DiagnoseRecordVo.
|
|
169
|
+
|
|
170
|
+
创建人
|
|
171
|
+
|
|
172
|
+
:return: The domain_id of this DiagnoseRecordVo.
|
|
173
|
+
:rtype: str
|
|
174
|
+
"""
|
|
175
|
+
return self._domain_id
|
|
176
|
+
|
|
177
|
+
@domain_id.setter
|
|
178
|
+
def domain_id(self, domain_id):
|
|
179
|
+
r"""Sets the domain_id of this DiagnoseRecordVo.
|
|
180
|
+
|
|
181
|
+
创建人
|
|
182
|
+
|
|
183
|
+
:param domain_id: The domain_id of this DiagnoseRecordVo.
|
|
184
|
+
:type domain_id: str
|
|
185
|
+
"""
|
|
186
|
+
self._domain_id = domain_id
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
def create_time(self):
|
|
190
|
+
r"""Gets the create_time of this DiagnoseRecordVo.
|
|
191
|
+
|
|
192
|
+
创建时间戳
|
|
193
|
+
|
|
194
|
+
:return: The create_time of this DiagnoseRecordVo.
|
|
195
|
+
:rtype: int
|
|
196
|
+
"""
|
|
197
|
+
return self._create_time
|
|
198
|
+
|
|
199
|
+
@create_time.setter
|
|
200
|
+
def create_time(self, create_time):
|
|
201
|
+
r"""Sets the create_time of this DiagnoseRecordVo.
|
|
202
|
+
|
|
203
|
+
创建时间戳
|
|
204
|
+
|
|
205
|
+
:param create_time: The create_time of this DiagnoseRecordVo.
|
|
206
|
+
:type create_time: int
|
|
207
|
+
"""
|
|
208
|
+
self._create_time = create_time
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
def job_id(self):
|
|
212
|
+
r"""Gets the job_id of this DiagnoseRecordVo.
|
|
213
|
+
|
|
214
|
+
任务ID
|
|
215
|
+
|
|
216
|
+
:return: The job_id of this DiagnoseRecordVo.
|
|
217
|
+
:rtype: str
|
|
218
|
+
"""
|
|
219
|
+
return self._job_id
|
|
220
|
+
|
|
221
|
+
@job_id.setter
|
|
222
|
+
def job_id(self, job_id):
|
|
223
|
+
r"""Sets the job_id of this DiagnoseRecordVo.
|
|
224
|
+
|
|
225
|
+
任务ID
|
|
226
|
+
|
|
227
|
+
:param job_id: The job_id of this DiagnoseRecordVo.
|
|
228
|
+
:type job_id: str
|
|
229
|
+
"""
|
|
230
|
+
self._job_id = job_id
|
|
231
|
+
|
|
232
|
+
@property
|
|
233
|
+
def abnormal_items(self):
|
|
234
|
+
r"""Gets the abnormal_items of this DiagnoseRecordVo.
|
|
235
|
+
|
|
236
|
+
异常项id列表
|
|
237
|
+
|
|
238
|
+
:return: The abnormal_items of this DiagnoseRecordVo.
|
|
239
|
+
:rtype: list[str]
|
|
240
|
+
"""
|
|
241
|
+
return self._abnormal_items
|
|
242
|
+
|
|
243
|
+
@abnormal_items.setter
|
|
244
|
+
def abnormal_items(self, abnormal_items):
|
|
245
|
+
r"""Sets the abnormal_items of this DiagnoseRecordVo.
|
|
246
|
+
|
|
247
|
+
异常项id列表
|
|
248
|
+
|
|
249
|
+
:param abnormal_items: The abnormal_items of this DiagnoseRecordVo.
|
|
250
|
+
:type abnormal_items: list[str]
|
|
251
|
+
"""
|
|
252
|
+
self._abnormal_items = abnormal_items
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
def red_count(self):
|
|
256
|
+
r"""Gets the red_count of this DiagnoseRecordVo.
|
|
257
|
+
|
|
258
|
+
异常项数量
|
|
259
|
+
|
|
260
|
+
:return: The red_count of this DiagnoseRecordVo.
|
|
261
|
+
:rtype: int
|
|
262
|
+
"""
|
|
263
|
+
return self._red_count
|
|
264
|
+
|
|
265
|
+
@red_count.setter
|
|
266
|
+
def red_count(self, red_count):
|
|
267
|
+
r"""Sets the red_count of this DiagnoseRecordVo.
|
|
268
|
+
|
|
269
|
+
异常项数量
|
|
270
|
+
|
|
271
|
+
:param red_count: The red_count of this DiagnoseRecordVo.
|
|
272
|
+
:type red_count: int
|
|
273
|
+
"""
|
|
274
|
+
self._red_count = red_count
|
|
275
|
+
|
|
276
|
+
@property
|
|
277
|
+
def region(self):
|
|
278
|
+
r"""Gets the region of this DiagnoseRecordVo.
|
|
279
|
+
|
|
280
|
+
区域
|
|
281
|
+
|
|
282
|
+
:return: The region of this DiagnoseRecordVo.
|
|
283
|
+
:rtype: str
|
|
284
|
+
"""
|
|
285
|
+
return self._region
|
|
286
|
+
|
|
287
|
+
@region.setter
|
|
288
|
+
def region(self, region):
|
|
289
|
+
r"""Sets the region of this DiagnoseRecordVo.
|
|
290
|
+
|
|
291
|
+
区域
|
|
292
|
+
|
|
293
|
+
:param region: The region of this DiagnoseRecordVo.
|
|
294
|
+
:type region: str
|
|
295
|
+
"""
|
|
296
|
+
self._region = region
|
|
297
|
+
|
|
298
|
+
def to_dict(self):
|
|
299
|
+
"""Returns the model properties as a dict"""
|
|
300
|
+
result = {}
|
|
301
|
+
|
|
302
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
303
|
+
value = getattr(self, attr)
|
|
304
|
+
if isinstance(value, list):
|
|
305
|
+
result[attr] = list(map(
|
|
306
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
307
|
+
value
|
|
308
|
+
))
|
|
309
|
+
elif hasattr(value, "to_dict"):
|
|
310
|
+
result[attr] = value.to_dict()
|
|
311
|
+
elif isinstance(value, dict):
|
|
312
|
+
result[attr] = dict(map(
|
|
313
|
+
lambda item: (item[0], item[1].to_dict())
|
|
314
|
+
if hasattr(item[1], "to_dict") else item,
|
|
315
|
+
value.items()
|
|
316
|
+
))
|
|
317
|
+
else:
|
|
318
|
+
if attr in self.sensitive_list:
|
|
319
|
+
result[attr] = "****"
|
|
320
|
+
else:
|
|
321
|
+
result[attr] = value
|
|
322
|
+
|
|
323
|
+
return result
|
|
324
|
+
|
|
325
|
+
def to_str(self):
|
|
326
|
+
"""Returns the string representation of the model"""
|
|
327
|
+
import simplejson as json
|
|
328
|
+
if six.PY2:
|
|
329
|
+
import sys
|
|
330
|
+
reload(sys)
|
|
331
|
+
sys.setdefaultencoding("utf-8")
|
|
332
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
333
|
+
|
|
334
|
+
def __repr__(self):
|
|
335
|
+
"""For `print`"""
|
|
336
|
+
return self.to_str()
|
|
337
|
+
|
|
338
|
+
def __eq__(self, other):
|
|
339
|
+
"""Returns true if both objects are equal"""
|
|
340
|
+
if not isinstance(other, DiagnoseRecordVo):
|
|
341
|
+
return False
|
|
342
|
+
|
|
343
|
+
return self.__dict__ == other.__dict__
|
|
344
|
+
|
|
345
|
+
def __ne__(self, other):
|
|
346
|
+
"""Returns true if both objects are not equal"""
|
|
347
|
+
return not self == other
|