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,232 @@
|
|
|
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 CreateAskQuestionResponse(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
|
+
'question': 'str',
|
|
22
|
+
'answers': 'list[AnswerQaPair]',
|
|
23
|
+
'error_code': 'str',
|
|
24
|
+
'error_msg': 'str',
|
|
25
|
+
'request_id': 'str'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
attribute_map = {
|
|
29
|
+
'question': 'question',
|
|
30
|
+
'answers': 'answers',
|
|
31
|
+
'error_code': 'error_code',
|
|
32
|
+
'error_msg': 'error_msg',
|
|
33
|
+
'request_id': 'request_id'
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
def __init__(self, question=None, answers=None, error_code=None, error_msg=None, request_id=None):
|
|
37
|
+
r"""CreateAskQuestionResponse
|
|
38
|
+
|
|
39
|
+
The model defined in huaweicloud sdk
|
|
40
|
+
|
|
41
|
+
:param question: 问题
|
|
42
|
+
:type question: str
|
|
43
|
+
:param answers: 答案列表
|
|
44
|
+
:type answers: list[:class:`huaweicloudsdkosm.v2.AnswerQaPair`]
|
|
45
|
+
:param error_code: 错误码
|
|
46
|
+
:type error_code: str
|
|
47
|
+
:param error_msg: 错误描述
|
|
48
|
+
:type error_msg: str
|
|
49
|
+
:param request_id: 请求Id
|
|
50
|
+
:type request_id: str
|
|
51
|
+
"""
|
|
52
|
+
|
|
53
|
+
super(CreateAskQuestionResponse, self).__init__()
|
|
54
|
+
|
|
55
|
+
self._question = None
|
|
56
|
+
self._answers = None
|
|
57
|
+
self._error_code = None
|
|
58
|
+
self._error_msg = None
|
|
59
|
+
self._request_id = None
|
|
60
|
+
self.discriminator = None
|
|
61
|
+
|
|
62
|
+
if question is not None:
|
|
63
|
+
self.question = question
|
|
64
|
+
if answers is not None:
|
|
65
|
+
self.answers = answers
|
|
66
|
+
if error_code is not None:
|
|
67
|
+
self.error_code = error_code
|
|
68
|
+
if error_msg is not None:
|
|
69
|
+
self.error_msg = error_msg
|
|
70
|
+
if request_id is not None:
|
|
71
|
+
self.request_id = request_id
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
def question(self):
|
|
75
|
+
r"""Gets the question of this CreateAskQuestionResponse.
|
|
76
|
+
|
|
77
|
+
问题
|
|
78
|
+
|
|
79
|
+
:return: The question of this CreateAskQuestionResponse.
|
|
80
|
+
:rtype: str
|
|
81
|
+
"""
|
|
82
|
+
return self._question
|
|
83
|
+
|
|
84
|
+
@question.setter
|
|
85
|
+
def question(self, question):
|
|
86
|
+
r"""Sets the question of this CreateAskQuestionResponse.
|
|
87
|
+
|
|
88
|
+
问题
|
|
89
|
+
|
|
90
|
+
:param question: The question of this CreateAskQuestionResponse.
|
|
91
|
+
:type question: str
|
|
92
|
+
"""
|
|
93
|
+
self._question = question
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def answers(self):
|
|
97
|
+
r"""Gets the answers of this CreateAskQuestionResponse.
|
|
98
|
+
|
|
99
|
+
答案列表
|
|
100
|
+
|
|
101
|
+
:return: The answers of this CreateAskQuestionResponse.
|
|
102
|
+
:rtype: list[:class:`huaweicloudsdkosm.v2.AnswerQaPair`]
|
|
103
|
+
"""
|
|
104
|
+
return self._answers
|
|
105
|
+
|
|
106
|
+
@answers.setter
|
|
107
|
+
def answers(self, answers):
|
|
108
|
+
r"""Sets the answers of this CreateAskQuestionResponse.
|
|
109
|
+
|
|
110
|
+
答案列表
|
|
111
|
+
|
|
112
|
+
:param answers: The answers of this CreateAskQuestionResponse.
|
|
113
|
+
:type answers: list[:class:`huaweicloudsdkosm.v2.AnswerQaPair`]
|
|
114
|
+
"""
|
|
115
|
+
self._answers = answers
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def error_code(self):
|
|
119
|
+
r"""Gets the error_code of this CreateAskQuestionResponse.
|
|
120
|
+
|
|
121
|
+
错误码
|
|
122
|
+
|
|
123
|
+
:return: The error_code of this CreateAskQuestionResponse.
|
|
124
|
+
:rtype: str
|
|
125
|
+
"""
|
|
126
|
+
return self._error_code
|
|
127
|
+
|
|
128
|
+
@error_code.setter
|
|
129
|
+
def error_code(self, error_code):
|
|
130
|
+
r"""Sets the error_code of this CreateAskQuestionResponse.
|
|
131
|
+
|
|
132
|
+
错误码
|
|
133
|
+
|
|
134
|
+
:param error_code: The error_code of this CreateAskQuestionResponse.
|
|
135
|
+
:type error_code: str
|
|
136
|
+
"""
|
|
137
|
+
self._error_code = error_code
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
def error_msg(self):
|
|
141
|
+
r"""Gets the error_msg of this CreateAskQuestionResponse.
|
|
142
|
+
|
|
143
|
+
错误描述
|
|
144
|
+
|
|
145
|
+
:return: The error_msg of this CreateAskQuestionResponse.
|
|
146
|
+
:rtype: str
|
|
147
|
+
"""
|
|
148
|
+
return self._error_msg
|
|
149
|
+
|
|
150
|
+
@error_msg.setter
|
|
151
|
+
def error_msg(self, error_msg):
|
|
152
|
+
r"""Sets the error_msg of this CreateAskQuestionResponse.
|
|
153
|
+
|
|
154
|
+
错误描述
|
|
155
|
+
|
|
156
|
+
:param error_msg: The error_msg of this CreateAskQuestionResponse.
|
|
157
|
+
:type error_msg: str
|
|
158
|
+
"""
|
|
159
|
+
self._error_msg = error_msg
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
def request_id(self):
|
|
163
|
+
r"""Gets the request_id of this CreateAskQuestionResponse.
|
|
164
|
+
|
|
165
|
+
请求Id
|
|
166
|
+
|
|
167
|
+
:return: The request_id of this CreateAskQuestionResponse.
|
|
168
|
+
:rtype: str
|
|
169
|
+
"""
|
|
170
|
+
return self._request_id
|
|
171
|
+
|
|
172
|
+
@request_id.setter
|
|
173
|
+
def request_id(self, request_id):
|
|
174
|
+
r"""Sets the request_id of this CreateAskQuestionResponse.
|
|
175
|
+
|
|
176
|
+
请求Id
|
|
177
|
+
|
|
178
|
+
:param request_id: The request_id of this CreateAskQuestionResponse.
|
|
179
|
+
:type request_id: str
|
|
180
|
+
"""
|
|
181
|
+
self._request_id = request_id
|
|
182
|
+
|
|
183
|
+
def to_dict(self):
|
|
184
|
+
"""Returns the model properties as a dict"""
|
|
185
|
+
result = {}
|
|
186
|
+
|
|
187
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
188
|
+
value = getattr(self, attr)
|
|
189
|
+
if isinstance(value, list):
|
|
190
|
+
result[attr] = list(map(
|
|
191
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
192
|
+
value
|
|
193
|
+
))
|
|
194
|
+
elif hasattr(value, "to_dict"):
|
|
195
|
+
result[attr] = value.to_dict()
|
|
196
|
+
elif isinstance(value, dict):
|
|
197
|
+
result[attr] = dict(map(
|
|
198
|
+
lambda item: (item[0], item[1].to_dict())
|
|
199
|
+
if hasattr(item[1], "to_dict") else item,
|
|
200
|
+
value.items()
|
|
201
|
+
))
|
|
202
|
+
else:
|
|
203
|
+
if attr in self.sensitive_list:
|
|
204
|
+
result[attr] = "****"
|
|
205
|
+
else:
|
|
206
|
+
result[attr] = value
|
|
207
|
+
|
|
208
|
+
return result
|
|
209
|
+
|
|
210
|
+
def to_str(self):
|
|
211
|
+
"""Returns the string representation of the model"""
|
|
212
|
+
import simplejson as json
|
|
213
|
+
if six.PY2:
|
|
214
|
+
import sys
|
|
215
|
+
reload(sys)
|
|
216
|
+
sys.setdefaultencoding("utf-8")
|
|
217
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
218
|
+
|
|
219
|
+
def __repr__(self):
|
|
220
|
+
"""For `print`"""
|
|
221
|
+
return self.to_str()
|
|
222
|
+
|
|
223
|
+
def __eq__(self, other):
|
|
224
|
+
"""Returns true if both objects are equal"""
|
|
225
|
+
if not isinstance(other, CreateAskQuestionResponse):
|
|
226
|
+
return False
|
|
227
|
+
|
|
228
|
+
return self.__dict__ == other.__dict__
|
|
229
|
+
|
|
230
|
+
def __ne__(self, other):
|
|
231
|
+
"""Returns true if both objects are not equal"""
|
|
232
|
+
return not self == other
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateCaseExtendsParamRequest:
|
|
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
|
+
'case_id': 'str',
|
|
21
|
+
'x_site': 'int',
|
|
22
|
+
'x_language': 'str',
|
|
23
|
+
'x_time_zone': 'str',
|
|
24
|
+
'body': 'PutCaseExtParamReq'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
attribute_map = {
|
|
28
|
+
'case_id': 'case_id',
|
|
29
|
+
'x_site': 'X-Site',
|
|
30
|
+
'x_language': 'X-Language',
|
|
31
|
+
'x_time_zone': 'X-Time-Zone',
|
|
32
|
+
'body': 'body'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
def __init__(self, case_id=None, x_site=None, x_language=None, x_time_zone=None, body=None):
|
|
36
|
+
r"""CreateCaseExtendsParamRequest
|
|
37
|
+
|
|
38
|
+
The model defined in huaweicloud sdk
|
|
39
|
+
|
|
40
|
+
:param case_id: 工单id
|
|
41
|
+
:type case_id: str
|
|
42
|
+
:param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
43
|
+
:type x_site: int
|
|
44
|
+
:param x_language: 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
45
|
+
:type x_language: str
|
|
46
|
+
:param x_time_zone: 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
47
|
+
:type x_time_zone: str
|
|
48
|
+
:param body: Body of the CreateCaseExtendsParamRequest
|
|
49
|
+
:type body: :class:`huaweicloudsdkosm.v2.PutCaseExtParamReq`
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
self._case_id = None
|
|
55
|
+
self._x_site = None
|
|
56
|
+
self._x_language = None
|
|
57
|
+
self._x_time_zone = None
|
|
58
|
+
self._body = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
self.case_id = case_id
|
|
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
|
+
if x_time_zone is not None:
|
|
67
|
+
self.x_time_zone = x_time_zone
|
|
68
|
+
if body is not None:
|
|
69
|
+
self.body = body
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def case_id(self):
|
|
73
|
+
r"""Gets the case_id of this CreateCaseExtendsParamRequest.
|
|
74
|
+
|
|
75
|
+
工单id
|
|
76
|
+
|
|
77
|
+
:return: The case_id of this CreateCaseExtendsParamRequest.
|
|
78
|
+
:rtype: str
|
|
79
|
+
"""
|
|
80
|
+
return self._case_id
|
|
81
|
+
|
|
82
|
+
@case_id.setter
|
|
83
|
+
def case_id(self, case_id):
|
|
84
|
+
r"""Sets the case_id of this CreateCaseExtendsParamRequest.
|
|
85
|
+
|
|
86
|
+
工单id
|
|
87
|
+
|
|
88
|
+
:param case_id: The case_id of this CreateCaseExtendsParamRequest.
|
|
89
|
+
:type case_id: str
|
|
90
|
+
"""
|
|
91
|
+
self._case_id = case_id
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
def x_site(self):
|
|
95
|
+
r"""Gets the x_site of this CreateCaseExtendsParamRequest.
|
|
96
|
+
|
|
97
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
98
|
+
|
|
99
|
+
:return: The x_site of this CreateCaseExtendsParamRequest.
|
|
100
|
+
:rtype: int
|
|
101
|
+
"""
|
|
102
|
+
return self._x_site
|
|
103
|
+
|
|
104
|
+
@x_site.setter
|
|
105
|
+
def x_site(self, x_site):
|
|
106
|
+
r"""Sets the x_site of this CreateCaseExtendsParamRequest.
|
|
107
|
+
|
|
108
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
109
|
+
|
|
110
|
+
:param x_site: The x_site of this CreateCaseExtendsParamRequest.
|
|
111
|
+
:type x_site: int
|
|
112
|
+
"""
|
|
113
|
+
self._x_site = x_site
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
def x_language(self):
|
|
117
|
+
r"""Gets the x_language of this CreateCaseExtendsParamRequest.
|
|
118
|
+
|
|
119
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
120
|
+
|
|
121
|
+
:return: The x_language of this CreateCaseExtendsParamRequest.
|
|
122
|
+
:rtype: str
|
|
123
|
+
"""
|
|
124
|
+
return self._x_language
|
|
125
|
+
|
|
126
|
+
@x_language.setter
|
|
127
|
+
def x_language(self, x_language):
|
|
128
|
+
r"""Sets the x_language of this CreateCaseExtendsParamRequest.
|
|
129
|
+
|
|
130
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
131
|
+
|
|
132
|
+
:param x_language: The x_language of this CreateCaseExtendsParamRequest.
|
|
133
|
+
:type x_language: str
|
|
134
|
+
"""
|
|
135
|
+
self._x_language = x_language
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def x_time_zone(self):
|
|
139
|
+
r"""Gets the x_time_zone of this CreateCaseExtendsParamRequest.
|
|
140
|
+
|
|
141
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
142
|
+
|
|
143
|
+
:return: The x_time_zone of this CreateCaseExtendsParamRequest.
|
|
144
|
+
:rtype: str
|
|
145
|
+
"""
|
|
146
|
+
return self._x_time_zone
|
|
147
|
+
|
|
148
|
+
@x_time_zone.setter
|
|
149
|
+
def x_time_zone(self, x_time_zone):
|
|
150
|
+
r"""Sets the x_time_zone of this CreateCaseExtendsParamRequest.
|
|
151
|
+
|
|
152
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
153
|
+
|
|
154
|
+
:param x_time_zone: The x_time_zone of this CreateCaseExtendsParamRequest.
|
|
155
|
+
:type x_time_zone: str
|
|
156
|
+
"""
|
|
157
|
+
self._x_time_zone = x_time_zone
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def body(self):
|
|
161
|
+
r"""Gets the body of this CreateCaseExtendsParamRequest.
|
|
162
|
+
|
|
163
|
+
:return: The body of this CreateCaseExtendsParamRequest.
|
|
164
|
+
:rtype: :class:`huaweicloudsdkosm.v2.PutCaseExtParamReq`
|
|
165
|
+
"""
|
|
166
|
+
return self._body
|
|
167
|
+
|
|
168
|
+
@body.setter
|
|
169
|
+
def body(self, body):
|
|
170
|
+
r"""Sets the body of this CreateCaseExtendsParamRequest.
|
|
171
|
+
|
|
172
|
+
:param body: The body of this CreateCaseExtendsParamRequest.
|
|
173
|
+
:type body: :class:`huaweicloudsdkosm.v2.PutCaseExtParamReq`
|
|
174
|
+
"""
|
|
175
|
+
self._body = body
|
|
176
|
+
|
|
177
|
+
def to_dict(self):
|
|
178
|
+
"""Returns the model properties as a dict"""
|
|
179
|
+
result = {}
|
|
180
|
+
|
|
181
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
182
|
+
value = getattr(self, attr)
|
|
183
|
+
if isinstance(value, list):
|
|
184
|
+
result[attr] = list(map(
|
|
185
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
186
|
+
value
|
|
187
|
+
))
|
|
188
|
+
elif hasattr(value, "to_dict"):
|
|
189
|
+
result[attr] = value.to_dict()
|
|
190
|
+
elif isinstance(value, dict):
|
|
191
|
+
result[attr] = dict(map(
|
|
192
|
+
lambda item: (item[0], item[1].to_dict())
|
|
193
|
+
if hasattr(item[1], "to_dict") else item,
|
|
194
|
+
value.items()
|
|
195
|
+
))
|
|
196
|
+
else:
|
|
197
|
+
if attr in self.sensitive_list:
|
|
198
|
+
result[attr] = "****"
|
|
199
|
+
else:
|
|
200
|
+
result[attr] = value
|
|
201
|
+
|
|
202
|
+
return result
|
|
203
|
+
|
|
204
|
+
def to_str(self):
|
|
205
|
+
"""Returns the string representation of the model"""
|
|
206
|
+
import simplejson as json
|
|
207
|
+
if six.PY2:
|
|
208
|
+
import sys
|
|
209
|
+
reload(sys)
|
|
210
|
+
sys.setdefaultencoding("utf-8")
|
|
211
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
212
|
+
|
|
213
|
+
def __repr__(self):
|
|
214
|
+
"""For `print`"""
|
|
215
|
+
return self.to_str()
|
|
216
|
+
|
|
217
|
+
def __eq__(self, other):
|
|
218
|
+
"""Returns true if both objects are equal"""
|
|
219
|
+
if not isinstance(other, CreateCaseExtendsParamRequest):
|
|
220
|
+
return False
|
|
221
|
+
|
|
222
|
+
return self.__dict__ == other.__dict__
|
|
223
|
+
|
|
224
|
+
def __ne__(self, other):
|
|
225
|
+
"""Returns true if both objects are not equal"""
|
|
226
|
+
return not self == other
|
|
@@ -0,0 +1,145 @@
|
|
|
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 CreateCaseExtendsParamResponse(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
|
+
'error_code': 'str',
|
|
22
|
+
'error_msg': 'str'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'error_code': 'error_code',
|
|
27
|
+
'error_msg': 'error_msg'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def __init__(self, error_code=None, error_msg=None):
|
|
31
|
+
r"""CreateCaseExtendsParamResponse
|
|
32
|
+
|
|
33
|
+
The model defined in huaweicloud sdk
|
|
34
|
+
|
|
35
|
+
:param error_code: 错误码
|
|
36
|
+
:type error_code: str
|
|
37
|
+
:param error_msg: 错误描述
|
|
38
|
+
:type error_msg: str
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
super(CreateCaseExtendsParamResponse, self).__init__()
|
|
42
|
+
|
|
43
|
+
self._error_code = None
|
|
44
|
+
self._error_msg = None
|
|
45
|
+
self.discriminator = None
|
|
46
|
+
|
|
47
|
+
if error_code is not None:
|
|
48
|
+
self.error_code = error_code
|
|
49
|
+
if error_msg is not None:
|
|
50
|
+
self.error_msg = error_msg
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
def error_code(self):
|
|
54
|
+
r"""Gets the error_code of this CreateCaseExtendsParamResponse.
|
|
55
|
+
|
|
56
|
+
错误码
|
|
57
|
+
|
|
58
|
+
:return: The error_code of this CreateCaseExtendsParamResponse.
|
|
59
|
+
:rtype: str
|
|
60
|
+
"""
|
|
61
|
+
return self._error_code
|
|
62
|
+
|
|
63
|
+
@error_code.setter
|
|
64
|
+
def error_code(self, error_code):
|
|
65
|
+
r"""Sets the error_code of this CreateCaseExtendsParamResponse.
|
|
66
|
+
|
|
67
|
+
错误码
|
|
68
|
+
|
|
69
|
+
:param error_code: The error_code of this CreateCaseExtendsParamResponse.
|
|
70
|
+
:type error_code: str
|
|
71
|
+
"""
|
|
72
|
+
self._error_code = error_code
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
def error_msg(self):
|
|
76
|
+
r"""Gets the error_msg of this CreateCaseExtendsParamResponse.
|
|
77
|
+
|
|
78
|
+
错误描述
|
|
79
|
+
|
|
80
|
+
:return: The error_msg of this CreateCaseExtendsParamResponse.
|
|
81
|
+
:rtype: str
|
|
82
|
+
"""
|
|
83
|
+
return self._error_msg
|
|
84
|
+
|
|
85
|
+
@error_msg.setter
|
|
86
|
+
def error_msg(self, error_msg):
|
|
87
|
+
r"""Sets the error_msg of this CreateCaseExtendsParamResponse.
|
|
88
|
+
|
|
89
|
+
错误描述
|
|
90
|
+
|
|
91
|
+
:param error_msg: The error_msg of this CreateCaseExtendsParamResponse.
|
|
92
|
+
:type error_msg: str
|
|
93
|
+
"""
|
|
94
|
+
self._error_msg = error_msg
|
|
95
|
+
|
|
96
|
+
def to_dict(self):
|
|
97
|
+
"""Returns the model properties as a dict"""
|
|
98
|
+
result = {}
|
|
99
|
+
|
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
101
|
+
value = getattr(self, attr)
|
|
102
|
+
if isinstance(value, list):
|
|
103
|
+
result[attr] = list(map(
|
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
105
|
+
value
|
|
106
|
+
))
|
|
107
|
+
elif hasattr(value, "to_dict"):
|
|
108
|
+
result[attr] = value.to_dict()
|
|
109
|
+
elif isinstance(value, dict):
|
|
110
|
+
result[attr] = dict(map(
|
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
|
113
|
+
value.items()
|
|
114
|
+
))
|
|
115
|
+
else:
|
|
116
|
+
if attr in self.sensitive_list:
|
|
117
|
+
result[attr] = "****"
|
|
118
|
+
else:
|
|
119
|
+
result[attr] = value
|
|
120
|
+
|
|
121
|
+
return result
|
|
122
|
+
|
|
123
|
+
def to_str(self):
|
|
124
|
+
"""Returns the string representation of the model"""
|
|
125
|
+
import simplejson as json
|
|
126
|
+
if six.PY2:
|
|
127
|
+
import sys
|
|
128
|
+
reload(sys)
|
|
129
|
+
sys.setdefaultencoding("utf-8")
|
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
131
|
+
|
|
132
|
+
def __repr__(self):
|
|
133
|
+
"""For `print`"""
|
|
134
|
+
return self.to_str()
|
|
135
|
+
|
|
136
|
+
def __eq__(self, other):
|
|
137
|
+
"""Returns true if both objects are equal"""
|
|
138
|
+
if not isinstance(other, CreateCaseExtendsParamResponse):
|
|
139
|
+
return False
|
|
140
|
+
|
|
141
|
+
return self.__dict__ == other.__dict__
|
|
142
|
+
|
|
143
|
+
def __ne__(self, other):
|
|
144
|
+
"""Returns true if both objects are not equal"""
|
|
145
|
+
return not self == other
|