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