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