huaweicloudsdkosm 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of huaweicloudsdkosm might be problematic. Click here for more details.
- huaweicloudsdkosm/__init__.py +0 -0
- huaweicloudsdkosm/v2/__init__.py +307 -0
- huaweicloudsdkosm/v2/model/__init__.py +304 -0
- huaweicloudsdkosm/v2/model/accessory_json_format_req.py +199 -0
- huaweicloudsdkosm/v2/model/accessory_limit_vo.py +173 -0
- huaweicloudsdkosm/v2/model/accessory_url.py +173 -0
- huaweicloudsdkosm/v2/model/agency_v2.py +289 -0
- huaweicloudsdkosm/v2/model/agree_tenant_authorization_v2_req.py +231 -0
- huaweicloudsdkosm/v2/model/agreement_vo.py +260 -0
- huaweicloudsdkosm/v2/model/answer.py +227 -0
- huaweicloudsdkosm/v2/model/answer_detail.py +194 -0
- huaweicloudsdkosm/v2/model/answer_info.py +231 -0
- huaweicloudsdkosm/v2/model/answer_qa_pair.py +318 -0
- huaweicloudsdkosm/v2/model/area_code_simple_info_v2.py +173 -0
- huaweicloudsdkosm/v2/model/article.py +347 -0
- huaweicloudsdkosm/v2/model/ask_question_req.py +316 -0
- huaweicloudsdkosm/v2/model/case_label_info.py +173 -0
- huaweicloudsdkosm/v2/model/case_query_label.py +173 -0
- huaweicloudsdkosm/v2/model/case_realtion_info.py +173 -0
- huaweicloudsdkosm/v2/model/cbs_flow_entry.py +144 -0
- huaweicloudsdkosm/v2/model/check_hosts_request.py +226 -0
- huaweicloudsdkosm/v2/model/check_hosts_response.py +145 -0
- huaweicloudsdkosm/v2/model/check_need_verify_request.py +258 -0
- huaweicloudsdkosm/v2/model/check_need_verify_response.py +145 -0
- huaweicloudsdkosm/v2/model/check_verify_codes_request.py +198 -0
- huaweicloudsdkosm/v2/model/check_verify_codes_response.py +145 -0
- huaweicloudsdkosm/v2/model/common_param_v2.py +202 -0
- huaweicloudsdkosm/v2/model/confirm_authorizations_request.py +226 -0
- huaweicloudsdkosm/v2/model/confirm_authorizations_response.py +145 -0
- huaweicloudsdkosm/v2/model/contact_v2.py +202 -0
- huaweicloudsdkosm/v2/model/contact_way_info_v2.py +343 -0
- huaweicloudsdkosm/v2/model/create_and_delete_privilege_req.py +143 -0
- huaweicloudsdkosm/v2/model/create_ask_question_request.py +197 -0
- huaweicloudsdkosm/v2/model/create_ask_question_response.py +232 -0
- huaweicloudsdkosm/v2/model/create_case_extends_param_request.py +226 -0
- huaweicloudsdkosm/v2/model/create_case_extends_param_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_case_labels_request.py +229 -0
- huaweicloudsdkosm/v2/model/create_case_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_cases_request.py +256 -0
- huaweicloudsdkosm/v2/model/create_cases_response.py +116 -0
- huaweicloudsdkosm/v2/model/create_diagnose_feedback_request.py +111 -0
- huaweicloudsdkosm/v2/model/create_diagnose_feedback_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_diagnose_job_request.py +111 -0
- huaweicloudsdkosm/v2/model/create_diagnose_job_response.py +174 -0
- huaweicloudsdkosm/v2/model/create_evaluate_request.py +253 -0
- huaweicloudsdkosm/v2/model/create_evaluate_response.py +174 -0
- huaweicloudsdkosm/v2/model/create_feedback_req.py +171 -0
- huaweicloudsdkosm/v2/model/create_feedback_request.py +111 -0
- huaweicloudsdkosm/v2/model/create_feedback_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_feedback_v2_req.py +247 -0
- huaweicloudsdkosm/v2/model/create_labels_req.py +142 -0
- huaweicloudsdkosm/v2/model/create_labels_request.py +198 -0
- huaweicloudsdkosm/v2/model/create_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_message_do_v2.py +143 -0
- huaweicloudsdkosm/v2/model/create_message_v2_req.py +139 -0
- huaweicloudsdkosm/v2/model/create_messages_request.py +226 -0
- huaweicloudsdkosm/v2/model/create_messages_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_order_incident_v2_req.py +547 -0
- huaweicloudsdkosm/v2/model/create_privileges_request.py +198 -0
- huaweicloudsdkosm/v2/model/create_privileges_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_qa_ask_request.py +197 -0
- huaweicloudsdkosm/v2/model/create_qa_ask_response.py +282 -0
- huaweicloudsdkosm/v2/model/create_qa_feedbacks_request.py +226 -0
- huaweicloudsdkosm/v2/model/create_qa_feedbacks_response.py +174 -0
- huaweicloudsdkosm/v2/model/create_question_in_session_request.py +225 -0
- huaweicloudsdkosm/v2/model/create_question_in_session_response.py +232 -0
- huaweicloudsdkosm/v2/model/create_relations_req.py +143 -0
- huaweicloudsdkosm/v2/model/create_relations_request.py +226 -0
- huaweicloudsdkosm/v2/model/create_relations_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_score_v2_req.py +171 -0
- huaweicloudsdkosm/v2/model/create_scores_request.py +226 -0
- huaweicloudsdkosm/v2/model/create_scores_response.py +145 -0
- huaweicloudsdkosm/v2/model/create_session_request.py +172 -0
- huaweicloudsdkosm/v2/model/create_session_response.py +174 -0
- huaweicloudsdkosm/v2/model/data_center_v2_do.py +202 -0
- huaweicloudsdkosm/v2/model/delete_accessories_request.py +201 -0
- huaweicloudsdkosm/v2/model/delete_accessories_response.py +145 -0
- huaweicloudsdkosm/v2/model/delete_case_labels_request.py +229 -0
- huaweicloudsdkosm/v2/model/delete_case_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/delete_labels_request.py +201 -0
- huaweicloudsdkosm/v2/model/delete_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/delete_relation_request.py +226 -0
- huaweicloudsdkosm/v2/model/delete_relation_response.py +145 -0
- huaweicloudsdkosm/v2/model/delete_relations_req.py +143 -0
- huaweicloudsdkosm/v2/model/diagnose_record_vo.py +347 -0
- huaweicloudsdkosm/v2/model/diagnose_resource_vo.py +405 -0
- huaweicloudsdkosm/v2/model/download_accessories_request.py +230 -0
- huaweicloudsdkosm/v2/model/download_accessories_response.py +85 -0
- huaweicloudsdkosm/v2/model/download_cases_request.py +548 -0
- huaweicloudsdkosm/v2/model/download_cases_response.py +85 -0
- huaweicloudsdkosm/v2/model/download_images_request.py +230 -0
- huaweicloudsdkosm/v2/model/download_images_response.py +85 -0
- huaweicloudsdkosm/v2/model/evaluate_request_req.py +115 -0
- huaweicloudsdkosm/v2/model/extend_question.py +144 -0
- huaweicloudsdkosm/v2/model/extends_param_v2.py +492 -0
- huaweicloudsdkosm/v2/model/feedback_option.py +144 -0
- huaweicloudsdkosm/v2/model/file_operate_log.py +318 -0
- huaweicloudsdkosm/v2/model/im_status_v2.py +144 -0
- huaweicloudsdkosm/v2/model/im_unread_v2.py +173 -0
- huaweicloudsdkosm/v2/model/incident_detail_ext_info_v2.py +289 -0
- huaweicloudsdkosm/v2/model/incident_detail_info_v2.py +593 -0
- huaweicloudsdkosm/v2/model/incident_info.py +463 -0
- huaweicloudsdkosm/v2/model/incident_info_v2.py +542 -0
- huaweicloudsdkosm/v2/model/incident_message_v2.py +318 -0
- huaweicloudsdkosm/v2/model/incident_operate_log_v2.py +347 -0
- huaweicloudsdkosm/v2/model/incident_order_auth_detail_info_v2.py +289 -0
- huaweicloudsdkosm/v2/model/incident_order_auth_v2.py +579 -0
- huaweicloudsdkosm/v2/model/incident_order_cc_email_info_v2.py +173 -0
- huaweicloudsdkosm/v2/model/incident_product_category_v2.py +231 -0
- huaweicloudsdkosm/v2/model/incident_satisfaction_v2_do.py +287 -0
- huaweicloudsdkosm/v2/model/incident_status_count.py +144 -0
- huaweicloudsdkosm/v2/model/incident_sub_type_v2_do.py +173 -0
- huaweicloudsdkosm/v2/model/incident_temp_v2.py +173 -0
- huaweicloudsdkosm/v2/model/intellectual_property_v2.py +202 -0
- huaweicloudsdkosm/v2/model/item_result_detail_vo.py +318 -0
- huaweicloudsdkosm/v2/model/item_result_vo.py +289 -0
- huaweicloudsdkosm/v2/model/label_info.py +173 -0
- huaweicloudsdkosm/v2/model/lang_result.py +144 -0
- huaweicloudsdkosm/v2/model/list_accessory_access_urls_request.py +230 -0
- huaweicloudsdkosm/v2/model/list_accessory_access_urls_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_agencies_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_agencies_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_area_codes_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_area_codes_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_articles_request.py +226 -0
- huaweicloudsdkosm/v2/model/list_articles_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_authorizations_request.py +376 -0
- huaweicloudsdkosm/v2/model/list_authorizations_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_case_categories_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_case_categories_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_case_cc_emails_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_case_cc_emails_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_case_counts_request.py +202 -0
- huaweicloudsdkosm/v2/model/list_case_counts_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_case_labels_request.py +201 -0
- huaweicloudsdkosm/v2/model/list_case_labels_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_case_limits_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_case_limits_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_case_operate_logs_request.py +288 -0
- huaweicloudsdkosm/v2/model/list_case_operate_logs_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_case_quotas_request.py +230 -0
- huaweicloudsdkosm/v2/model/list_case_quotas_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_case_templates_request.py +201 -0
- huaweicloudsdkosm/v2/model/list_case_templates_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_cases_request.py +550 -0
- huaweicloudsdkosm/v2/model/list_cases_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_customers_regions_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_customers_regions_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_diagnose_items_request.py +111 -0
- huaweicloudsdkosm/v2/model/list_diagnose_items_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_diagnose_job_request.py +115 -0
- huaweicloudsdkosm/v2/model/list_diagnose_job_response.py +290 -0
- huaweicloudsdkosm/v2/model/list_diagnose_records_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_diagnose_records_response.py +203 -0
- huaweicloudsdkosm/v2/model/list_diagnose_resources_request.py +111 -0
- huaweicloudsdkosm/v2/model/list_diagnose_resources_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_extends_params_request.py +259 -0
- huaweicloudsdkosm/v2/model/list_extends_params_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_feedback_option_request.py +230 -0
- huaweicloudsdkosm/v2/model/list_feedback_option_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_has_verified_contacts_request.py +434 -0
- huaweicloudsdkosm/v2/model/list_has_verified_contacts_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_history_operate_logs_request.py +373 -0
- huaweicloudsdkosm/v2/model/list_history_operate_logs_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_history_sessions_request.py +316 -0
- huaweicloudsdkosm/v2/model/list_history_sessions_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_labels_request.py +289 -0
- huaweicloudsdkosm/v2/model/list_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_messages_request.py +288 -0
- huaweicloudsdkosm/v2/model/list_messages_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_more_instant_messages_request.py +314 -0
- huaweicloudsdkosm/v2/model/list_more_instant_messages_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_new_instant_messages_request.py +259 -0
- huaweicloudsdkosm/v2/model/list_new_instant_messages_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_notices_request.py +198 -0
- huaweicloudsdkosm/v2/model/list_notices_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_order_incident_request.py +550 -0
- huaweicloudsdkosm/v2/model/list_order_incident_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_privileges_request.py +201 -0
- huaweicloudsdkosm/v2/model/list_privileges_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_problem_types_request.py +202 -0
- huaweicloudsdkosm/v2/model/list_problem_types_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_product_categories_request.py +202 -0
- huaweicloudsdkosm/v2/model/list_product_categories_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_recommend_words_request.py +260 -0
- huaweicloudsdkosm/v2/model/list_recommend_words_response.py +203 -0
- huaweicloudsdkosm/v2/model/list_regions_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_regions_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_relation_request.py +201 -0
- huaweicloudsdkosm/v2/model/list_relation_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_request.py +173 -0
- huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_severities_request.py +229 -0
- huaweicloudsdkosm/v2/model/list_severities_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_sub_customers_request.py +231 -0
- huaweicloudsdkosm/v2/model/list_sub_customers_response.py +116 -0
- huaweicloudsdkosm/v2/model/list_tools_request.py +198 -0
- huaweicloudsdkosm/v2/model/list_tools_response.py +174 -0
- huaweicloudsdkosm/v2/model/list_transport_histories_request.py +373 -0
- huaweicloudsdkosm/v2/model/list_transport_histories_response.py +145 -0
- huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_request.py +230 -0
- huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_response.py +116 -0
- huaweicloudsdkosm/v2/model/notice.py +199 -0
- huaweicloudsdkosm/v2/model/operate_authorization_v2_req.py +144 -0
- huaweicloudsdkosm/v2/model/operate_history_session.py +202 -0
- huaweicloudsdkosm/v2/model/operate_log.py +144 -0
- huaweicloudsdkosm/v2/model/partners_service_info.py +231 -0
- huaweicloudsdkosm/v2/model/put_case_ext_param_req.py +173 -0
- huaweicloudsdkosm/v2/model/qa_ask_req.py +346 -0
- huaweicloudsdkosm/v2/model/qa_feedback_req.py +345 -0
- huaweicloudsdkosm/v2/model/qa_flow_hit_node_vo.py +202 -0
- huaweicloudsdkosm/v2/model/qa_flow_hit_result.py +198 -0
- huaweicloudsdkosm/v2/model/qa_graph_answer.py +202 -0
- huaweicloudsdkosm/v2/model/qa_pair.py +289 -0
- huaweicloudsdkosm/v2/model/qabot_answer.py +347 -0
- huaweicloudsdkosm/v2/model/query_associated_question_req.py +172 -0
- huaweicloudsdkosm/v2/model/query_diagnose_items_req.py +144 -0
- huaweicloudsdkosm/v2/model/query_message_info_v2.py +347 -0
- huaweicloudsdkosm/v2/model/query_tsc_diagnose_resources_req.py +144 -0
- huaweicloudsdkosm/v2/model/recommend_word.py +285 -0
- huaweicloudsdkosm/v2/model/region.py +144 -0
- huaweicloudsdkosm/v2/model/relation_theme.py +144 -0
- huaweicloudsdkosm/v2/model/relevance_qapair.py +173 -0
- huaweicloudsdkosm/v2/model/revoke_message_request.py +229 -0
- huaweicloudsdkosm/v2/model/revoke_message_response.py +145 -0
- huaweicloudsdkosm/v2/model/satisfaction_dimension_simple_info_v2.py +260 -0
- huaweicloudsdkosm/v2/model/search_articles_req.py +201 -0
- huaweicloudsdkosm/v2/model/search_notices_req.py +143 -0
- huaweicloudsdkosm/v2/model/search_qa_pairs_req.py +144 -0
- huaweicloudsdkosm/v2/model/search_tools_req.py +201 -0
- huaweicloudsdkosm/v2/model/send_verify_code_req.py +170 -0
- huaweicloudsdkosm/v2/model/send_verify_codes_request.py +198 -0
- huaweicloudsdkosm/v2/model/send_verify_codes_response.py +145 -0
- huaweicloudsdkosm/v2/model/session_ask_question_req.py +288 -0
- huaweicloudsdkosm/v2/model/severity_v2_do.py +173 -0
- huaweicloudsdkosm/v2/model/show_accessory_limits_request.py +173 -0
- huaweicloudsdkosm/v2/model/show_accessory_limits_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_associated_questions_request.py +197 -0
- huaweicloudsdkosm/v2/model/show_associated_questions_response.py +174 -0
- huaweicloudsdkosm/v2/model/show_authorization_detail_request.py +230 -0
- huaweicloudsdkosm/v2/model/show_authorization_detail_response.py +609 -0
- huaweicloudsdkosm/v2/model/show_case_detail_request.py +230 -0
- huaweicloudsdkosm/v2/model/show_case_detail_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_case_extends_param_request.py +230 -0
- huaweicloudsdkosm/v2/model/show_case_extends_param_response.py +145 -0
- huaweicloudsdkosm/v2/model/show_case_status_request.py +201 -0
- huaweicloudsdkosm/v2/model/show_case_status_response.py +116 -0
- huaweicloudsdkosm/v2/model/show_configuration_request.py +114 -0
- huaweicloudsdkosm/v2/model/show_configuration_response.py +203 -0
- huaweicloudsdkosm/v2/model/show_customer_privilege_policy_request.py +173 -0
- huaweicloudsdkosm/v2/model/show_customer_privilege_policy_response.py +116 -0
- huaweicloudsdkosm/v2/model/show_download_accessory_url_request.py +200 -0
- huaweicloudsdkosm/v2/model/show_download_accessory_url_response.py +174 -0
- huaweicloudsdkosm/v2/model/show_latest_published_agreement_request.py +202 -0
- huaweicloudsdkosm/v2/model/show_latest_published_agreement_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_login_type_request.py +144 -0
- huaweicloudsdkosm/v2/model/show_login_type_response.py +116 -0
- huaweicloudsdkosm/v2/model/show_partners_cases_privilege_request.py +173 -0
- huaweicloudsdkosm/v2/model/show_partners_cases_privilege_response.py +116 -0
- huaweicloudsdkosm/v2/model/show_partners_service_info_request.py +231 -0
- huaweicloudsdkosm/v2/model/show_partners_service_info_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_qa_pair_detail_request.py +200 -0
- huaweicloudsdkosm/v2/model/show_qa_pair_detail_response.py +170 -0
- huaweicloudsdkosm/v2/model/show_qa_pairs_request.py +225 -0
- huaweicloudsdkosm/v2/model/show_qa_pairs_response.py +174 -0
- huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_request.py +202 -0
- huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_response.py +116 -0
- huaweicloudsdkosm/v2/model/show_theme_request.py +259 -0
- huaweicloudsdkosm/v2/model/show_theme_response.py +232 -0
- huaweicloudsdkosm/v2/model/sign_agreement_req.py +115 -0
- huaweicloudsdkosm/v2/model/sign_published_agreement_request.py +226 -0
- huaweicloudsdkosm/v2/model/sign_published_agreement_response.py +116 -0
- huaweicloudsdkosm/v2/model/simple_accessory_v2.py +144 -0
- huaweicloudsdkosm/v2/model/simple_incident_business_type_v2.py +202 -0
- huaweicloudsdkosm/v2/model/simple_qa_pair.py +173 -0
- huaweicloudsdkosm/v2/model/sub_cutomer_info_v2.py +260 -0
- huaweicloudsdkosm/v2/model/submit_diagnose_job_req.py +172 -0
- huaweicloudsdkosm/v2/model/tenant_agree_auth_detail_v2.py +201 -0
- huaweicloudsdkosm/v2/model/tenant_config_v2.py +115 -0
- huaweicloudsdkosm/v2/model/tool.py +287 -0
- huaweicloudsdkosm/v2/model/update_authorizations_request.py +255 -0
- huaweicloudsdkosm/v2/model/update_authorizations_response.py +145 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_req.py +260 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_request.py +226 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_response.py +145 -0
- huaweicloudsdkosm/v2/model/update_cases_request.py +254 -0
- huaweicloudsdkosm/v2/model/update_cases_response.py +145 -0
- huaweicloudsdkosm/v2/model/update_labels_req.py +142 -0
- huaweicloudsdkosm/v2/model/update_labels_request.py +226 -0
- huaweicloudsdkosm/v2/model/update_labels_response.py +145 -0
- huaweicloudsdkosm/v2/model/update_new_instant_messages_read_request.py +226 -0
- huaweicloudsdkosm/v2/model/update_new_instant_messages_read_response.py +145 -0
- huaweicloudsdkosm/v2/model/update_unread_new_instant_msg_v2_req.py +115 -0
- huaweicloudsdkosm/v2/model/upload_accessory_request.py +198 -0
- huaweicloudsdkosm/v2/model/upload_accessory_request_body.py +142 -0
- huaweicloudsdkosm/v2/model/upload_accessory_response.py +116 -0
- huaweicloudsdkosm/v2/model/upload_json_accessories_request.py +198 -0
- huaweicloudsdkosm/v2/model/upload_json_accessories_response.py +116 -0
- huaweicloudsdkosm/v2/model/user_instant_incident_msg_v2.py +144 -0
- huaweicloudsdkosm/v2/model/verify_host_v2_req.py +199 -0
- huaweicloudsdkosm/v2/model/verify_verify_code_v2_req.py +257 -0
- huaweicloudsdkosm/v2/model/work_order_operate_v2_req.py +202 -0
- huaweicloudsdkosm/v2/osm_async_client.py +7166 -0
- huaweicloudsdkosm/v2/osm_client.py +7163 -0
- huaweicloudsdkosm/v2/region/__init__.py +0 -0
- huaweicloudsdkosm/v2/region/osm_region.py +31 -0
- huaweicloudsdkosm-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkosm-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkosm-3.1.160.dist-info/RECORD +311 -0
- huaweicloudsdkosm-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkosm-3.1.160.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class SatisfactionDimensionSimpleInfoV2:
|
|
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
|
+
'value': 'int',
|
|
21
|
+
'satisfaction_id': 'int',
|
|
22
|
+
'satisfaction_name': 'str',
|
|
23
|
+
'satisfaction_desc': 'str',
|
|
24
|
+
'per_value': 'int',
|
|
25
|
+
'sat_category_id': 'str'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
attribute_map = {
|
|
29
|
+
'value': 'value',
|
|
30
|
+
'satisfaction_id': 'satisfaction_id',
|
|
31
|
+
'satisfaction_name': 'satisfaction_name',
|
|
32
|
+
'satisfaction_desc': 'satisfaction_desc',
|
|
33
|
+
'per_value': 'per_value',
|
|
34
|
+
'sat_category_id': 'sat_category_id'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
def __init__(self, value=None, satisfaction_id=None, satisfaction_name=None, satisfaction_desc=None, per_value=None, sat_category_id=None):
|
|
38
|
+
r"""SatisfactionDimensionSimpleInfoV2
|
|
39
|
+
|
|
40
|
+
The model defined in huaweicloud sdk
|
|
41
|
+
|
|
42
|
+
:param value: 总的分数
|
|
43
|
+
:type value: int
|
|
44
|
+
:param satisfaction_id: 满意度id
|
|
45
|
+
:type satisfaction_id: int
|
|
46
|
+
:param satisfaction_name: 满意度名称
|
|
47
|
+
:type satisfaction_name: str
|
|
48
|
+
:param satisfaction_desc: 满意度描述
|
|
49
|
+
:type satisfaction_desc: str
|
|
50
|
+
:param per_value: 每格的分数
|
|
51
|
+
:type per_value: int
|
|
52
|
+
:param sat_category_id: 满意度分类id
|
|
53
|
+
:type sat_category_id: str
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
self._value = None
|
|
59
|
+
self._satisfaction_id = None
|
|
60
|
+
self._satisfaction_name = None
|
|
61
|
+
self._satisfaction_desc = None
|
|
62
|
+
self._per_value = None
|
|
63
|
+
self._sat_category_id = None
|
|
64
|
+
self.discriminator = None
|
|
65
|
+
|
|
66
|
+
if value is not None:
|
|
67
|
+
self.value = value
|
|
68
|
+
if satisfaction_id is not None:
|
|
69
|
+
self.satisfaction_id = satisfaction_id
|
|
70
|
+
if satisfaction_name is not None:
|
|
71
|
+
self.satisfaction_name = satisfaction_name
|
|
72
|
+
if satisfaction_desc is not None:
|
|
73
|
+
self.satisfaction_desc = satisfaction_desc
|
|
74
|
+
if per_value is not None:
|
|
75
|
+
self.per_value = per_value
|
|
76
|
+
if sat_category_id is not None:
|
|
77
|
+
self.sat_category_id = sat_category_id
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def value(self):
|
|
81
|
+
r"""Gets the value of this SatisfactionDimensionSimpleInfoV2.
|
|
82
|
+
|
|
83
|
+
总的分数
|
|
84
|
+
|
|
85
|
+
:return: The value of this SatisfactionDimensionSimpleInfoV2.
|
|
86
|
+
:rtype: int
|
|
87
|
+
"""
|
|
88
|
+
return self._value
|
|
89
|
+
|
|
90
|
+
@value.setter
|
|
91
|
+
def value(self, value):
|
|
92
|
+
r"""Sets the value of this SatisfactionDimensionSimpleInfoV2.
|
|
93
|
+
|
|
94
|
+
总的分数
|
|
95
|
+
|
|
96
|
+
:param value: The value of this SatisfactionDimensionSimpleInfoV2.
|
|
97
|
+
:type value: int
|
|
98
|
+
"""
|
|
99
|
+
self._value = value
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def satisfaction_id(self):
|
|
103
|
+
r"""Gets the satisfaction_id of this SatisfactionDimensionSimpleInfoV2.
|
|
104
|
+
|
|
105
|
+
满意度id
|
|
106
|
+
|
|
107
|
+
:return: The satisfaction_id of this SatisfactionDimensionSimpleInfoV2.
|
|
108
|
+
:rtype: int
|
|
109
|
+
"""
|
|
110
|
+
return self._satisfaction_id
|
|
111
|
+
|
|
112
|
+
@satisfaction_id.setter
|
|
113
|
+
def satisfaction_id(self, satisfaction_id):
|
|
114
|
+
r"""Sets the satisfaction_id of this SatisfactionDimensionSimpleInfoV2.
|
|
115
|
+
|
|
116
|
+
满意度id
|
|
117
|
+
|
|
118
|
+
:param satisfaction_id: The satisfaction_id of this SatisfactionDimensionSimpleInfoV2.
|
|
119
|
+
:type satisfaction_id: int
|
|
120
|
+
"""
|
|
121
|
+
self._satisfaction_id = satisfaction_id
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def satisfaction_name(self):
|
|
125
|
+
r"""Gets the satisfaction_name of this SatisfactionDimensionSimpleInfoV2.
|
|
126
|
+
|
|
127
|
+
满意度名称
|
|
128
|
+
|
|
129
|
+
:return: The satisfaction_name of this SatisfactionDimensionSimpleInfoV2.
|
|
130
|
+
:rtype: str
|
|
131
|
+
"""
|
|
132
|
+
return self._satisfaction_name
|
|
133
|
+
|
|
134
|
+
@satisfaction_name.setter
|
|
135
|
+
def satisfaction_name(self, satisfaction_name):
|
|
136
|
+
r"""Sets the satisfaction_name of this SatisfactionDimensionSimpleInfoV2.
|
|
137
|
+
|
|
138
|
+
满意度名称
|
|
139
|
+
|
|
140
|
+
:param satisfaction_name: The satisfaction_name of this SatisfactionDimensionSimpleInfoV2.
|
|
141
|
+
:type satisfaction_name: str
|
|
142
|
+
"""
|
|
143
|
+
self._satisfaction_name = satisfaction_name
|
|
144
|
+
|
|
145
|
+
@property
|
|
146
|
+
def satisfaction_desc(self):
|
|
147
|
+
r"""Gets the satisfaction_desc of this SatisfactionDimensionSimpleInfoV2.
|
|
148
|
+
|
|
149
|
+
满意度描述
|
|
150
|
+
|
|
151
|
+
:return: The satisfaction_desc of this SatisfactionDimensionSimpleInfoV2.
|
|
152
|
+
:rtype: str
|
|
153
|
+
"""
|
|
154
|
+
return self._satisfaction_desc
|
|
155
|
+
|
|
156
|
+
@satisfaction_desc.setter
|
|
157
|
+
def satisfaction_desc(self, satisfaction_desc):
|
|
158
|
+
r"""Sets the satisfaction_desc of this SatisfactionDimensionSimpleInfoV2.
|
|
159
|
+
|
|
160
|
+
满意度描述
|
|
161
|
+
|
|
162
|
+
:param satisfaction_desc: The satisfaction_desc of this SatisfactionDimensionSimpleInfoV2.
|
|
163
|
+
:type satisfaction_desc: str
|
|
164
|
+
"""
|
|
165
|
+
self._satisfaction_desc = satisfaction_desc
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
def per_value(self):
|
|
169
|
+
r"""Gets the per_value of this SatisfactionDimensionSimpleInfoV2.
|
|
170
|
+
|
|
171
|
+
每格的分数
|
|
172
|
+
|
|
173
|
+
:return: The per_value of this SatisfactionDimensionSimpleInfoV2.
|
|
174
|
+
:rtype: int
|
|
175
|
+
"""
|
|
176
|
+
return self._per_value
|
|
177
|
+
|
|
178
|
+
@per_value.setter
|
|
179
|
+
def per_value(self, per_value):
|
|
180
|
+
r"""Sets the per_value of this SatisfactionDimensionSimpleInfoV2.
|
|
181
|
+
|
|
182
|
+
每格的分数
|
|
183
|
+
|
|
184
|
+
:param per_value: The per_value of this SatisfactionDimensionSimpleInfoV2.
|
|
185
|
+
:type per_value: int
|
|
186
|
+
"""
|
|
187
|
+
self._per_value = per_value
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
def sat_category_id(self):
|
|
191
|
+
r"""Gets the sat_category_id of this SatisfactionDimensionSimpleInfoV2.
|
|
192
|
+
|
|
193
|
+
满意度分类id
|
|
194
|
+
|
|
195
|
+
:return: The sat_category_id of this SatisfactionDimensionSimpleInfoV2.
|
|
196
|
+
:rtype: str
|
|
197
|
+
"""
|
|
198
|
+
return self._sat_category_id
|
|
199
|
+
|
|
200
|
+
@sat_category_id.setter
|
|
201
|
+
def sat_category_id(self, sat_category_id):
|
|
202
|
+
r"""Sets the sat_category_id of this SatisfactionDimensionSimpleInfoV2.
|
|
203
|
+
|
|
204
|
+
满意度分类id
|
|
205
|
+
|
|
206
|
+
:param sat_category_id: The sat_category_id of this SatisfactionDimensionSimpleInfoV2.
|
|
207
|
+
:type sat_category_id: str
|
|
208
|
+
"""
|
|
209
|
+
self._sat_category_id = sat_category_id
|
|
210
|
+
|
|
211
|
+
def to_dict(self):
|
|
212
|
+
"""Returns the model properties as a dict"""
|
|
213
|
+
result = {}
|
|
214
|
+
|
|
215
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
216
|
+
value = getattr(self, attr)
|
|
217
|
+
if isinstance(value, list):
|
|
218
|
+
result[attr] = list(map(
|
|
219
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
220
|
+
value
|
|
221
|
+
))
|
|
222
|
+
elif hasattr(value, "to_dict"):
|
|
223
|
+
result[attr] = value.to_dict()
|
|
224
|
+
elif isinstance(value, dict):
|
|
225
|
+
result[attr] = dict(map(
|
|
226
|
+
lambda item: (item[0], item[1].to_dict())
|
|
227
|
+
if hasattr(item[1], "to_dict") else item,
|
|
228
|
+
value.items()
|
|
229
|
+
))
|
|
230
|
+
else:
|
|
231
|
+
if attr in self.sensitive_list:
|
|
232
|
+
result[attr] = "****"
|
|
233
|
+
else:
|
|
234
|
+
result[attr] = value
|
|
235
|
+
|
|
236
|
+
return result
|
|
237
|
+
|
|
238
|
+
def to_str(self):
|
|
239
|
+
"""Returns the string representation of the model"""
|
|
240
|
+
import simplejson as json
|
|
241
|
+
if six.PY2:
|
|
242
|
+
import sys
|
|
243
|
+
reload(sys)
|
|
244
|
+
sys.setdefaultencoding("utf-8")
|
|
245
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
246
|
+
|
|
247
|
+
def __repr__(self):
|
|
248
|
+
"""For `print`"""
|
|
249
|
+
return self.to_str()
|
|
250
|
+
|
|
251
|
+
def __eq__(self, other):
|
|
252
|
+
"""Returns true if both objects are equal"""
|
|
253
|
+
if not isinstance(other, SatisfactionDimensionSimpleInfoV2):
|
|
254
|
+
return False
|
|
255
|
+
|
|
256
|
+
return self.__dict__ == other.__dict__
|
|
257
|
+
|
|
258
|
+
def __ne__(self, other):
|
|
259
|
+
"""Returns true if both objects are not equal"""
|
|
260
|
+
return not self == other
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class SearchArticlesReq:
|
|
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
|
+
'top': 'int',
|
|
21
|
+
'product_type_id': 'str',
|
|
22
|
+
'business_type_id': 'str',
|
|
23
|
+
'problem_type_id': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'top': 'top',
|
|
28
|
+
'product_type_id': 'product_type_id',
|
|
29
|
+
'business_type_id': 'business_type_id',
|
|
30
|
+
'problem_type_id': 'problem_type_id'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, top=None, product_type_id=None, business_type_id=None, problem_type_id=None):
|
|
34
|
+
r"""SearchArticlesReq
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param top: 返回匹配度最高的数据条数
|
|
39
|
+
:type top: int
|
|
40
|
+
:param product_type_id: 产品类型Id
|
|
41
|
+
:type product_type_id: str
|
|
42
|
+
:param business_type_id: 业务类型Id
|
|
43
|
+
:type business_type_id: str
|
|
44
|
+
:param problem_type_id: 问题类型Id
|
|
45
|
+
:type problem_type_id: str
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
self._top = None
|
|
51
|
+
self._product_type_id = None
|
|
52
|
+
self._business_type_id = None
|
|
53
|
+
self._problem_type_id = None
|
|
54
|
+
self.discriminator = None
|
|
55
|
+
|
|
56
|
+
if top is not None:
|
|
57
|
+
self.top = top
|
|
58
|
+
self.product_type_id = product_type_id
|
|
59
|
+
if business_type_id is not None:
|
|
60
|
+
self.business_type_id = business_type_id
|
|
61
|
+
if problem_type_id is not None:
|
|
62
|
+
self.problem_type_id = problem_type_id
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
def top(self):
|
|
66
|
+
r"""Gets the top of this SearchArticlesReq.
|
|
67
|
+
|
|
68
|
+
返回匹配度最高的数据条数
|
|
69
|
+
|
|
70
|
+
:return: The top of this SearchArticlesReq.
|
|
71
|
+
:rtype: int
|
|
72
|
+
"""
|
|
73
|
+
return self._top
|
|
74
|
+
|
|
75
|
+
@top.setter
|
|
76
|
+
def top(self, top):
|
|
77
|
+
r"""Sets the top of this SearchArticlesReq.
|
|
78
|
+
|
|
79
|
+
返回匹配度最高的数据条数
|
|
80
|
+
|
|
81
|
+
:param top: The top of this SearchArticlesReq.
|
|
82
|
+
:type top: int
|
|
83
|
+
"""
|
|
84
|
+
self._top = top
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def product_type_id(self):
|
|
88
|
+
r"""Gets the product_type_id of this SearchArticlesReq.
|
|
89
|
+
|
|
90
|
+
产品类型Id
|
|
91
|
+
|
|
92
|
+
:return: The product_type_id of this SearchArticlesReq.
|
|
93
|
+
:rtype: str
|
|
94
|
+
"""
|
|
95
|
+
return self._product_type_id
|
|
96
|
+
|
|
97
|
+
@product_type_id.setter
|
|
98
|
+
def product_type_id(self, product_type_id):
|
|
99
|
+
r"""Sets the product_type_id of this SearchArticlesReq.
|
|
100
|
+
|
|
101
|
+
产品类型Id
|
|
102
|
+
|
|
103
|
+
:param product_type_id: The product_type_id of this SearchArticlesReq.
|
|
104
|
+
:type product_type_id: str
|
|
105
|
+
"""
|
|
106
|
+
self._product_type_id = product_type_id
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def business_type_id(self):
|
|
110
|
+
r"""Gets the business_type_id of this SearchArticlesReq.
|
|
111
|
+
|
|
112
|
+
业务类型Id
|
|
113
|
+
|
|
114
|
+
:return: The business_type_id of this SearchArticlesReq.
|
|
115
|
+
:rtype: str
|
|
116
|
+
"""
|
|
117
|
+
return self._business_type_id
|
|
118
|
+
|
|
119
|
+
@business_type_id.setter
|
|
120
|
+
def business_type_id(self, business_type_id):
|
|
121
|
+
r"""Sets the business_type_id of this SearchArticlesReq.
|
|
122
|
+
|
|
123
|
+
业务类型Id
|
|
124
|
+
|
|
125
|
+
:param business_type_id: The business_type_id of this SearchArticlesReq.
|
|
126
|
+
:type business_type_id: str
|
|
127
|
+
"""
|
|
128
|
+
self._business_type_id = business_type_id
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def problem_type_id(self):
|
|
132
|
+
r"""Gets the problem_type_id of this SearchArticlesReq.
|
|
133
|
+
|
|
134
|
+
问题类型Id
|
|
135
|
+
|
|
136
|
+
:return: The problem_type_id of this SearchArticlesReq.
|
|
137
|
+
:rtype: str
|
|
138
|
+
"""
|
|
139
|
+
return self._problem_type_id
|
|
140
|
+
|
|
141
|
+
@problem_type_id.setter
|
|
142
|
+
def problem_type_id(self, problem_type_id):
|
|
143
|
+
r"""Sets the problem_type_id of this SearchArticlesReq.
|
|
144
|
+
|
|
145
|
+
问题类型Id
|
|
146
|
+
|
|
147
|
+
:param problem_type_id: The problem_type_id of this SearchArticlesReq.
|
|
148
|
+
:type problem_type_id: str
|
|
149
|
+
"""
|
|
150
|
+
self._problem_type_id = problem_type_id
|
|
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, SearchArticlesReq):
|
|
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,143 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class SearchNoticesReq:
|
|
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
|
+
'top': 'int',
|
|
21
|
+
'product_type_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'top': 'top',
|
|
26
|
+
'product_type_id': 'product_type_id'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, top=None, product_type_id=None):
|
|
30
|
+
r"""SearchNoticesReq
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param top: 返回匹配度最高的数据条数
|
|
35
|
+
:type top: int
|
|
36
|
+
:param product_type_id: 产品类型Id
|
|
37
|
+
:type product_type_id: str
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._top = None
|
|
43
|
+
self._product_type_id = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
if top is not None:
|
|
47
|
+
self.top = top
|
|
48
|
+
self.product_type_id = product_type_id
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def top(self):
|
|
52
|
+
r"""Gets the top of this SearchNoticesReq.
|
|
53
|
+
|
|
54
|
+
返回匹配度最高的数据条数
|
|
55
|
+
|
|
56
|
+
:return: The top of this SearchNoticesReq.
|
|
57
|
+
:rtype: int
|
|
58
|
+
"""
|
|
59
|
+
return self._top
|
|
60
|
+
|
|
61
|
+
@top.setter
|
|
62
|
+
def top(self, top):
|
|
63
|
+
r"""Sets the top of this SearchNoticesReq.
|
|
64
|
+
|
|
65
|
+
返回匹配度最高的数据条数
|
|
66
|
+
|
|
67
|
+
:param top: The top of this SearchNoticesReq.
|
|
68
|
+
:type top: int
|
|
69
|
+
"""
|
|
70
|
+
self._top = top
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def product_type_id(self):
|
|
74
|
+
r"""Gets the product_type_id of this SearchNoticesReq.
|
|
75
|
+
|
|
76
|
+
产品类型Id
|
|
77
|
+
|
|
78
|
+
:return: The product_type_id of this SearchNoticesReq.
|
|
79
|
+
:rtype: str
|
|
80
|
+
"""
|
|
81
|
+
return self._product_type_id
|
|
82
|
+
|
|
83
|
+
@product_type_id.setter
|
|
84
|
+
def product_type_id(self, product_type_id):
|
|
85
|
+
r"""Sets the product_type_id of this SearchNoticesReq.
|
|
86
|
+
|
|
87
|
+
产品类型Id
|
|
88
|
+
|
|
89
|
+
:param product_type_id: The product_type_id of this SearchNoticesReq.
|
|
90
|
+
:type product_type_id: str
|
|
91
|
+
"""
|
|
92
|
+
self._product_type_id = product_type_id
|
|
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, SearchNoticesReq):
|
|
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
|