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,343 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ContactWayInfoV2:
|
|
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
|
+
'name': 'str',
|
|
21
|
+
'mobile': 'str',
|
|
22
|
+
'mail': 'str',
|
|
23
|
+
'area': 'str',
|
|
24
|
+
'address': 'str',
|
|
25
|
+
'id_type': 'int',
|
|
26
|
+
'company_name': 'str',
|
|
27
|
+
'id_files': 'list[str]',
|
|
28
|
+
'other_way': 'str'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
attribute_map = {
|
|
32
|
+
'name': 'name',
|
|
33
|
+
'mobile': 'mobile',
|
|
34
|
+
'mail': 'mail',
|
|
35
|
+
'area': 'area',
|
|
36
|
+
'address': 'address',
|
|
37
|
+
'id_type': 'id_type',
|
|
38
|
+
'company_name': 'company_name',
|
|
39
|
+
'id_files': 'id_files',
|
|
40
|
+
'other_way': 'other_way'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, name=None, mobile=None, mail=None, area=None, address=None, id_type=None, company_name=None, id_files=None, other_way=None):
|
|
44
|
+
r"""ContactWayInfoV2
|
|
45
|
+
|
|
46
|
+
The model defined in huaweicloud sdk
|
|
47
|
+
|
|
48
|
+
:param name: 姓名或名称
|
|
49
|
+
:type name: str
|
|
50
|
+
:param mobile: 联系电话
|
|
51
|
+
:type mobile: str
|
|
52
|
+
:param mail: 联系邮箱
|
|
53
|
+
:type mail: str
|
|
54
|
+
:param area: 国家/地区
|
|
55
|
+
:type area: str
|
|
56
|
+
:param address: 地址
|
|
57
|
+
:type address: str
|
|
58
|
+
:param id_type: 身份。企业 10;个人 20;授权代理人 21;律师 22;知识产权所有人 23
|
|
59
|
+
:type id_type: int
|
|
60
|
+
:param company_name: 公司名称
|
|
61
|
+
:type company_name: str
|
|
62
|
+
:param id_files: 身份证明附件列表,至少1个,最多3个
|
|
63
|
+
:type id_files: list[str]
|
|
64
|
+
:param other_way: 其他联系方式
|
|
65
|
+
:type other_way: str
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
self._name = None
|
|
71
|
+
self._mobile = None
|
|
72
|
+
self._mail = None
|
|
73
|
+
self._area = None
|
|
74
|
+
self._address = None
|
|
75
|
+
self._id_type = None
|
|
76
|
+
self._company_name = None
|
|
77
|
+
self._id_files = None
|
|
78
|
+
self._other_way = None
|
|
79
|
+
self.discriminator = None
|
|
80
|
+
|
|
81
|
+
self.name = name
|
|
82
|
+
self.mobile = mobile
|
|
83
|
+
if mail is not None:
|
|
84
|
+
self.mail = mail
|
|
85
|
+
if area is not None:
|
|
86
|
+
self.area = area
|
|
87
|
+
if address is not None:
|
|
88
|
+
self.address = address
|
|
89
|
+
self.id_type = id_type
|
|
90
|
+
if company_name is not None:
|
|
91
|
+
self.company_name = company_name
|
|
92
|
+
self.id_files = id_files
|
|
93
|
+
if other_way is not None:
|
|
94
|
+
self.other_way = other_way
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
def name(self):
|
|
98
|
+
r"""Gets the name of this ContactWayInfoV2.
|
|
99
|
+
|
|
100
|
+
姓名或名称
|
|
101
|
+
|
|
102
|
+
:return: The name of this ContactWayInfoV2.
|
|
103
|
+
:rtype: str
|
|
104
|
+
"""
|
|
105
|
+
return self._name
|
|
106
|
+
|
|
107
|
+
@name.setter
|
|
108
|
+
def name(self, name):
|
|
109
|
+
r"""Sets the name of this ContactWayInfoV2.
|
|
110
|
+
|
|
111
|
+
姓名或名称
|
|
112
|
+
|
|
113
|
+
:param name: The name of this ContactWayInfoV2.
|
|
114
|
+
:type name: str
|
|
115
|
+
"""
|
|
116
|
+
self._name = name
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
def mobile(self):
|
|
120
|
+
r"""Gets the mobile of this ContactWayInfoV2.
|
|
121
|
+
|
|
122
|
+
联系电话
|
|
123
|
+
|
|
124
|
+
:return: The mobile of this ContactWayInfoV2.
|
|
125
|
+
:rtype: str
|
|
126
|
+
"""
|
|
127
|
+
return self._mobile
|
|
128
|
+
|
|
129
|
+
@mobile.setter
|
|
130
|
+
def mobile(self, mobile):
|
|
131
|
+
r"""Sets the mobile of this ContactWayInfoV2.
|
|
132
|
+
|
|
133
|
+
联系电话
|
|
134
|
+
|
|
135
|
+
:param mobile: The mobile of this ContactWayInfoV2.
|
|
136
|
+
:type mobile: str
|
|
137
|
+
"""
|
|
138
|
+
self._mobile = mobile
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def mail(self):
|
|
142
|
+
r"""Gets the mail of this ContactWayInfoV2.
|
|
143
|
+
|
|
144
|
+
联系邮箱
|
|
145
|
+
|
|
146
|
+
:return: The mail of this ContactWayInfoV2.
|
|
147
|
+
:rtype: str
|
|
148
|
+
"""
|
|
149
|
+
return self._mail
|
|
150
|
+
|
|
151
|
+
@mail.setter
|
|
152
|
+
def mail(self, mail):
|
|
153
|
+
r"""Sets the mail of this ContactWayInfoV2.
|
|
154
|
+
|
|
155
|
+
联系邮箱
|
|
156
|
+
|
|
157
|
+
:param mail: The mail of this ContactWayInfoV2.
|
|
158
|
+
:type mail: str
|
|
159
|
+
"""
|
|
160
|
+
self._mail = mail
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
def area(self):
|
|
164
|
+
r"""Gets the area of this ContactWayInfoV2.
|
|
165
|
+
|
|
166
|
+
国家/地区
|
|
167
|
+
|
|
168
|
+
:return: The area of this ContactWayInfoV2.
|
|
169
|
+
:rtype: str
|
|
170
|
+
"""
|
|
171
|
+
return self._area
|
|
172
|
+
|
|
173
|
+
@area.setter
|
|
174
|
+
def area(self, area):
|
|
175
|
+
r"""Sets the area of this ContactWayInfoV2.
|
|
176
|
+
|
|
177
|
+
国家/地区
|
|
178
|
+
|
|
179
|
+
:param area: The area of this ContactWayInfoV2.
|
|
180
|
+
:type area: str
|
|
181
|
+
"""
|
|
182
|
+
self._area = area
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
def address(self):
|
|
186
|
+
r"""Gets the address of this ContactWayInfoV2.
|
|
187
|
+
|
|
188
|
+
地址
|
|
189
|
+
|
|
190
|
+
:return: The address of this ContactWayInfoV2.
|
|
191
|
+
:rtype: str
|
|
192
|
+
"""
|
|
193
|
+
return self._address
|
|
194
|
+
|
|
195
|
+
@address.setter
|
|
196
|
+
def address(self, address):
|
|
197
|
+
r"""Sets the address of this ContactWayInfoV2.
|
|
198
|
+
|
|
199
|
+
地址
|
|
200
|
+
|
|
201
|
+
:param address: The address of this ContactWayInfoV2.
|
|
202
|
+
:type address: str
|
|
203
|
+
"""
|
|
204
|
+
self._address = address
|
|
205
|
+
|
|
206
|
+
@property
|
|
207
|
+
def id_type(self):
|
|
208
|
+
r"""Gets the id_type of this ContactWayInfoV2.
|
|
209
|
+
|
|
210
|
+
身份。企业 10;个人 20;授权代理人 21;律师 22;知识产权所有人 23
|
|
211
|
+
|
|
212
|
+
:return: The id_type of this ContactWayInfoV2.
|
|
213
|
+
:rtype: int
|
|
214
|
+
"""
|
|
215
|
+
return self._id_type
|
|
216
|
+
|
|
217
|
+
@id_type.setter
|
|
218
|
+
def id_type(self, id_type):
|
|
219
|
+
r"""Sets the id_type of this ContactWayInfoV2.
|
|
220
|
+
|
|
221
|
+
身份。企业 10;个人 20;授权代理人 21;律师 22;知识产权所有人 23
|
|
222
|
+
|
|
223
|
+
:param id_type: The id_type of this ContactWayInfoV2.
|
|
224
|
+
:type id_type: int
|
|
225
|
+
"""
|
|
226
|
+
self._id_type = id_type
|
|
227
|
+
|
|
228
|
+
@property
|
|
229
|
+
def company_name(self):
|
|
230
|
+
r"""Gets the company_name of this ContactWayInfoV2.
|
|
231
|
+
|
|
232
|
+
公司名称
|
|
233
|
+
|
|
234
|
+
:return: The company_name of this ContactWayInfoV2.
|
|
235
|
+
:rtype: str
|
|
236
|
+
"""
|
|
237
|
+
return self._company_name
|
|
238
|
+
|
|
239
|
+
@company_name.setter
|
|
240
|
+
def company_name(self, company_name):
|
|
241
|
+
r"""Sets the company_name of this ContactWayInfoV2.
|
|
242
|
+
|
|
243
|
+
公司名称
|
|
244
|
+
|
|
245
|
+
:param company_name: The company_name of this ContactWayInfoV2.
|
|
246
|
+
:type company_name: str
|
|
247
|
+
"""
|
|
248
|
+
self._company_name = company_name
|
|
249
|
+
|
|
250
|
+
@property
|
|
251
|
+
def id_files(self):
|
|
252
|
+
r"""Gets the id_files of this ContactWayInfoV2.
|
|
253
|
+
|
|
254
|
+
身份证明附件列表,至少1个,最多3个
|
|
255
|
+
|
|
256
|
+
:return: The id_files of this ContactWayInfoV2.
|
|
257
|
+
:rtype: list[str]
|
|
258
|
+
"""
|
|
259
|
+
return self._id_files
|
|
260
|
+
|
|
261
|
+
@id_files.setter
|
|
262
|
+
def id_files(self, id_files):
|
|
263
|
+
r"""Sets the id_files of this ContactWayInfoV2.
|
|
264
|
+
|
|
265
|
+
身份证明附件列表,至少1个,最多3个
|
|
266
|
+
|
|
267
|
+
:param id_files: The id_files of this ContactWayInfoV2.
|
|
268
|
+
:type id_files: list[str]
|
|
269
|
+
"""
|
|
270
|
+
self._id_files = id_files
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
def other_way(self):
|
|
274
|
+
r"""Gets the other_way of this ContactWayInfoV2.
|
|
275
|
+
|
|
276
|
+
其他联系方式
|
|
277
|
+
|
|
278
|
+
:return: The other_way of this ContactWayInfoV2.
|
|
279
|
+
:rtype: str
|
|
280
|
+
"""
|
|
281
|
+
return self._other_way
|
|
282
|
+
|
|
283
|
+
@other_way.setter
|
|
284
|
+
def other_way(self, other_way):
|
|
285
|
+
r"""Sets the other_way of this ContactWayInfoV2.
|
|
286
|
+
|
|
287
|
+
其他联系方式
|
|
288
|
+
|
|
289
|
+
:param other_way: The other_way of this ContactWayInfoV2.
|
|
290
|
+
:type other_way: str
|
|
291
|
+
"""
|
|
292
|
+
self._other_way = other_way
|
|
293
|
+
|
|
294
|
+
def to_dict(self):
|
|
295
|
+
"""Returns the model properties as a dict"""
|
|
296
|
+
result = {}
|
|
297
|
+
|
|
298
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
299
|
+
value = getattr(self, attr)
|
|
300
|
+
if isinstance(value, list):
|
|
301
|
+
result[attr] = list(map(
|
|
302
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
303
|
+
value
|
|
304
|
+
))
|
|
305
|
+
elif hasattr(value, "to_dict"):
|
|
306
|
+
result[attr] = value.to_dict()
|
|
307
|
+
elif isinstance(value, dict):
|
|
308
|
+
result[attr] = dict(map(
|
|
309
|
+
lambda item: (item[0], item[1].to_dict())
|
|
310
|
+
if hasattr(item[1], "to_dict") else item,
|
|
311
|
+
value.items()
|
|
312
|
+
))
|
|
313
|
+
else:
|
|
314
|
+
if attr in self.sensitive_list:
|
|
315
|
+
result[attr] = "****"
|
|
316
|
+
else:
|
|
317
|
+
result[attr] = value
|
|
318
|
+
|
|
319
|
+
return result
|
|
320
|
+
|
|
321
|
+
def to_str(self):
|
|
322
|
+
"""Returns the string representation of the model"""
|
|
323
|
+
import simplejson as json
|
|
324
|
+
if six.PY2:
|
|
325
|
+
import sys
|
|
326
|
+
reload(sys)
|
|
327
|
+
sys.setdefaultencoding("utf-8")
|
|
328
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
329
|
+
|
|
330
|
+
def __repr__(self):
|
|
331
|
+
"""For `print`"""
|
|
332
|
+
return self.to_str()
|
|
333
|
+
|
|
334
|
+
def __eq__(self, other):
|
|
335
|
+
"""Returns true if both objects are equal"""
|
|
336
|
+
if not isinstance(other, ContactWayInfoV2):
|
|
337
|
+
return False
|
|
338
|
+
|
|
339
|
+
return self.__dict__ == other.__dict__
|
|
340
|
+
|
|
341
|
+
def __ne__(self, other):
|
|
342
|
+
"""Returns true if both objects are not equal"""
|
|
343
|
+
return not self == other
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateAndDeletePrivilegeReq:
|
|
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
|
+
'operation': 'str',
|
|
21
|
+
'privilege': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'operation': 'operation',
|
|
26
|
+
'privilege': 'privilege'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, operation=None, privilege=None):
|
|
30
|
+
r"""CreateAndDeletePrivilegeReq
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param operation: 执行的操作(create|delete)
|
|
35
|
+
:type operation: str
|
|
36
|
+
:param privilege: 权限标识
|
|
37
|
+
:type privilege: str
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._operation = None
|
|
43
|
+
self._privilege = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
self.operation = operation
|
|
47
|
+
if privilege is not None:
|
|
48
|
+
self.privilege = privilege
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def operation(self):
|
|
52
|
+
r"""Gets the operation of this CreateAndDeletePrivilegeReq.
|
|
53
|
+
|
|
54
|
+
执行的操作(create|delete)
|
|
55
|
+
|
|
56
|
+
:return: The operation of this CreateAndDeletePrivilegeReq.
|
|
57
|
+
:rtype: str
|
|
58
|
+
"""
|
|
59
|
+
return self._operation
|
|
60
|
+
|
|
61
|
+
@operation.setter
|
|
62
|
+
def operation(self, operation):
|
|
63
|
+
r"""Sets the operation of this CreateAndDeletePrivilegeReq.
|
|
64
|
+
|
|
65
|
+
执行的操作(create|delete)
|
|
66
|
+
|
|
67
|
+
:param operation: The operation of this CreateAndDeletePrivilegeReq.
|
|
68
|
+
:type operation: str
|
|
69
|
+
"""
|
|
70
|
+
self._operation = operation
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def privilege(self):
|
|
74
|
+
r"""Gets the privilege of this CreateAndDeletePrivilegeReq.
|
|
75
|
+
|
|
76
|
+
权限标识
|
|
77
|
+
|
|
78
|
+
:return: The privilege of this CreateAndDeletePrivilegeReq.
|
|
79
|
+
:rtype: str
|
|
80
|
+
"""
|
|
81
|
+
return self._privilege
|
|
82
|
+
|
|
83
|
+
@privilege.setter
|
|
84
|
+
def privilege(self, privilege):
|
|
85
|
+
r"""Sets the privilege of this CreateAndDeletePrivilegeReq.
|
|
86
|
+
|
|
87
|
+
权限标识
|
|
88
|
+
|
|
89
|
+
:param privilege: The privilege of this CreateAndDeletePrivilegeReq.
|
|
90
|
+
:type privilege: str
|
|
91
|
+
"""
|
|
92
|
+
self._privilege = privilege
|
|
93
|
+
|
|
94
|
+
def to_dict(self):
|
|
95
|
+
"""Returns the model properties as a dict"""
|
|
96
|
+
result = {}
|
|
97
|
+
|
|
98
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
99
|
+
value = getattr(self, attr)
|
|
100
|
+
if isinstance(value, list):
|
|
101
|
+
result[attr] = list(map(
|
|
102
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
103
|
+
value
|
|
104
|
+
))
|
|
105
|
+
elif hasattr(value, "to_dict"):
|
|
106
|
+
result[attr] = value.to_dict()
|
|
107
|
+
elif isinstance(value, dict):
|
|
108
|
+
result[attr] = dict(map(
|
|
109
|
+
lambda item: (item[0], item[1].to_dict())
|
|
110
|
+
if hasattr(item[1], "to_dict") else item,
|
|
111
|
+
value.items()
|
|
112
|
+
))
|
|
113
|
+
else:
|
|
114
|
+
if attr in self.sensitive_list:
|
|
115
|
+
result[attr] = "****"
|
|
116
|
+
else:
|
|
117
|
+
result[attr] = value
|
|
118
|
+
|
|
119
|
+
return result
|
|
120
|
+
|
|
121
|
+
def to_str(self):
|
|
122
|
+
"""Returns the string representation of the model"""
|
|
123
|
+
import simplejson as json
|
|
124
|
+
if six.PY2:
|
|
125
|
+
import sys
|
|
126
|
+
reload(sys)
|
|
127
|
+
sys.setdefaultencoding("utf-8")
|
|
128
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
129
|
+
|
|
130
|
+
def __repr__(self):
|
|
131
|
+
"""For `print`"""
|
|
132
|
+
return self.to_str()
|
|
133
|
+
|
|
134
|
+
def __eq__(self, other):
|
|
135
|
+
"""Returns true if both objects are equal"""
|
|
136
|
+
if not isinstance(other, CreateAndDeletePrivilegeReq):
|
|
137
|
+
return False
|
|
138
|
+
|
|
139
|
+
return self.__dict__ == other.__dict__
|
|
140
|
+
|
|
141
|
+
def __ne__(self, other):
|
|
142
|
+
"""Returns true if both objects are not equal"""
|
|
143
|
+
return not self == other
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateAskQuestionRequest:
|
|
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
|
+
'body': 'AskQuestionReq'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'x_service_key': 'x-service-key',
|
|
28
|
+
'x_site': 'x-site',
|
|
29
|
+
'x_language': 'x-language',
|
|
30
|
+
'body': 'body'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, x_service_key=None, x_site=None, x_language=None, body=None):
|
|
34
|
+
r"""CreateAskQuestionRequest
|
|
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 body: Body of the CreateAskQuestionRequest
|
|
45
|
+
:type body: :class:`huaweicloudsdkosm.v2.AskQuestionReq`
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
self._x_service_key = None
|
|
51
|
+
self._x_site = None
|
|
52
|
+
self._x_language = None
|
|
53
|
+
self._body = 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
|
+
if body is not None:
|
|
62
|
+
self.body = body
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
def x_service_key(self):
|
|
66
|
+
r"""Gets the x_service_key of this CreateAskQuestionRequest.
|
|
67
|
+
|
|
68
|
+
调用智能客服服务标志。
|
|
69
|
+
|
|
70
|
+
:return: The x_service_key of this CreateAskQuestionRequest.
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._x_service_key
|
|
74
|
+
|
|
75
|
+
@x_service_key.setter
|
|
76
|
+
def x_service_key(self, x_service_key):
|
|
77
|
+
r"""Sets the x_service_key of this CreateAskQuestionRequest.
|
|
78
|
+
|
|
79
|
+
调用智能客服服务标志。
|
|
80
|
+
|
|
81
|
+
:param x_service_key: The x_service_key of this CreateAskQuestionRequest.
|
|
82
|
+
:type x_service_key: str
|
|
83
|
+
"""
|
|
84
|
+
self._x_service_key = x_service_key
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def x_site(self):
|
|
88
|
+
r"""Gets the x_site of this CreateAskQuestionRequest.
|
|
89
|
+
|
|
90
|
+
站点标记,0-中国站 1-国际站
|
|
91
|
+
|
|
92
|
+
:return: The x_site of this CreateAskQuestionRequest.
|
|
93
|
+
:rtype: str
|
|
94
|
+
"""
|
|
95
|
+
return self._x_site
|
|
96
|
+
|
|
97
|
+
@x_site.setter
|
|
98
|
+
def x_site(self, x_site):
|
|
99
|
+
r"""Sets the x_site of this CreateAskQuestionRequest.
|
|
100
|
+
|
|
101
|
+
站点标记,0-中国站 1-国际站
|
|
102
|
+
|
|
103
|
+
:param x_site: The x_site of this CreateAskQuestionRequest.
|
|
104
|
+
:type x_site: str
|
|
105
|
+
"""
|
|
106
|
+
self._x_site = x_site
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def x_language(self):
|
|
110
|
+
r"""Gets the x_language of this CreateAskQuestionRequest.
|
|
111
|
+
|
|
112
|
+
区域语言简写,en-us zh-cn
|
|
113
|
+
|
|
114
|
+
:return: The x_language of this CreateAskQuestionRequest.
|
|
115
|
+
:rtype: str
|
|
116
|
+
"""
|
|
117
|
+
return self._x_language
|
|
118
|
+
|
|
119
|
+
@x_language.setter
|
|
120
|
+
def x_language(self, x_language):
|
|
121
|
+
r"""Sets the x_language of this CreateAskQuestionRequest.
|
|
122
|
+
|
|
123
|
+
区域语言简写,en-us zh-cn
|
|
124
|
+
|
|
125
|
+
:param x_language: The x_language of this CreateAskQuestionRequest.
|
|
126
|
+
:type x_language: str
|
|
127
|
+
"""
|
|
128
|
+
self._x_language = x_language
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def body(self):
|
|
132
|
+
r"""Gets the body of this CreateAskQuestionRequest.
|
|
133
|
+
|
|
134
|
+
:return: The body of this CreateAskQuestionRequest.
|
|
135
|
+
:rtype: :class:`huaweicloudsdkosm.v2.AskQuestionReq`
|
|
136
|
+
"""
|
|
137
|
+
return self._body
|
|
138
|
+
|
|
139
|
+
@body.setter
|
|
140
|
+
def body(self, body):
|
|
141
|
+
r"""Sets the body of this CreateAskQuestionRequest.
|
|
142
|
+
|
|
143
|
+
:param body: The body of this CreateAskQuestionRequest.
|
|
144
|
+
:type body: :class:`huaweicloudsdkosm.v2.AskQuestionReq`
|
|
145
|
+
"""
|
|
146
|
+
self._body = body
|
|
147
|
+
|
|
148
|
+
def to_dict(self):
|
|
149
|
+
"""Returns the model properties as a dict"""
|
|
150
|
+
result = {}
|
|
151
|
+
|
|
152
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
153
|
+
value = getattr(self, attr)
|
|
154
|
+
if isinstance(value, list):
|
|
155
|
+
result[attr] = list(map(
|
|
156
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
157
|
+
value
|
|
158
|
+
))
|
|
159
|
+
elif hasattr(value, "to_dict"):
|
|
160
|
+
result[attr] = value.to_dict()
|
|
161
|
+
elif isinstance(value, dict):
|
|
162
|
+
result[attr] = dict(map(
|
|
163
|
+
lambda item: (item[0], item[1].to_dict())
|
|
164
|
+
if hasattr(item[1], "to_dict") else item,
|
|
165
|
+
value.items()
|
|
166
|
+
))
|
|
167
|
+
else:
|
|
168
|
+
if attr in self.sensitive_list:
|
|
169
|
+
result[attr] = "****"
|
|
170
|
+
else:
|
|
171
|
+
result[attr] = value
|
|
172
|
+
|
|
173
|
+
return result
|
|
174
|
+
|
|
175
|
+
def to_str(self):
|
|
176
|
+
"""Returns the string representation of the model"""
|
|
177
|
+
import simplejson as json
|
|
178
|
+
if six.PY2:
|
|
179
|
+
import sys
|
|
180
|
+
reload(sys)
|
|
181
|
+
sys.setdefaultencoding("utf-8")
|
|
182
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
183
|
+
|
|
184
|
+
def __repr__(self):
|
|
185
|
+
"""For `print`"""
|
|
186
|
+
return self.to_str()
|
|
187
|
+
|
|
188
|
+
def __eq__(self, other):
|
|
189
|
+
"""Returns true if both objects are equal"""
|
|
190
|
+
if not isinstance(other, CreateAskQuestionRequest):
|
|
191
|
+
return False
|
|
192
|
+
|
|
193
|
+
return self.__dict__ == other.__dict__
|
|
194
|
+
|
|
195
|
+
def __ne__(self, other):
|
|
196
|
+
"""Returns true if both objects are not equal"""
|
|
197
|
+
return not self == other
|