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,347 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class QabotAnswer:
|
|
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
|
+
'question': 'str',
|
|
21
|
+
'answer': 'str',
|
|
22
|
+
'score': 'float',
|
|
23
|
+
'domain': 'str',
|
|
24
|
+
'link': 'str',
|
|
25
|
+
'qa_pair_id': 'str',
|
|
26
|
+
'domain_id': 'str',
|
|
27
|
+
'top_score_question': 'str',
|
|
28
|
+
'relevance_details': 'list[RelevanceQapair]'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
attribute_map = {
|
|
32
|
+
'question': 'question',
|
|
33
|
+
'answer': 'answer',
|
|
34
|
+
'score': 'score',
|
|
35
|
+
'domain': 'domain',
|
|
36
|
+
'link': 'link',
|
|
37
|
+
'qa_pair_id': 'qa_pair_id',
|
|
38
|
+
'domain_id': 'domain_id',
|
|
39
|
+
'top_score_question': 'top_score_question',
|
|
40
|
+
'relevance_details': 'relevance_details'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, question=None, answer=None, score=None, domain=None, link=None, qa_pair_id=None, domain_id=None, top_score_question=None, relevance_details=None):
|
|
44
|
+
r"""QabotAnswer
|
|
45
|
+
|
|
46
|
+
The model defined in huaweicloud sdk
|
|
47
|
+
|
|
48
|
+
:param question: 问题
|
|
49
|
+
:type question: str
|
|
50
|
+
:param answer: 答案
|
|
51
|
+
:type answer: str
|
|
52
|
+
:param score: 评分
|
|
53
|
+
:type score: float
|
|
54
|
+
:param domain: 主题
|
|
55
|
+
:type domain: str
|
|
56
|
+
:param link: 链接地址
|
|
57
|
+
:type link: str
|
|
58
|
+
:param qa_pair_id: 语料id
|
|
59
|
+
:type qa_pair_id: str
|
|
60
|
+
:param domain_id: 主题id
|
|
61
|
+
:type domain_id: str
|
|
62
|
+
:param top_score_question: 推荐答案
|
|
63
|
+
:type top_score_question: str
|
|
64
|
+
:param relevance_details: 相关问题列表
|
|
65
|
+
:type relevance_details: list[:class:`huaweicloudsdkosm.v2.RelevanceQapair`]
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
self._question = None
|
|
71
|
+
self._answer = None
|
|
72
|
+
self._score = None
|
|
73
|
+
self._domain = None
|
|
74
|
+
self._link = None
|
|
75
|
+
self._qa_pair_id = None
|
|
76
|
+
self._domain_id = None
|
|
77
|
+
self._top_score_question = None
|
|
78
|
+
self._relevance_details = None
|
|
79
|
+
self.discriminator = None
|
|
80
|
+
|
|
81
|
+
if question is not None:
|
|
82
|
+
self.question = question
|
|
83
|
+
if answer is not None:
|
|
84
|
+
self.answer = answer
|
|
85
|
+
if score is not None:
|
|
86
|
+
self.score = score
|
|
87
|
+
if domain is not None:
|
|
88
|
+
self.domain = domain
|
|
89
|
+
if link is not None:
|
|
90
|
+
self.link = link
|
|
91
|
+
if qa_pair_id is not None:
|
|
92
|
+
self.qa_pair_id = qa_pair_id
|
|
93
|
+
if domain_id is not None:
|
|
94
|
+
self.domain_id = domain_id
|
|
95
|
+
if top_score_question is not None:
|
|
96
|
+
self.top_score_question = top_score_question
|
|
97
|
+
if relevance_details is not None:
|
|
98
|
+
self.relevance_details = relevance_details
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def question(self):
|
|
102
|
+
r"""Gets the question of this QabotAnswer.
|
|
103
|
+
|
|
104
|
+
问题
|
|
105
|
+
|
|
106
|
+
:return: The question of this QabotAnswer.
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._question
|
|
110
|
+
|
|
111
|
+
@question.setter
|
|
112
|
+
def question(self, question):
|
|
113
|
+
r"""Sets the question of this QabotAnswer.
|
|
114
|
+
|
|
115
|
+
问题
|
|
116
|
+
|
|
117
|
+
:param question: The question of this QabotAnswer.
|
|
118
|
+
:type question: str
|
|
119
|
+
"""
|
|
120
|
+
self._question = question
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def answer(self):
|
|
124
|
+
r"""Gets the answer of this QabotAnswer.
|
|
125
|
+
|
|
126
|
+
答案
|
|
127
|
+
|
|
128
|
+
:return: The answer of this QabotAnswer.
|
|
129
|
+
:rtype: str
|
|
130
|
+
"""
|
|
131
|
+
return self._answer
|
|
132
|
+
|
|
133
|
+
@answer.setter
|
|
134
|
+
def answer(self, answer):
|
|
135
|
+
r"""Sets the answer of this QabotAnswer.
|
|
136
|
+
|
|
137
|
+
答案
|
|
138
|
+
|
|
139
|
+
:param answer: The answer of this QabotAnswer.
|
|
140
|
+
:type answer: str
|
|
141
|
+
"""
|
|
142
|
+
self._answer = answer
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
def score(self):
|
|
146
|
+
r"""Gets the score of this QabotAnswer.
|
|
147
|
+
|
|
148
|
+
评分
|
|
149
|
+
|
|
150
|
+
:return: The score of this QabotAnswer.
|
|
151
|
+
:rtype: float
|
|
152
|
+
"""
|
|
153
|
+
return self._score
|
|
154
|
+
|
|
155
|
+
@score.setter
|
|
156
|
+
def score(self, score):
|
|
157
|
+
r"""Sets the score of this QabotAnswer.
|
|
158
|
+
|
|
159
|
+
评分
|
|
160
|
+
|
|
161
|
+
:param score: The score of this QabotAnswer.
|
|
162
|
+
:type score: float
|
|
163
|
+
"""
|
|
164
|
+
self._score = score
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
def domain(self):
|
|
168
|
+
r"""Gets the domain of this QabotAnswer.
|
|
169
|
+
|
|
170
|
+
主题
|
|
171
|
+
|
|
172
|
+
:return: The domain of this QabotAnswer.
|
|
173
|
+
:rtype: str
|
|
174
|
+
"""
|
|
175
|
+
return self._domain
|
|
176
|
+
|
|
177
|
+
@domain.setter
|
|
178
|
+
def domain(self, domain):
|
|
179
|
+
r"""Sets the domain of this QabotAnswer.
|
|
180
|
+
|
|
181
|
+
主题
|
|
182
|
+
|
|
183
|
+
:param domain: The domain of this QabotAnswer.
|
|
184
|
+
:type domain: str
|
|
185
|
+
"""
|
|
186
|
+
self._domain = domain
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
def link(self):
|
|
190
|
+
r"""Gets the link of this QabotAnswer.
|
|
191
|
+
|
|
192
|
+
链接地址
|
|
193
|
+
|
|
194
|
+
:return: The link of this QabotAnswer.
|
|
195
|
+
:rtype: str
|
|
196
|
+
"""
|
|
197
|
+
return self._link
|
|
198
|
+
|
|
199
|
+
@link.setter
|
|
200
|
+
def link(self, link):
|
|
201
|
+
r"""Sets the link of this QabotAnswer.
|
|
202
|
+
|
|
203
|
+
链接地址
|
|
204
|
+
|
|
205
|
+
:param link: The link of this QabotAnswer.
|
|
206
|
+
:type link: str
|
|
207
|
+
"""
|
|
208
|
+
self._link = link
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
def qa_pair_id(self):
|
|
212
|
+
r"""Gets the qa_pair_id of this QabotAnswer.
|
|
213
|
+
|
|
214
|
+
语料id
|
|
215
|
+
|
|
216
|
+
:return: The qa_pair_id of this QabotAnswer.
|
|
217
|
+
:rtype: str
|
|
218
|
+
"""
|
|
219
|
+
return self._qa_pair_id
|
|
220
|
+
|
|
221
|
+
@qa_pair_id.setter
|
|
222
|
+
def qa_pair_id(self, qa_pair_id):
|
|
223
|
+
r"""Sets the qa_pair_id of this QabotAnswer.
|
|
224
|
+
|
|
225
|
+
语料id
|
|
226
|
+
|
|
227
|
+
:param qa_pair_id: The qa_pair_id of this QabotAnswer.
|
|
228
|
+
:type qa_pair_id: str
|
|
229
|
+
"""
|
|
230
|
+
self._qa_pair_id = qa_pair_id
|
|
231
|
+
|
|
232
|
+
@property
|
|
233
|
+
def domain_id(self):
|
|
234
|
+
r"""Gets the domain_id of this QabotAnswer.
|
|
235
|
+
|
|
236
|
+
主题id
|
|
237
|
+
|
|
238
|
+
:return: The domain_id of this QabotAnswer.
|
|
239
|
+
:rtype: str
|
|
240
|
+
"""
|
|
241
|
+
return self._domain_id
|
|
242
|
+
|
|
243
|
+
@domain_id.setter
|
|
244
|
+
def domain_id(self, domain_id):
|
|
245
|
+
r"""Sets the domain_id of this QabotAnswer.
|
|
246
|
+
|
|
247
|
+
主题id
|
|
248
|
+
|
|
249
|
+
:param domain_id: The domain_id of this QabotAnswer.
|
|
250
|
+
:type domain_id: str
|
|
251
|
+
"""
|
|
252
|
+
self._domain_id = domain_id
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
def top_score_question(self):
|
|
256
|
+
r"""Gets the top_score_question of this QabotAnswer.
|
|
257
|
+
|
|
258
|
+
推荐答案
|
|
259
|
+
|
|
260
|
+
:return: The top_score_question of this QabotAnswer.
|
|
261
|
+
:rtype: str
|
|
262
|
+
"""
|
|
263
|
+
return self._top_score_question
|
|
264
|
+
|
|
265
|
+
@top_score_question.setter
|
|
266
|
+
def top_score_question(self, top_score_question):
|
|
267
|
+
r"""Sets the top_score_question of this QabotAnswer.
|
|
268
|
+
|
|
269
|
+
推荐答案
|
|
270
|
+
|
|
271
|
+
:param top_score_question: The top_score_question of this QabotAnswer.
|
|
272
|
+
:type top_score_question: str
|
|
273
|
+
"""
|
|
274
|
+
self._top_score_question = top_score_question
|
|
275
|
+
|
|
276
|
+
@property
|
|
277
|
+
def relevance_details(self):
|
|
278
|
+
r"""Gets the relevance_details of this QabotAnswer.
|
|
279
|
+
|
|
280
|
+
相关问题列表
|
|
281
|
+
|
|
282
|
+
:return: The relevance_details of this QabotAnswer.
|
|
283
|
+
:rtype: list[:class:`huaweicloudsdkosm.v2.RelevanceQapair`]
|
|
284
|
+
"""
|
|
285
|
+
return self._relevance_details
|
|
286
|
+
|
|
287
|
+
@relevance_details.setter
|
|
288
|
+
def relevance_details(self, relevance_details):
|
|
289
|
+
r"""Sets the relevance_details of this QabotAnswer.
|
|
290
|
+
|
|
291
|
+
相关问题列表
|
|
292
|
+
|
|
293
|
+
:param relevance_details: The relevance_details of this QabotAnswer.
|
|
294
|
+
:type relevance_details: list[:class:`huaweicloudsdkosm.v2.RelevanceQapair`]
|
|
295
|
+
"""
|
|
296
|
+
self._relevance_details = relevance_details
|
|
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, QabotAnswer):
|
|
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
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class QueryAssociatedQuestionReq:
|
|
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
|
+
'question': 'str',
|
|
21
|
+
'top': 'int',
|
|
22
|
+
'domains': 'list[str]'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'question': 'question',
|
|
27
|
+
'top': 'top',
|
|
28
|
+
'domains': 'domains'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
def __init__(self, question=None, top=None, domains=None):
|
|
32
|
+
r"""QueryAssociatedQuestionReq
|
|
33
|
+
|
|
34
|
+
The model defined in huaweicloud sdk
|
|
35
|
+
|
|
36
|
+
:param question: 用户输入问题
|
|
37
|
+
:type question: str
|
|
38
|
+
:param top: 返回匹配度最高的数据条数
|
|
39
|
+
:type top: int
|
|
40
|
+
:param domains: 问答领域
|
|
41
|
+
:type domains: list[str]
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
self._question = None
|
|
47
|
+
self._top = None
|
|
48
|
+
self._domains = None
|
|
49
|
+
self.discriminator = None
|
|
50
|
+
|
|
51
|
+
self.question = question
|
|
52
|
+
if top is not None:
|
|
53
|
+
self.top = top
|
|
54
|
+
if domains is not None:
|
|
55
|
+
self.domains = domains
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def question(self):
|
|
59
|
+
r"""Gets the question of this QueryAssociatedQuestionReq.
|
|
60
|
+
|
|
61
|
+
用户输入问题
|
|
62
|
+
|
|
63
|
+
:return: The question of this QueryAssociatedQuestionReq.
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._question
|
|
67
|
+
|
|
68
|
+
@question.setter
|
|
69
|
+
def question(self, question):
|
|
70
|
+
r"""Sets the question of this QueryAssociatedQuestionReq.
|
|
71
|
+
|
|
72
|
+
用户输入问题
|
|
73
|
+
|
|
74
|
+
:param question: The question of this QueryAssociatedQuestionReq.
|
|
75
|
+
:type question: str
|
|
76
|
+
"""
|
|
77
|
+
self._question = question
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def top(self):
|
|
81
|
+
r"""Gets the top of this QueryAssociatedQuestionReq.
|
|
82
|
+
|
|
83
|
+
返回匹配度最高的数据条数
|
|
84
|
+
|
|
85
|
+
:return: The top of this QueryAssociatedQuestionReq.
|
|
86
|
+
:rtype: int
|
|
87
|
+
"""
|
|
88
|
+
return self._top
|
|
89
|
+
|
|
90
|
+
@top.setter
|
|
91
|
+
def top(self, top):
|
|
92
|
+
r"""Sets the top of this QueryAssociatedQuestionReq.
|
|
93
|
+
|
|
94
|
+
返回匹配度最高的数据条数
|
|
95
|
+
|
|
96
|
+
:param top: The top of this QueryAssociatedQuestionReq.
|
|
97
|
+
:type top: int
|
|
98
|
+
"""
|
|
99
|
+
self._top = top
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def domains(self):
|
|
103
|
+
r"""Gets the domains of this QueryAssociatedQuestionReq.
|
|
104
|
+
|
|
105
|
+
问答领域
|
|
106
|
+
|
|
107
|
+
:return: The domains of this QueryAssociatedQuestionReq.
|
|
108
|
+
:rtype: list[str]
|
|
109
|
+
"""
|
|
110
|
+
return self._domains
|
|
111
|
+
|
|
112
|
+
@domains.setter
|
|
113
|
+
def domains(self, domains):
|
|
114
|
+
r"""Sets the domains of this QueryAssociatedQuestionReq.
|
|
115
|
+
|
|
116
|
+
问答领域
|
|
117
|
+
|
|
118
|
+
:param domains: The domains of this QueryAssociatedQuestionReq.
|
|
119
|
+
:type domains: list[str]
|
|
120
|
+
"""
|
|
121
|
+
self._domains = domains
|
|
122
|
+
|
|
123
|
+
def to_dict(self):
|
|
124
|
+
"""Returns the model properties as a dict"""
|
|
125
|
+
result = {}
|
|
126
|
+
|
|
127
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
128
|
+
value = getattr(self, attr)
|
|
129
|
+
if isinstance(value, list):
|
|
130
|
+
result[attr] = list(map(
|
|
131
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
132
|
+
value
|
|
133
|
+
))
|
|
134
|
+
elif hasattr(value, "to_dict"):
|
|
135
|
+
result[attr] = value.to_dict()
|
|
136
|
+
elif isinstance(value, dict):
|
|
137
|
+
result[attr] = dict(map(
|
|
138
|
+
lambda item: (item[0], item[1].to_dict())
|
|
139
|
+
if hasattr(item[1], "to_dict") else item,
|
|
140
|
+
value.items()
|
|
141
|
+
))
|
|
142
|
+
else:
|
|
143
|
+
if attr in self.sensitive_list:
|
|
144
|
+
result[attr] = "****"
|
|
145
|
+
else:
|
|
146
|
+
result[attr] = value
|
|
147
|
+
|
|
148
|
+
return result
|
|
149
|
+
|
|
150
|
+
def to_str(self):
|
|
151
|
+
"""Returns the string representation of the model"""
|
|
152
|
+
import simplejson as json
|
|
153
|
+
if six.PY2:
|
|
154
|
+
import sys
|
|
155
|
+
reload(sys)
|
|
156
|
+
sys.setdefaultencoding("utf-8")
|
|
157
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, QueryAssociatedQuestionReq):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.__dict__ == other.__dict__
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
return not self == other
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class QueryDiagnoseItemsReq:
|
|
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
|
+
'job_id': 'str',
|
|
21
|
+
'item_ids': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'job_id': 'job_id',
|
|
26
|
+
'item_ids': 'item_ids'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, job_id=None, item_ids=None):
|
|
30
|
+
r"""QueryDiagnoseItemsReq
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param job_id: job id
|
|
35
|
+
:type job_id: str
|
|
36
|
+
:param item_ids: 诊断项id列表
|
|
37
|
+
:type item_ids: str
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._job_id = None
|
|
43
|
+
self._item_ids = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
if job_id is not None:
|
|
47
|
+
self.job_id = job_id
|
|
48
|
+
if item_ids is not None:
|
|
49
|
+
self.item_ids = item_ids
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
def job_id(self):
|
|
53
|
+
r"""Gets the job_id of this QueryDiagnoseItemsReq.
|
|
54
|
+
|
|
55
|
+
job id
|
|
56
|
+
|
|
57
|
+
:return: The job_id of this QueryDiagnoseItemsReq.
|
|
58
|
+
:rtype: str
|
|
59
|
+
"""
|
|
60
|
+
return self._job_id
|
|
61
|
+
|
|
62
|
+
@job_id.setter
|
|
63
|
+
def job_id(self, job_id):
|
|
64
|
+
r"""Sets the job_id of this QueryDiagnoseItemsReq.
|
|
65
|
+
|
|
66
|
+
job id
|
|
67
|
+
|
|
68
|
+
:param job_id: The job_id of this QueryDiagnoseItemsReq.
|
|
69
|
+
:type job_id: str
|
|
70
|
+
"""
|
|
71
|
+
self._job_id = job_id
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
def item_ids(self):
|
|
75
|
+
r"""Gets the item_ids of this QueryDiagnoseItemsReq.
|
|
76
|
+
|
|
77
|
+
诊断项id列表
|
|
78
|
+
|
|
79
|
+
:return: The item_ids of this QueryDiagnoseItemsReq.
|
|
80
|
+
:rtype: str
|
|
81
|
+
"""
|
|
82
|
+
return self._item_ids
|
|
83
|
+
|
|
84
|
+
@item_ids.setter
|
|
85
|
+
def item_ids(self, item_ids):
|
|
86
|
+
r"""Sets the item_ids of this QueryDiagnoseItemsReq.
|
|
87
|
+
|
|
88
|
+
诊断项id列表
|
|
89
|
+
|
|
90
|
+
:param item_ids: The item_ids of this QueryDiagnoseItemsReq.
|
|
91
|
+
:type item_ids: str
|
|
92
|
+
"""
|
|
93
|
+
self._item_ids = item_ids
|
|
94
|
+
|
|
95
|
+
def to_dict(self):
|
|
96
|
+
"""Returns the model properties as a dict"""
|
|
97
|
+
result = {}
|
|
98
|
+
|
|
99
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
100
|
+
value = getattr(self, attr)
|
|
101
|
+
if isinstance(value, list):
|
|
102
|
+
result[attr] = list(map(
|
|
103
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
104
|
+
value
|
|
105
|
+
))
|
|
106
|
+
elif hasattr(value, "to_dict"):
|
|
107
|
+
result[attr] = value.to_dict()
|
|
108
|
+
elif isinstance(value, dict):
|
|
109
|
+
result[attr] = dict(map(
|
|
110
|
+
lambda item: (item[0], item[1].to_dict())
|
|
111
|
+
if hasattr(item[1], "to_dict") else item,
|
|
112
|
+
value.items()
|
|
113
|
+
))
|
|
114
|
+
else:
|
|
115
|
+
if attr in self.sensitive_list:
|
|
116
|
+
result[attr] = "****"
|
|
117
|
+
else:
|
|
118
|
+
result[attr] = value
|
|
119
|
+
|
|
120
|
+
return result
|
|
121
|
+
|
|
122
|
+
def to_str(self):
|
|
123
|
+
"""Returns the string representation of the model"""
|
|
124
|
+
import simplejson as json
|
|
125
|
+
if six.PY2:
|
|
126
|
+
import sys
|
|
127
|
+
reload(sys)
|
|
128
|
+
sys.setdefaultencoding("utf-8")
|
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
130
|
+
|
|
131
|
+
def __repr__(self):
|
|
132
|
+
"""For `print`"""
|
|
133
|
+
return self.to_str()
|
|
134
|
+
|
|
135
|
+
def __eq__(self, other):
|
|
136
|
+
"""Returns true if both objects are equal"""
|
|
137
|
+
if not isinstance(other, QueryDiagnoseItemsReq):
|
|
138
|
+
return False
|
|
139
|
+
|
|
140
|
+
return self.__dict__ == other.__dict__
|
|
141
|
+
|
|
142
|
+
def __ne__(self, other):
|
|
143
|
+
"""Returns true if both objects are not equal"""
|
|
144
|
+
return not self == other
|