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,260 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class AgreementVO:
|
|
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
|
+
'agreement_name': 'str',
|
|
22
|
+
'agreement_type': 'str',
|
|
23
|
+
'agreement_type_name': 'str',
|
|
24
|
+
'content': 'str',
|
|
25
|
+
'version': 'int'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
attribute_map = {
|
|
29
|
+
'id': 'id',
|
|
30
|
+
'agreement_name': 'agreement_name',
|
|
31
|
+
'agreement_type': 'agreement_type',
|
|
32
|
+
'agreement_type_name': 'agreement_type_name',
|
|
33
|
+
'content': 'content',
|
|
34
|
+
'version': 'version'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
def __init__(self, id=None, agreement_name=None, agreement_type=None, agreement_type_name=None, content=None, version=None):
|
|
38
|
+
r"""AgreementVO
|
|
39
|
+
|
|
40
|
+
The model defined in huaweicloud sdk
|
|
41
|
+
|
|
42
|
+
:param id: 协议id
|
|
43
|
+
:type id: str
|
|
44
|
+
:param agreement_name: 协议名称
|
|
45
|
+
:type agreement_name: str
|
|
46
|
+
:param agreement_type: 协议类型
|
|
47
|
+
:type agreement_type: str
|
|
48
|
+
:param agreement_type_name: 协议类型名称
|
|
49
|
+
:type agreement_type_name: str
|
|
50
|
+
:param content: 内容
|
|
51
|
+
:type content: str
|
|
52
|
+
:param version: 版本
|
|
53
|
+
:type version: int
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
self._id = None
|
|
59
|
+
self._agreement_name = None
|
|
60
|
+
self._agreement_type = None
|
|
61
|
+
self._agreement_type_name = None
|
|
62
|
+
self._content = None
|
|
63
|
+
self._version = None
|
|
64
|
+
self.discriminator = None
|
|
65
|
+
|
|
66
|
+
if id is not None:
|
|
67
|
+
self.id = id
|
|
68
|
+
if agreement_name is not None:
|
|
69
|
+
self.agreement_name = agreement_name
|
|
70
|
+
if agreement_type is not None:
|
|
71
|
+
self.agreement_type = agreement_type
|
|
72
|
+
if agreement_type_name is not None:
|
|
73
|
+
self.agreement_type_name = agreement_type_name
|
|
74
|
+
if content is not None:
|
|
75
|
+
self.content = content
|
|
76
|
+
if version is not None:
|
|
77
|
+
self.version = version
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def id(self):
|
|
81
|
+
r"""Gets the id of this AgreementVO.
|
|
82
|
+
|
|
83
|
+
协议id
|
|
84
|
+
|
|
85
|
+
:return: The id of this AgreementVO.
|
|
86
|
+
:rtype: str
|
|
87
|
+
"""
|
|
88
|
+
return self._id
|
|
89
|
+
|
|
90
|
+
@id.setter
|
|
91
|
+
def id(self, id):
|
|
92
|
+
r"""Sets the id of this AgreementVO.
|
|
93
|
+
|
|
94
|
+
协议id
|
|
95
|
+
|
|
96
|
+
:param id: The id of this AgreementVO.
|
|
97
|
+
:type id: str
|
|
98
|
+
"""
|
|
99
|
+
self._id = id
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def agreement_name(self):
|
|
103
|
+
r"""Gets the agreement_name of this AgreementVO.
|
|
104
|
+
|
|
105
|
+
协议名称
|
|
106
|
+
|
|
107
|
+
:return: The agreement_name of this AgreementVO.
|
|
108
|
+
:rtype: str
|
|
109
|
+
"""
|
|
110
|
+
return self._agreement_name
|
|
111
|
+
|
|
112
|
+
@agreement_name.setter
|
|
113
|
+
def agreement_name(self, agreement_name):
|
|
114
|
+
r"""Sets the agreement_name of this AgreementVO.
|
|
115
|
+
|
|
116
|
+
协议名称
|
|
117
|
+
|
|
118
|
+
:param agreement_name: The agreement_name of this AgreementVO.
|
|
119
|
+
:type agreement_name: str
|
|
120
|
+
"""
|
|
121
|
+
self._agreement_name = agreement_name
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def agreement_type(self):
|
|
125
|
+
r"""Gets the agreement_type of this AgreementVO.
|
|
126
|
+
|
|
127
|
+
协议类型
|
|
128
|
+
|
|
129
|
+
:return: The agreement_type of this AgreementVO.
|
|
130
|
+
:rtype: str
|
|
131
|
+
"""
|
|
132
|
+
return self._agreement_type
|
|
133
|
+
|
|
134
|
+
@agreement_type.setter
|
|
135
|
+
def agreement_type(self, agreement_type):
|
|
136
|
+
r"""Sets the agreement_type of this AgreementVO.
|
|
137
|
+
|
|
138
|
+
协议类型
|
|
139
|
+
|
|
140
|
+
:param agreement_type: The agreement_type of this AgreementVO.
|
|
141
|
+
:type agreement_type: str
|
|
142
|
+
"""
|
|
143
|
+
self._agreement_type = agreement_type
|
|
144
|
+
|
|
145
|
+
@property
|
|
146
|
+
def agreement_type_name(self):
|
|
147
|
+
r"""Gets the agreement_type_name of this AgreementVO.
|
|
148
|
+
|
|
149
|
+
协议类型名称
|
|
150
|
+
|
|
151
|
+
:return: The agreement_type_name of this AgreementVO.
|
|
152
|
+
:rtype: str
|
|
153
|
+
"""
|
|
154
|
+
return self._agreement_type_name
|
|
155
|
+
|
|
156
|
+
@agreement_type_name.setter
|
|
157
|
+
def agreement_type_name(self, agreement_type_name):
|
|
158
|
+
r"""Sets the agreement_type_name of this AgreementVO.
|
|
159
|
+
|
|
160
|
+
协议类型名称
|
|
161
|
+
|
|
162
|
+
:param agreement_type_name: The agreement_type_name of this AgreementVO.
|
|
163
|
+
:type agreement_type_name: str
|
|
164
|
+
"""
|
|
165
|
+
self._agreement_type_name = agreement_type_name
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
def content(self):
|
|
169
|
+
r"""Gets the content of this AgreementVO.
|
|
170
|
+
|
|
171
|
+
内容
|
|
172
|
+
|
|
173
|
+
:return: The content of this AgreementVO.
|
|
174
|
+
:rtype: str
|
|
175
|
+
"""
|
|
176
|
+
return self._content
|
|
177
|
+
|
|
178
|
+
@content.setter
|
|
179
|
+
def content(self, content):
|
|
180
|
+
r"""Sets the content of this AgreementVO.
|
|
181
|
+
|
|
182
|
+
内容
|
|
183
|
+
|
|
184
|
+
:param content: The content of this AgreementVO.
|
|
185
|
+
:type content: str
|
|
186
|
+
"""
|
|
187
|
+
self._content = content
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
def version(self):
|
|
191
|
+
r"""Gets the version of this AgreementVO.
|
|
192
|
+
|
|
193
|
+
版本
|
|
194
|
+
|
|
195
|
+
:return: The version of this AgreementVO.
|
|
196
|
+
:rtype: int
|
|
197
|
+
"""
|
|
198
|
+
return self._version
|
|
199
|
+
|
|
200
|
+
@version.setter
|
|
201
|
+
def version(self, version):
|
|
202
|
+
r"""Sets the version of this AgreementVO.
|
|
203
|
+
|
|
204
|
+
版本
|
|
205
|
+
|
|
206
|
+
:param version: The version of this AgreementVO.
|
|
207
|
+
:type version: int
|
|
208
|
+
"""
|
|
209
|
+
self._version = version
|
|
210
|
+
|
|
211
|
+
def to_dict(self):
|
|
212
|
+
"""Returns the model properties as a dict"""
|
|
213
|
+
result = {}
|
|
214
|
+
|
|
215
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
216
|
+
value = getattr(self, attr)
|
|
217
|
+
if isinstance(value, list):
|
|
218
|
+
result[attr] = list(map(
|
|
219
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
220
|
+
value
|
|
221
|
+
))
|
|
222
|
+
elif hasattr(value, "to_dict"):
|
|
223
|
+
result[attr] = value.to_dict()
|
|
224
|
+
elif isinstance(value, dict):
|
|
225
|
+
result[attr] = dict(map(
|
|
226
|
+
lambda item: (item[0], item[1].to_dict())
|
|
227
|
+
if hasattr(item[1], "to_dict") else item,
|
|
228
|
+
value.items()
|
|
229
|
+
))
|
|
230
|
+
else:
|
|
231
|
+
if attr in self.sensitive_list:
|
|
232
|
+
result[attr] = "****"
|
|
233
|
+
else:
|
|
234
|
+
result[attr] = value
|
|
235
|
+
|
|
236
|
+
return result
|
|
237
|
+
|
|
238
|
+
def to_str(self):
|
|
239
|
+
"""Returns the string representation of the model"""
|
|
240
|
+
import simplejson as json
|
|
241
|
+
if six.PY2:
|
|
242
|
+
import sys
|
|
243
|
+
reload(sys)
|
|
244
|
+
sys.setdefaultencoding("utf-8")
|
|
245
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
246
|
+
|
|
247
|
+
def __repr__(self):
|
|
248
|
+
"""For `print`"""
|
|
249
|
+
return self.to_str()
|
|
250
|
+
|
|
251
|
+
def __eq__(self, other):
|
|
252
|
+
"""Returns true if both objects are equal"""
|
|
253
|
+
if not isinstance(other, AgreementVO):
|
|
254
|
+
return False
|
|
255
|
+
|
|
256
|
+
return self.__dict__ == other.__dict__
|
|
257
|
+
|
|
258
|
+
def __ne__(self, other):
|
|
259
|
+
"""Returns true if both objects are not equal"""
|
|
260
|
+
return not self == other
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class Answer:
|
|
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
|
+
'content': 'str',
|
|
21
|
+
'id': 'str',
|
|
22
|
+
'tags': 'list[str]',
|
|
23
|
+
'answer_type': 'str',
|
|
24
|
+
'qa_flow_entry': 'CbsFlowEntry'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
attribute_map = {
|
|
28
|
+
'content': 'content',
|
|
29
|
+
'id': 'id',
|
|
30
|
+
'tags': 'tags',
|
|
31
|
+
'answer_type': 'answer_type',
|
|
32
|
+
'qa_flow_entry': 'qa_flow_entry'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
def __init__(self, content=None, id=None, tags=None, answer_type=None, qa_flow_entry=None):
|
|
36
|
+
r"""Answer
|
|
37
|
+
|
|
38
|
+
The model defined in huaweicloud sdk
|
|
39
|
+
|
|
40
|
+
:param content: 答案内容
|
|
41
|
+
:type content: str
|
|
42
|
+
:param id: 答案Id
|
|
43
|
+
:type id: str
|
|
44
|
+
:param tags: 标签列表
|
|
45
|
+
:type tags: list[str]
|
|
46
|
+
:param answer_type: - TEXT: - RICH_TEXT: - FLOW: - QA_PAIR:
|
|
47
|
+
:type answer_type: str
|
|
48
|
+
:param qa_flow_entry:
|
|
49
|
+
:type qa_flow_entry: :class:`huaweicloudsdkosm.v2.CbsFlowEntry`
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
self._content = None
|
|
55
|
+
self._id = None
|
|
56
|
+
self._tags = None
|
|
57
|
+
self._answer_type = None
|
|
58
|
+
self._qa_flow_entry = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if content is not None:
|
|
62
|
+
self.content = content
|
|
63
|
+
if id is not None:
|
|
64
|
+
self.id = id
|
|
65
|
+
if tags is not None:
|
|
66
|
+
self.tags = tags
|
|
67
|
+
if answer_type is not None:
|
|
68
|
+
self.answer_type = answer_type
|
|
69
|
+
if qa_flow_entry is not None:
|
|
70
|
+
self.qa_flow_entry = qa_flow_entry
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def content(self):
|
|
74
|
+
r"""Gets the content of this Answer.
|
|
75
|
+
|
|
76
|
+
答案内容
|
|
77
|
+
|
|
78
|
+
:return: The content of this Answer.
|
|
79
|
+
:rtype: str
|
|
80
|
+
"""
|
|
81
|
+
return self._content
|
|
82
|
+
|
|
83
|
+
@content.setter
|
|
84
|
+
def content(self, content):
|
|
85
|
+
r"""Sets the content of this Answer.
|
|
86
|
+
|
|
87
|
+
答案内容
|
|
88
|
+
|
|
89
|
+
:param content: The content of this Answer.
|
|
90
|
+
:type content: str
|
|
91
|
+
"""
|
|
92
|
+
self._content = content
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
def id(self):
|
|
96
|
+
r"""Gets the id of this Answer.
|
|
97
|
+
|
|
98
|
+
答案Id
|
|
99
|
+
|
|
100
|
+
:return: The id of this Answer.
|
|
101
|
+
:rtype: str
|
|
102
|
+
"""
|
|
103
|
+
return self._id
|
|
104
|
+
|
|
105
|
+
@id.setter
|
|
106
|
+
def id(self, id):
|
|
107
|
+
r"""Sets the id of this Answer.
|
|
108
|
+
|
|
109
|
+
答案Id
|
|
110
|
+
|
|
111
|
+
:param id: The id of this Answer.
|
|
112
|
+
:type id: str
|
|
113
|
+
"""
|
|
114
|
+
self._id = id
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def tags(self):
|
|
118
|
+
r"""Gets the tags of this Answer.
|
|
119
|
+
|
|
120
|
+
标签列表
|
|
121
|
+
|
|
122
|
+
:return: The tags of this Answer.
|
|
123
|
+
:rtype: list[str]
|
|
124
|
+
"""
|
|
125
|
+
return self._tags
|
|
126
|
+
|
|
127
|
+
@tags.setter
|
|
128
|
+
def tags(self, tags):
|
|
129
|
+
r"""Sets the tags of this Answer.
|
|
130
|
+
|
|
131
|
+
标签列表
|
|
132
|
+
|
|
133
|
+
:param tags: The tags of this Answer.
|
|
134
|
+
:type tags: list[str]
|
|
135
|
+
"""
|
|
136
|
+
self._tags = tags
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def answer_type(self):
|
|
140
|
+
r"""Gets the answer_type of this Answer.
|
|
141
|
+
|
|
142
|
+
- TEXT: - RICH_TEXT: - FLOW: - QA_PAIR:
|
|
143
|
+
|
|
144
|
+
:return: The answer_type of this Answer.
|
|
145
|
+
:rtype: str
|
|
146
|
+
"""
|
|
147
|
+
return self._answer_type
|
|
148
|
+
|
|
149
|
+
@answer_type.setter
|
|
150
|
+
def answer_type(self, answer_type):
|
|
151
|
+
r"""Sets the answer_type of this Answer.
|
|
152
|
+
|
|
153
|
+
- TEXT: - RICH_TEXT: - FLOW: - QA_PAIR:
|
|
154
|
+
|
|
155
|
+
:param answer_type: The answer_type of this Answer.
|
|
156
|
+
:type answer_type: str
|
|
157
|
+
"""
|
|
158
|
+
self._answer_type = answer_type
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
def qa_flow_entry(self):
|
|
162
|
+
r"""Gets the qa_flow_entry of this Answer.
|
|
163
|
+
|
|
164
|
+
:return: The qa_flow_entry of this Answer.
|
|
165
|
+
:rtype: :class:`huaweicloudsdkosm.v2.CbsFlowEntry`
|
|
166
|
+
"""
|
|
167
|
+
return self._qa_flow_entry
|
|
168
|
+
|
|
169
|
+
@qa_flow_entry.setter
|
|
170
|
+
def qa_flow_entry(self, qa_flow_entry):
|
|
171
|
+
r"""Sets the qa_flow_entry of this Answer.
|
|
172
|
+
|
|
173
|
+
:param qa_flow_entry: The qa_flow_entry of this Answer.
|
|
174
|
+
:type qa_flow_entry: :class:`huaweicloudsdkosm.v2.CbsFlowEntry`
|
|
175
|
+
"""
|
|
176
|
+
self._qa_flow_entry = qa_flow_entry
|
|
177
|
+
|
|
178
|
+
def to_dict(self):
|
|
179
|
+
"""Returns the model properties as a dict"""
|
|
180
|
+
result = {}
|
|
181
|
+
|
|
182
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
183
|
+
value = getattr(self, attr)
|
|
184
|
+
if isinstance(value, list):
|
|
185
|
+
result[attr] = list(map(
|
|
186
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
187
|
+
value
|
|
188
|
+
))
|
|
189
|
+
elif hasattr(value, "to_dict"):
|
|
190
|
+
result[attr] = value.to_dict()
|
|
191
|
+
elif isinstance(value, dict):
|
|
192
|
+
result[attr] = dict(map(
|
|
193
|
+
lambda item: (item[0], item[1].to_dict())
|
|
194
|
+
if hasattr(item[1], "to_dict") else item,
|
|
195
|
+
value.items()
|
|
196
|
+
))
|
|
197
|
+
else:
|
|
198
|
+
if attr in self.sensitive_list:
|
|
199
|
+
result[attr] = "****"
|
|
200
|
+
else:
|
|
201
|
+
result[attr] = value
|
|
202
|
+
|
|
203
|
+
return result
|
|
204
|
+
|
|
205
|
+
def to_str(self):
|
|
206
|
+
"""Returns the string representation of the model"""
|
|
207
|
+
import simplejson as json
|
|
208
|
+
if six.PY2:
|
|
209
|
+
import sys
|
|
210
|
+
reload(sys)
|
|
211
|
+
sys.setdefaultencoding("utf-8")
|
|
212
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
213
|
+
|
|
214
|
+
def __repr__(self):
|
|
215
|
+
"""For `print`"""
|
|
216
|
+
return self.to_str()
|
|
217
|
+
|
|
218
|
+
def __eq__(self, other):
|
|
219
|
+
"""Returns true if both objects are equal"""
|
|
220
|
+
if not isinstance(other, Answer):
|
|
221
|
+
return False
|
|
222
|
+
|
|
223
|
+
return self.__dict__ == other.__dict__
|
|
224
|
+
|
|
225
|
+
def __ne__(self, other):
|
|
226
|
+
"""Returns true if both objects are not equal"""
|
|
227
|
+
return not self == other
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class AnswerDetail:
|
|
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
|
+
'qabot_answers': 'list[QabotAnswer]',
|
|
21
|
+
'qa_flow_answers': 'QaFlowHitResult',
|
|
22
|
+
'chat_answer': 'str',
|
|
23
|
+
'graph_answer': 'QaGraphAnswer'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'qabot_answers': 'qabot_answers',
|
|
28
|
+
'qa_flow_answers': 'qa_flow_answers',
|
|
29
|
+
'chat_answer': 'chat_answer',
|
|
30
|
+
'graph_answer': 'graph_answer'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, qabot_answers=None, qa_flow_answers=None, chat_answer=None, graph_answer=None):
|
|
34
|
+
r"""AnswerDetail
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param qabot_answers: 答案列表
|
|
39
|
+
:type qabot_answers: list[:class:`huaweicloudsdkosm.v2.QabotAnswer`]
|
|
40
|
+
:param qa_flow_answers:
|
|
41
|
+
:type qa_flow_answers: :class:`huaweicloudsdkosm.v2.QaFlowHitResult`
|
|
42
|
+
:param chat_answer: 问题
|
|
43
|
+
:type chat_answer: str
|
|
44
|
+
:param graph_answer:
|
|
45
|
+
:type graph_answer: :class:`huaweicloudsdkosm.v2.QaGraphAnswer`
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
self._qabot_answers = None
|
|
51
|
+
self._qa_flow_answers = None
|
|
52
|
+
self._chat_answer = None
|
|
53
|
+
self._graph_answer = None
|
|
54
|
+
self.discriminator = None
|
|
55
|
+
|
|
56
|
+
if qabot_answers is not None:
|
|
57
|
+
self.qabot_answers = qabot_answers
|
|
58
|
+
if qa_flow_answers is not None:
|
|
59
|
+
self.qa_flow_answers = qa_flow_answers
|
|
60
|
+
if chat_answer is not None:
|
|
61
|
+
self.chat_answer = chat_answer
|
|
62
|
+
if graph_answer is not None:
|
|
63
|
+
self.graph_answer = graph_answer
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def qabot_answers(self):
|
|
67
|
+
r"""Gets the qabot_answers of this AnswerDetail.
|
|
68
|
+
|
|
69
|
+
答案列表
|
|
70
|
+
|
|
71
|
+
:return: The qabot_answers of this AnswerDetail.
|
|
72
|
+
:rtype: list[:class:`huaweicloudsdkosm.v2.QabotAnswer`]
|
|
73
|
+
"""
|
|
74
|
+
return self._qabot_answers
|
|
75
|
+
|
|
76
|
+
@qabot_answers.setter
|
|
77
|
+
def qabot_answers(self, qabot_answers):
|
|
78
|
+
r"""Sets the qabot_answers of this AnswerDetail.
|
|
79
|
+
|
|
80
|
+
答案列表
|
|
81
|
+
|
|
82
|
+
:param qabot_answers: The qabot_answers of this AnswerDetail.
|
|
83
|
+
:type qabot_answers: list[:class:`huaweicloudsdkosm.v2.QabotAnswer`]
|
|
84
|
+
"""
|
|
85
|
+
self._qabot_answers = qabot_answers
|
|
86
|
+
|
|
87
|
+
@property
|
|
88
|
+
def qa_flow_answers(self):
|
|
89
|
+
r"""Gets the qa_flow_answers of this AnswerDetail.
|
|
90
|
+
|
|
91
|
+
:return: The qa_flow_answers of this AnswerDetail.
|
|
92
|
+
:rtype: :class:`huaweicloudsdkosm.v2.QaFlowHitResult`
|
|
93
|
+
"""
|
|
94
|
+
return self._qa_flow_answers
|
|
95
|
+
|
|
96
|
+
@qa_flow_answers.setter
|
|
97
|
+
def qa_flow_answers(self, qa_flow_answers):
|
|
98
|
+
r"""Sets the qa_flow_answers of this AnswerDetail.
|
|
99
|
+
|
|
100
|
+
:param qa_flow_answers: The qa_flow_answers of this AnswerDetail.
|
|
101
|
+
:type qa_flow_answers: :class:`huaweicloudsdkosm.v2.QaFlowHitResult`
|
|
102
|
+
"""
|
|
103
|
+
self._qa_flow_answers = qa_flow_answers
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def chat_answer(self):
|
|
107
|
+
r"""Gets the chat_answer of this AnswerDetail.
|
|
108
|
+
|
|
109
|
+
问题
|
|
110
|
+
|
|
111
|
+
:return: The chat_answer of this AnswerDetail.
|
|
112
|
+
:rtype: str
|
|
113
|
+
"""
|
|
114
|
+
return self._chat_answer
|
|
115
|
+
|
|
116
|
+
@chat_answer.setter
|
|
117
|
+
def chat_answer(self, chat_answer):
|
|
118
|
+
r"""Sets the chat_answer of this AnswerDetail.
|
|
119
|
+
|
|
120
|
+
问题
|
|
121
|
+
|
|
122
|
+
:param chat_answer: The chat_answer of this AnswerDetail.
|
|
123
|
+
:type chat_answer: str
|
|
124
|
+
"""
|
|
125
|
+
self._chat_answer = chat_answer
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def graph_answer(self):
|
|
129
|
+
r"""Gets the graph_answer of this AnswerDetail.
|
|
130
|
+
|
|
131
|
+
:return: The graph_answer of this AnswerDetail.
|
|
132
|
+
:rtype: :class:`huaweicloudsdkosm.v2.QaGraphAnswer`
|
|
133
|
+
"""
|
|
134
|
+
return self._graph_answer
|
|
135
|
+
|
|
136
|
+
@graph_answer.setter
|
|
137
|
+
def graph_answer(self, graph_answer):
|
|
138
|
+
r"""Sets the graph_answer of this AnswerDetail.
|
|
139
|
+
|
|
140
|
+
:param graph_answer: The graph_answer of this AnswerDetail.
|
|
141
|
+
:type graph_answer: :class:`huaweicloudsdkosm.v2.QaGraphAnswer`
|
|
142
|
+
"""
|
|
143
|
+
self._graph_answer = graph_answer
|
|
144
|
+
|
|
145
|
+
def to_dict(self):
|
|
146
|
+
"""Returns the model properties as a dict"""
|
|
147
|
+
result = {}
|
|
148
|
+
|
|
149
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
150
|
+
value = getattr(self, attr)
|
|
151
|
+
if isinstance(value, list):
|
|
152
|
+
result[attr] = list(map(
|
|
153
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
154
|
+
value
|
|
155
|
+
))
|
|
156
|
+
elif hasattr(value, "to_dict"):
|
|
157
|
+
result[attr] = value.to_dict()
|
|
158
|
+
elif isinstance(value, dict):
|
|
159
|
+
result[attr] = dict(map(
|
|
160
|
+
lambda item: (item[0], item[1].to_dict())
|
|
161
|
+
if hasattr(item[1], "to_dict") else item,
|
|
162
|
+
value.items()
|
|
163
|
+
))
|
|
164
|
+
else:
|
|
165
|
+
if attr in self.sensitive_list:
|
|
166
|
+
result[attr] = "****"
|
|
167
|
+
else:
|
|
168
|
+
result[attr] = value
|
|
169
|
+
|
|
170
|
+
return result
|
|
171
|
+
|
|
172
|
+
def to_str(self):
|
|
173
|
+
"""Returns the string representation of the model"""
|
|
174
|
+
import simplejson as json
|
|
175
|
+
if six.PY2:
|
|
176
|
+
import sys
|
|
177
|
+
reload(sys)
|
|
178
|
+
sys.setdefaultencoding("utf-8")
|
|
179
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
180
|
+
|
|
181
|
+
def __repr__(self):
|
|
182
|
+
"""For `print`"""
|
|
183
|
+
return self.to_str()
|
|
184
|
+
|
|
185
|
+
def __eq__(self, other):
|
|
186
|
+
"""Returns true if both objects are equal"""
|
|
187
|
+
if not isinstance(other, AnswerDetail):
|
|
188
|
+
return False
|
|
189
|
+
|
|
190
|
+
return self.__dict__ == other.__dict__
|
|
191
|
+
|
|
192
|
+
def __ne__(self, other):
|
|
193
|
+
"""Returns true if both objects are not equal"""
|
|
194
|
+
return not self == other
|