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,112 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ShowPartnersServiceInfoResponse(SdkResponse):
|
|
10
|
+
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
openapi_types (dict): The key is attribute name
|
|
14
|
+
and the value is attribute type.
|
|
15
|
+
attribute_map (dict): The key is attribute name
|
|
16
|
+
and the value is json key in definition.
|
|
17
|
+
"""
|
|
18
|
+
sensitive_list = []
|
|
19
|
+
|
|
20
|
+
openapi_types = {
|
|
21
|
+
'partners_service_info': 'PartnersServiceInfo'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'partners_service_info': 'partners_service_info'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
def __init__(self, partners_service_info=None):
|
|
29
|
+
r"""ShowPartnersServiceInfoResponse
|
|
30
|
+
|
|
31
|
+
The model defined in huaweicloud sdk
|
|
32
|
+
|
|
33
|
+
:param partners_service_info:
|
|
34
|
+
:type partners_service_info: :class:`huaweicloudsdkosm.v2.PartnersServiceInfo`
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
super(ShowPartnersServiceInfoResponse, self).__init__()
|
|
38
|
+
|
|
39
|
+
self._partners_service_info = None
|
|
40
|
+
self.discriminator = None
|
|
41
|
+
|
|
42
|
+
if partners_service_info is not None:
|
|
43
|
+
self.partners_service_info = partners_service_info
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
def partners_service_info(self):
|
|
47
|
+
r"""Gets the partners_service_info of this ShowPartnersServiceInfoResponse.
|
|
48
|
+
|
|
49
|
+
:return: The partners_service_info of this ShowPartnersServiceInfoResponse.
|
|
50
|
+
:rtype: :class:`huaweicloudsdkosm.v2.PartnersServiceInfo`
|
|
51
|
+
"""
|
|
52
|
+
return self._partners_service_info
|
|
53
|
+
|
|
54
|
+
@partners_service_info.setter
|
|
55
|
+
def partners_service_info(self, partners_service_info):
|
|
56
|
+
r"""Sets the partners_service_info of this ShowPartnersServiceInfoResponse.
|
|
57
|
+
|
|
58
|
+
:param partners_service_info: The partners_service_info of this ShowPartnersServiceInfoResponse.
|
|
59
|
+
:type partners_service_info: :class:`huaweicloudsdkosm.v2.PartnersServiceInfo`
|
|
60
|
+
"""
|
|
61
|
+
self._partners_service_info = partners_service_info
|
|
62
|
+
|
|
63
|
+
def to_dict(self):
|
|
64
|
+
"""Returns the model properties as a dict"""
|
|
65
|
+
result = {}
|
|
66
|
+
|
|
67
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
68
|
+
value = getattr(self, attr)
|
|
69
|
+
if isinstance(value, list):
|
|
70
|
+
result[attr] = list(map(
|
|
71
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
72
|
+
value
|
|
73
|
+
))
|
|
74
|
+
elif hasattr(value, "to_dict"):
|
|
75
|
+
result[attr] = value.to_dict()
|
|
76
|
+
elif isinstance(value, dict):
|
|
77
|
+
result[attr] = dict(map(
|
|
78
|
+
lambda item: (item[0], item[1].to_dict())
|
|
79
|
+
if hasattr(item[1], "to_dict") else item,
|
|
80
|
+
value.items()
|
|
81
|
+
))
|
|
82
|
+
else:
|
|
83
|
+
if attr in self.sensitive_list:
|
|
84
|
+
result[attr] = "****"
|
|
85
|
+
else:
|
|
86
|
+
result[attr] = value
|
|
87
|
+
|
|
88
|
+
return result
|
|
89
|
+
|
|
90
|
+
def to_str(self):
|
|
91
|
+
"""Returns the string representation of the model"""
|
|
92
|
+
import simplejson as json
|
|
93
|
+
if six.PY2:
|
|
94
|
+
import sys
|
|
95
|
+
reload(sys)
|
|
96
|
+
sys.setdefaultencoding("utf-8")
|
|
97
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
98
|
+
|
|
99
|
+
def __repr__(self):
|
|
100
|
+
"""For `print`"""
|
|
101
|
+
return self.to_str()
|
|
102
|
+
|
|
103
|
+
def __eq__(self, other):
|
|
104
|
+
"""Returns true if both objects are equal"""
|
|
105
|
+
if not isinstance(other, ShowPartnersServiceInfoResponse):
|
|
106
|
+
return False
|
|
107
|
+
|
|
108
|
+
return self.__dict__ == other.__dict__
|
|
109
|
+
|
|
110
|
+
def __ne__(self, other):
|
|
111
|
+
"""Returns true if both objects are not equal"""
|
|
112
|
+
return not self == other
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ShowQaPairDetailRequest:
|
|
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
|
+
'x_service_key': 'str',
|
|
21
|
+
'x_site': 'str',
|
|
22
|
+
'x_language': 'str',
|
|
23
|
+
'qa_pair_id': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'x_service_key': 'x-service-key',
|
|
28
|
+
'x_site': 'x-site',
|
|
29
|
+
'x_language': 'x-language',
|
|
30
|
+
'qa_pair_id': 'qa_pair_id'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, x_service_key=None, x_site=None, x_language=None, qa_pair_id=None):
|
|
34
|
+
r"""ShowQaPairDetailRequest
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param x_service_key: 调用智能客服服务标志。
|
|
39
|
+
:type x_service_key: str
|
|
40
|
+
:param x_site: 站点标记,0-中国站 1-国际站
|
|
41
|
+
:type x_site: str
|
|
42
|
+
:param x_language: 区域语言简写,en-us zh-cn
|
|
43
|
+
:type x_language: str
|
|
44
|
+
:param qa_pair_id: 语料Id
|
|
45
|
+
:type qa_pair_id: str
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
self._x_service_key = None
|
|
51
|
+
self._x_site = None
|
|
52
|
+
self._x_language = None
|
|
53
|
+
self._qa_pair_id = None
|
|
54
|
+
self.discriminator = None
|
|
55
|
+
|
|
56
|
+
self.x_service_key = x_service_key
|
|
57
|
+
if x_site is not None:
|
|
58
|
+
self.x_site = x_site
|
|
59
|
+
if x_language is not None:
|
|
60
|
+
self.x_language = x_language
|
|
61
|
+
self.qa_pair_id = qa_pair_id
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def x_service_key(self):
|
|
65
|
+
r"""Gets the x_service_key of this ShowQaPairDetailRequest.
|
|
66
|
+
|
|
67
|
+
调用智能客服服务标志。
|
|
68
|
+
|
|
69
|
+
:return: The x_service_key of this ShowQaPairDetailRequest.
|
|
70
|
+
:rtype: str
|
|
71
|
+
"""
|
|
72
|
+
return self._x_service_key
|
|
73
|
+
|
|
74
|
+
@x_service_key.setter
|
|
75
|
+
def x_service_key(self, x_service_key):
|
|
76
|
+
r"""Sets the x_service_key of this ShowQaPairDetailRequest.
|
|
77
|
+
|
|
78
|
+
调用智能客服服务标志。
|
|
79
|
+
|
|
80
|
+
:param x_service_key: The x_service_key of this ShowQaPairDetailRequest.
|
|
81
|
+
:type x_service_key: str
|
|
82
|
+
"""
|
|
83
|
+
self._x_service_key = x_service_key
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def x_site(self):
|
|
87
|
+
r"""Gets the x_site of this ShowQaPairDetailRequest.
|
|
88
|
+
|
|
89
|
+
站点标记,0-中国站 1-国际站
|
|
90
|
+
|
|
91
|
+
:return: The x_site of this ShowQaPairDetailRequest.
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._x_site
|
|
95
|
+
|
|
96
|
+
@x_site.setter
|
|
97
|
+
def x_site(self, x_site):
|
|
98
|
+
r"""Sets the x_site of this ShowQaPairDetailRequest.
|
|
99
|
+
|
|
100
|
+
站点标记,0-中国站 1-国际站
|
|
101
|
+
|
|
102
|
+
:param x_site: The x_site of this ShowQaPairDetailRequest.
|
|
103
|
+
:type x_site: str
|
|
104
|
+
"""
|
|
105
|
+
self._x_site = x_site
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def x_language(self):
|
|
109
|
+
r"""Gets the x_language of this ShowQaPairDetailRequest.
|
|
110
|
+
|
|
111
|
+
区域语言简写,en-us zh-cn
|
|
112
|
+
|
|
113
|
+
:return: The x_language of this ShowQaPairDetailRequest.
|
|
114
|
+
:rtype: str
|
|
115
|
+
"""
|
|
116
|
+
return self._x_language
|
|
117
|
+
|
|
118
|
+
@x_language.setter
|
|
119
|
+
def x_language(self, x_language):
|
|
120
|
+
r"""Sets the x_language of this ShowQaPairDetailRequest.
|
|
121
|
+
|
|
122
|
+
区域语言简写,en-us zh-cn
|
|
123
|
+
|
|
124
|
+
:param x_language: The x_language of this ShowQaPairDetailRequest.
|
|
125
|
+
:type x_language: str
|
|
126
|
+
"""
|
|
127
|
+
self._x_language = x_language
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
def qa_pair_id(self):
|
|
131
|
+
r"""Gets the qa_pair_id of this ShowQaPairDetailRequest.
|
|
132
|
+
|
|
133
|
+
语料Id
|
|
134
|
+
|
|
135
|
+
:return: The qa_pair_id of this ShowQaPairDetailRequest.
|
|
136
|
+
:rtype: str
|
|
137
|
+
"""
|
|
138
|
+
return self._qa_pair_id
|
|
139
|
+
|
|
140
|
+
@qa_pair_id.setter
|
|
141
|
+
def qa_pair_id(self, qa_pair_id):
|
|
142
|
+
r"""Sets the qa_pair_id of this ShowQaPairDetailRequest.
|
|
143
|
+
|
|
144
|
+
语料Id
|
|
145
|
+
|
|
146
|
+
:param qa_pair_id: The qa_pair_id of this ShowQaPairDetailRequest.
|
|
147
|
+
:type qa_pair_id: str
|
|
148
|
+
"""
|
|
149
|
+
self._qa_pair_id = qa_pair_id
|
|
150
|
+
|
|
151
|
+
def to_dict(self):
|
|
152
|
+
"""Returns the model properties as a dict"""
|
|
153
|
+
result = {}
|
|
154
|
+
|
|
155
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
156
|
+
value = getattr(self, attr)
|
|
157
|
+
if isinstance(value, list):
|
|
158
|
+
result[attr] = list(map(
|
|
159
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
160
|
+
value
|
|
161
|
+
))
|
|
162
|
+
elif hasattr(value, "to_dict"):
|
|
163
|
+
result[attr] = value.to_dict()
|
|
164
|
+
elif isinstance(value, dict):
|
|
165
|
+
result[attr] = dict(map(
|
|
166
|
+
lambda item: (item[0], item[1].to_dict())
|
|
167
|
+
if hasattr(item[1], "to_dict") else item,
|
|
168
|
+
value.items()
|
|
169
|
+
))
|
|
170
|
+
else:
|
|
171
|
+
if attr in self.sensitive_list:
|
|
172
|
+
result[attr] = "****"
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
|
|
176
|
+
return result
|
|
177
|
+
|
|
178
|
+
def to_str(self):
|
|
179
|
+
"""Returns the string representation of the model"""
|
|
180
|
+
import simplejson as json
|
|
181
|
+
if six.PY2:
|
|
182
|
+
import sys
|
|
183
|
+
reload(sys)
|
|
184
|
+
sys.setdefaultencoding("utf-8")
|
|
185
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
186
|
+
|
|
187
|
+
def __repr__(self):
|
|
188
|
+
"""For `print`"""
|
|
189
|
+
return self.to_str()
|
|
190
|
+
|
|
191
|
+
def __eq__(self, other):
|
|
192
|
+
"""Returns true if both objects are equal"""
|
|
193
|
+
if not isinstance(other, ShowQaPairDetailRequest):
|
|
194
|
+
return False
|
|
195
|
+
|
|
196
|
+
return self.__dict__ == other.__dict__
|
|
197
|
+
|
|
198
|
+
def __ne__(self, other):
|
|
199
|
+
"""Returns true if both objects are not equal"""
|
|
200
|
+
return not self == other
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ShowQaPairDetailResponse(SdkResponse):
|
|
10
|
+
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
openapi_types (dict): The key is attribute name
|
|
14
|
+
and the value is attribute type.
|
|
15
|
+
attribute_map (dict): The key is attribute name
|
|
16
|
+
and the value is json key in definition.
|
|
17
|
+
"""
|
|
18
|
+
sensitive_list = []
|
|
19
|
+
|
|
20
|
+
openapi_types = {
|
|
21
|
+
'qapair': 'QaPair',
|
|
22
|
+
'error_code': 'str',
|
|
23
|
+
'error_msg': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'qapair': 'qapair',
|
|
28
|
+
'error_code': 'error_code',
|
|
29
|
+
'error_msg': 'error_msg'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
def __init__(self, qapair=None, error_code=None, error_msg=None):
|
|
33
|
+
r"""ShowQaPairDetailResponse
|
|
34
|
+
|
|
35
|
+
The model defined in huaweicloud sdk
|
|
36
|
+
|
|
37
|
+
:param qapair:
|
|
38
|
+
:type qapair: :class:`huaweicloudsdkosm.v2.QaPair`
|
|
39
|
+
:param error_code: 错误码
|
|
40
|
+
:type error_code: str
|
|
41
|
+
:param error_msg: 错误描述
|
|
42
|
+
:type error_msg: str
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
super(ShowQaPairDetailResponse, self).__init__()
|
|
46
|
+
|
|
47
|
+
self._qapair = None
|
|
48
|
+
self._error_code = None
|
|
49
|
+
self._error_msg = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if qapair is not None:
|
|
53
|
+
self.qapair = qapair
|
|
54
|
+
if error_code is not None:
|
|
55
|
+
self.error_code = error_code
|
|
56
|
+
if error_msg is not None:
|
|
57
|
+
self.error_msg = error_msg
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def qapair(self):
|
|
61
|
+
r"""Gets the qapair of this ShowQaPairDetailResponse.
|
|
62
|
+
|
|
63
|
+
:return: The qapair of this ShowQaPairDetailResponse.
|
|
64
|
+
:rtype: :class:`huaweicloudsdkosm.v2.QaPair`
|
|
65
|
+
"""
|
|
66
|
+
return self._qapair
|
|
67
|
+
|
|
68
|
+
@qapair.setter
|
|
69
|
+
def qapair(self, qapair):
|
|
70
|
+
r"""Sets the qapair of this ShowQaPairDetailResponse.
|
|
71
|
+
|
|
72
|
+
:param qapair: The qapair of this ShowQaPairDetailResponse.
|
|
73
|
+
:type qapair: :class:`huaweicloudsdkosm.v2.QaPair`
|
|
74
|
+
"""
|
|
75
|
+
self._qapair = qapair
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def error_code(self):
|
|
79
|
+
r"""Gets the error_code of this ShowQaPairDetailResponse.
|
|
80
|
+
|
|
81
|
+
错误码
|
|
82
|
+
|
|
83
|
+
:return: The error_code of this ShowQaPairDetailResponse.
|
|
84
|
+
:rtype: str
|
|
85
|
+
"""
|
|
86
|
+
return self._error_code
|
|
87
|
+
|
|
88
|
+
@error_code.setter
|
|
89
|
+
def error_code(self, error_code):
|
|
90
|
+
r"""Sets the error_code of this ShowQaPairDetailResponse.
|
|
91
|
+
|
|
92
|
+
错误码
|
|
93
|
+
|
|
94
|
+
:param error_code: The error_code of this ShowQaPairDetailResponse.
|
|
95
|
+
:type error_code: str
|
|
96
|
+
"""
|
|
97
|
+
self._error_code = error_code
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def error_msg(self):
|
|
101
|
+
r"""Gets the error_msg of this ShowQaPairDetailResponse.
|
|
102
|
+
|
|
103
|
+
错误描述
|
|
104
|
+
|
|
105
|
+
:return: The error_msg of this ShowQaPairDetailResponse.
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._error_msg
|
|
109
|
+
|
|
110
|
+
@error_msg.setter
|
|
111
|
+
def error_msg(self, error_msg):
|
|
112
|
+
r"""Sets the error_msg of this ShowQaPairDetailResponse.
|
|
113
|
+
|
|
114
|
+
错误描述
|
|
115
|
+
|
|
116
|
+
:param error_msg: The error_msg of this ShowQaPairDetailResponse.
|
|
117
|
+
:type error_msg: str
|
|
118
|
+
"""
|
|
119
|
+
self._error_msg = error_msg
|
|
120
|
+
|
|
121
|
+
def to_dict(self):
|
|
122
|
+
"""Returns the model properties as a dict"""
|
|
123
|
+
result = {}
|
|
124
|
+
|
|
125
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
126
|
+
value = getattr(self, attr)
|
|
127
|
+
if isinstance(value, list):
|
|
128
|
+
result[attr] = list(map(
|
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
130
|
+
value
|
|
131
|
+
))
|
|
132
|
+
elif hasattr(value, "to_dict"):
|
|
133
|
+
result[attr] = value.to_dict()
|
|
134
|
+
elif isinstance(value, dict):
|
|
135
|
+
result[attr] = dict(map(
|
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
|
138
|
+
value.items()
|
|
139
|
+
))
|
|
140
|
+
else:
|
|
141
|
+
if attr in self.sensitive_list:
|
|
142
|
+
result[attr] = "****"
|
|
143
|
+
else:
|
|
144
|
+
result[attr] = value
|
|
145
|
+
|
|
146
|
+
return result
|
|
147
|
+
|
|
148
|
+
def to_str(self):
|
|
149
|
+
"""Returns the string representation of the model"""
|
|
150
|
+
import simplejson as json
|
|
151
|
+
if six.PY2:
|
|
152
|
+
import sys
|
|
153
|
+
reload(sys)
|
|
154
|
+
sys.setdefaultencoding("utf-8")
|
|
155
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
156
|
+
|
|
157
|
+
def __repr__(self):
|
|
158
|
+
"""For `print`"""
|
|
159
|
+
return self.to_str()
|
|
160
|
+
|
|
161
|
+
def __eq__(self, other):
|
|
162
|
+
"""Returns true if both objects are equal"""
|
|
163
|
+
if not isinstance(other, ShowQaPairDetailResponse):
|
|
164
|
+
return False
|
|
165
|
+
|
|
166
|
+
return self.__dict__ == other.__dict__
|
|
167
|
+
|
|
168
|
+
def __ne__(self, other):
|
|
169
|
+
"""Returns true if both objects are not equal"""
|
|
170
|
+
return not self == other
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ShowQaPairsRequest:
|
|
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
|
+
'x_service_key': 'str',
|
|
21
|
+
'x_site': 'str',
|
|
22
|
+
'x_language': 'str',
|
|
23
|
+
'search_type': 'str',
|
|
24
|
+
'body': 'SearchQaPairsReq'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
attribute_map = {
|
|
28
|
+
'x_service_key': 'x-service-key',
|
|
29
|
+
'x_site': 'x-site',
|
|
30
|
+
'x_language': 'x-language',
|
|
31
|
+
'search_type': 'search_type',
|
|
32
|
+
'body': 'body'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
def __init__(self, x_service_key=None, x_site=None, x_language=None, search_type=None, body=None):
|
|
36
|
+
r"""ShowQaPairsRequest
|
|
37
|
+
|
|
38
|
+
The model defined in huaweicloud sdk
|
|
39
|
+
|
|
40
|
+
:param x_service_key: 调用智能客服服务标志。
|
|
41
|
+
:type x_service_key: str
|
|
42
|
+
:param x_site: 站点标记,0-中国站 1-国际站
|
|
43
|
+
:type x_site: str
|
|
44
|
+
:param x_language: 区域语言简写,en-us zh-cn
|
|
45
|
+
:type x_language: str
|
|
46
|
+
:param search_type: - HOT: - RECOMMEND:
|
|
47
|
+
:type search_type: str
|
|
48
|
+
:param body: Body of the ShowQaPairsRequest
|
|
49
|
+
:type body: :class:`huaweicloudsdkosm.v2.SearchQaPairsReq`
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
self._x_service_key = None
|
|
55
|
+
self._x_site = None
|
|
56
|
+
self._x_language = None
|
|
57
|
+
self._search_type = None
|
|
58
|
+
self._body = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
self.x_service_key = x_service_key
|
|
62
|
+
if x_site is not None:
|
|
63
|
+
self.x_site = x_site
|
|
64
|
+
if x_language is not None:
|
|
65
|
+
self.x_language = x_language
|
|
66
|
+
self.search_type = search_type
|
|
67
|
+
if body is not None:
|
|
68
|
+
self.body = body
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def x_service_key(self):
|
|
72
|
+
r"""Gets the x_service_key of this ShowQaPairsRequest.
|
|
73
|
+
|
|
74
|
+
调用智能客服服务标志。
|
|
75
|
+
|
|
76
|
+
:return: The x_service_key of this ShowQaPairsRequest.
|
|
77
|
+
:rtype: str
|
|
78
|
+
"""
|
|
79
|
+
return self._x_service_key
|
|
80
|
+
|
|
81
|
+
@x_service_key.setter
|
|
82
|
+
def x_service_key(self, x_service_key):
|
|
83
|
+
r"""Sets the x_service_key of this ShowQaPairsRequest.
|
|
84
|
+
|
|
85
|
+
调用智能客服服务标志。
|
|
86
|
+
|
|
87
|
+
:param x_service_key: The x_service_key of this ShowQaPairsRequest.
|
|
88
|
+
:type x_service_key: str
|
|
89
|
+
"""
|
|
90
|
+
self._x_service_key = x_service_key
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
def x_site(self):
|
|
94
|
+
r"""Gets the x_site of this ShowQaPairsRequest.
|
|
95
|
+
|
|
96
|
+
站点标记,0-中国站 1-国际站
|
|
97
|
+
|
|
98
|
+
:return: The x_site of this ShowQaPairsRequest.
|
|
99
|
+
:rtype: str
|
|
100
|
+
"""
|
|
101
|
+
return self._x_site
|
|
102
|
+
|
|
103
|
+
@x_site.setter
|
|
104
|
+
def x_site(self, x_site):
|
|
105
|
+
r"""Sets the x_site of this ShowQaPairsRequest.
|
|
106
|
+
|
|
107
|
+
站点标记,0-中国站 1-国际站
|
|
108
|
+
|
|
109
|
+
:param x_site: The x_site of this ShowQaPairsRequest.
|
|
110
|
+
:type x_site: str
|
|
111
|
+
"""
|
|
112
|
+
self._x_site = x_site
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
def x_language(self):
|
|
116
|
+
r"""Gets the x_language of this ShowQaPairsRequest.
|
|
117
|
+
|
|
118
|
+
区域语言简写,en-us zh-cn
|
|
119
|
+
|
|
120
|
+
:return: The x_language of this ShowQaPairsRequest.
|
|
121
|
+
:rtype: str
|
|
122
|
+
"""
|
|
123
|
+
return self._x_language
|
|
124
|
+
|
|
125
|
+
@x_language.setter
|
|
126
|
+
def x_language(self, x_language):
|
|
127
|
+
r"""Sets the x_language of this ShowQaPairsRequest.
|
|
128
|
+
|
|
129
|
+
区域语言简写,en-us zh-cn
|
|
130
|
+
|
|
131
|
+
:param x_language: The x_language of this ShowQaPairsRequest.
|
|
132
|
+
:type x_language: str
|
|
133
|
+
"""
|
|
134
|
+
self._x_language = x_language
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
def search_type(self):
|
|
138
|
+
r"""Gets the search_type of this ShowQaPairsRequest.
|
|
139
|
+
|
|
140
|
+
- HOT: - RECOMMEND:
|
|
141
|
+
|
|
142
|
+
:return: The search_type of this ShowQaPairsRequest.
|
|
143
|
+
:rtype: str
|
|
144
|
+
"""
|
|
145
|
+
return self._search_type
|
|
146
|
+
|
|
147
|
+
@search_type.setter
|
|
148
|
+
def search_type(self, search_type):
|
|
149
|
+
r"""Sets the search_type of this ShowQaPairsRequest.
|
|
150
|
+
|
|
151
|
+
- HOT: - RECOMMEND:
|
|
152
|
+
|
|
153
|
+
:param search_type: The search_type of this ShowQaPairsRequest.
|
|
154
|
+
:type search_type: str
|
|
155
|
+
"""
|
|
156
|
+
self._search_type = search_type
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def body(self):
|
|
160
|
+
r"""Gets the body of this ShowQaPairsRequest.
|
|
161
|
+
|
|
162
|
+
:return: The body of this ShowQaPairsRequest.
|
|
163
|
+
:rtype: :class:`huaweicloudsdkosm.v2.SearchQaPairsReq`
|
|
164
|
+
"""
|
|
165
|
+
return self._body
|
|
166
|
+
|
|
167
|
+
@body.setter
|
|
168
|
+
def body(self, body):
|
|
169
|
+
r"""Sets the body of this ShowQaPairsRequest.
|
|
170
|
+
|
|
171
|
+
:param body: The body of this ShowQaPairsRequest.
|
|
172
|
+
:type body: :class:`huaweicloudsdkosm.v2.SearchQaPairsReq`
|
|
173
|
+
"""
|
|
174
|
+
self._body = body
|
|
175
|
+
|
|
176
|
+
def to_dict(self):
|
|
177
|
+
"""Returns the model properties as a dict"""
|
|
178
|
+
result = {}
|
|
179
|
+
|
|
180
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
181
|
+
value = getattr(self, attr)
|
|
182
|
+
if isinstance(value, list):
|
|
183
|
+
result[attr] = list(map(
|
|
184
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
185
|
+
value
|
|
186
|
+
))
|
|
187
|
+
elif hasattr(value, "to_dict"):
|
|
188
|
+
result[attr] = value.to_dict()
|
|
189
|
+
elif isinstance(value, dict):
|
|
190
|
+
result[attr] = dict(map(
|
|
191
|
+
lambda item: (item[0], item[1].to_dict())
|
|
192
|
+
if hasattr(item[1], "to_dict") else item,
|
|
193
|
+
value.items()
|
|
194
|
+
))
|
|
195
|
+
else:
|
|
196
|
+
if attr in self.sensitive_list:
|
|
197
|
+
result[attr] = "****"
|
|
198
|
+
else:
|
|
199
|
+
result[attr] = value
|
|
200
|
+
|
|
201
|
+
return result
|
|
202
|
+
|
|
203
|
+
def to_str(self):
|
|
204
|
+
"""Returns the string representation of the model"""
|
|
205
|
+
import simplejson as json
|
|
206
|
+
if six.PY2:
|
|
207
|
+
import sys
|
|
208
|
+
reload(sys)
|
|
209
|
+
sys.setdefaultencoding("utf-8")
|
|
210
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
211
|
+
|
|
212
|
+
def __repr__(self):
|
|
213
|
+
"""For `print`"""
|
|
214
|
+
return self.to_str()
|
|
215
|
+
|
|
216
|
+
def __eq__(self, other):
|
|
217
|
+
"""Returns true if both objects are equal"""
|
|
218
|
+
if not isinstance(other, ShowQaPairsRequest):
|
|
219
|
+
return False
|
|
220
|
+
|
|
221
|
+
return self.__dict__ == other.__dict__
|
|
222
|
+
|
|
223
|
+
def __ne__(self, other):
|
|
224
|
+
"""Returns true if both objects are not equal"""
|
|
225
|
+
return not self == other
|