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 TenantAgreeAuthDetailV2:
|
|
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
|
+
'port': 'int',
|
|
21
|
+
'account': 'str',
|
|
22
|
+
'password': 'str',
|
|
23
|
+
'auth_detail_id': 'int'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'port': 'port',
|
|
28
|
+
'account': 'account',
|
|
29
|
+
'password': 'password',
|
|
30
|
+
'auth_detail_id': 'auth_detail_id'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, port=None, account=None, password=None, auth_detail_id=None):
|
|
34
|
+
r"""TenantAgreeAuthDetailV2
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param port: 端口
|
|
39
|
+
:type port: int
|
|
40
|
+
:param account: 账号
|
|
41
|
+
:type account: str
|
|
42
|
+
:param password: 密码
|
|
43
|
+
:type password: str
|
|
44
|
+
:param auth_detail_id: 授权详情id
|
|
45
|
+
:type auth_detail_id: int
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
self._port = None
|
|
51
|
+
self._account = None
|
|
52
|
+
self._password = None
|
|
53
|
+
self._auth_detail_id = None
|
|
54
|
+
self.discriminator = None
|
|
55
|
+
|
|
56
|
+
if port is not None:
|
|
57
|
+
self.port = port
|
|
58
|
+
if account is not None:
|
|
59
|
+
self.account = account
|
|
60
|
+
if password is not None:
|
|
61
|
+
self.password = password
|
|
62
|
+
self.auth_detail_id = auth_detail_id
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
def port(self):
|
|
66
|
+
r"""Gets the port of this TenantAgreeAuthDetailV2.
|
|
67
|
+
|
|
68
|
+
端口
|
|
69
|
+
|
|
70
|
+
:return: The port of this TenantAgreeAuthDetailV2.
|
|
71
|
+
:rtype: int
|
|
72
|
+
"""
|
|
73
|
+
return self._port
|
|
74
|
+
|
|
75
|
+
@port.setter
|
|
76
|
+
def port(self, port):
|
|
77
|
+
r"""Sets the port of this TenantAgreeAuthDetailV2.
|
|
78
|
+
|
|
79
|
+
端口
|
|
80
|
+
|
|
81
|
+
:param port: The port of this TenantAgreeAuthDetailV2.
|
|
82
|
+
:type port: int
|
|
83
|
+
"""
|
|
84
|
+
self._port = port
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def account(self):
|
|
88
|
+
r"""Gets the account of this TenantAgreeAuthDetailV2.
|
|
89
|
+
|
|
90
|
+
账号
|
|
91
|
+
|
|
92
|
+
:return: The account of this TenantAgreeAuthDetailV2.
|
|
93
|
+
:rtype: str
|
|
94
|
+
"""
|
|
95
|
+
return self._account
|
|
96
|
+
|
|
97
|
+
@account.setter
|
|
98
|
+
def account(self, account):
|
|
99
|
+
r"""Sets the account of this TenantAgreeAuthDetailV2.
|
|
100
|
+
|
|
101
|
+
账号
|
|
102
|
+
|
|
103
|
+
:param account: The account of this TenantAgreeAuthDetailV2.
|
|
104
|
+
:type account: str
|
|
105
|
+
"""
|
|
106
|
+
self._account = account
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def password(self):
|
|
110
|
+
r"""Gets the password of this TenantAgreeAuthDetailV2.
|
|
111
|
+
|
|
112
|
+
密码
|
|
113
|
+
|
|
114
|
+
:return: The password of this TenantAgreeAuthDetailV2.
|
|
115
|
+
:rtype: str
|
|
116
|
+
"""
|
|
117
|
+
return self._password
|
|
118
|
+
|
|
119
|
+
@password.setter
|
|
120
|
+
def password(self, password):
|
|
121
|
+
r"""Sets the password of this TenantAgreeAuthDetailV2.
|
|
122
|
+
|
|
123
|
+
密码
|
|
124
|
+
|
|
125
|
+
:param password: The password of this TenantAgreeAuthDetailV2.
|
|
126
|
+
:type password: str
|
|
127
|
+
"""
|
|
128
|
+
self._password = password
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def auth_detail_id(self):
|
|
132
|
+
r"""Gets the auth_detail_id of this TenantAgreeAuthDetailV2.
|
|
133
|
+
|
|
134
|
+
授权详情id
|
|
135
|
+
|
|
136
|
+
:return: The auth_detail_id of this TenantAgreeAuthDetailV2.
|
|
137
|
+
:rtype: int
|
|
138
|
+
"""
|
|
139
|
+
return self._auth_detail_id
|
|
140
|
+
|
|
141
|
+
@auth_detail_id.setter
|
|
142
|
+
def auth_detail_id(self, auth_detail_id):
|
|
143
|
+
r"""Sets the auth_detail_id of this TenantAgreeAuthDetailV2.
|
|
144
|
+
|
|
145
|
+
授权详情id
|
|
146
|
+
|
|
147
|
+
:param auth_detail_id: The auth_detail_id of this TenantAgreeAuthDetailV2.
|
|
148
|
+
:type auth_detail_id: int
|
|
149
|
+
"""
|
|
150
|
+
self._auth_detail_id = auth_detail_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, TenantAgreeAuthDetailV2):
|
|
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,115 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class TenantConfigV2:
|
|
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
|
+
'create_case_ccemail_max_count': 'int'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'create_case_ccemail_max_count': 'create_case_ccemail_max_count'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, create_case_ccemail_max_count=None):
|
|
28
|
+
r"""TenantConfigV2
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param create_case_ccemail_max_count: 抄送邮箱最大个数
|
|
33
|
+
:type create_case_ccemail_max_count: int
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
self._create_case_ccemail_max_count = None
|
|
39
|
+
self.discriminator = None
|
|
40
|
+
|
|
41
|
+
if create_case_ccemail_max_count is not None:
|
|
42
|
+
self.create_case_ccemail_max_count = create_case_ccemail_max_count
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def create_case_ccemail_max_count(self):
|
|
46
|
+
r"""Gets the create_case_ccemail_max_count of this TenantConfigV2.
|
|
47
|
+
|
|
48
|
+
抄送邮箱最大个数
|
|
49
|
+
|
|
50
|
+
:return: The create_case_ccemail_max_count of this TenantConfigV2.
|
|
51
|
+
:rtype: int
|
|
52
|
+
"""
|
|
53
|
+
return self._create_case_ccemail_max_count
|
|
54
|
+
|
|
55
|
+
@create_case_ccemail_max_count.setter
|
|
56
|
+
def create_case_ccemail_max_count(self, create_case_ccemail_max_count):
|
|
57
|
+
r"""Sets the create_case_ccemail_max_count of this TenantConfigV2.
|
|
58
|
+
|
|
59
|
+
抄送邮箱最大个数
|
|
60
|
+
|
|
61
|
+
:param create_case_ccemail_max_count: The create_case_ccemail_max_count of this TenantConfigV2.
|
|
62
|
+
:type create_case_ccemail_max_count: int
|
|
63
|
+
"""
|
|
64
|
+
self._create_case_ccemail_max_count = create_case_ccemail_max_count
|
|
65
|
+
|
|
66
|
+
def to_dict(self):
|
|
67
|
+
"""Returns the model properties as a dict"""
|
|
68
|
+
result = {}
|
|
69
|
+
|
|
70
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
71
|
+
value = getattr(self, attr)
|
|
72
|
+
if isinstance(value, list):
|
|
73
|
+
result[attr] = list(map(
|
|
74
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
75
|
+
value
|
|
76
|
+
))
|
|
77
|
+
elif hasattr(value, "to_dict"):
|
|
78
|
+
result[attr] = value.to_dict()
|
|
79
|
+
elif isinstance(value, dict):
|
|
80
|
+
result[attr] = dict(map(
|
|
81
|
+
lambda item: (item[0], item[1].to_dict())
|
|
82
|
+
if hasattr(item[1], "to_dict") else item,
|
|
83
|
+
value.items()
|
|
84
|
+
))
|
|
85
|
+
else:
|
|
86
|
+
if attr in self.sensitive_list:
|
|
87
|
+
result[attr] = "****"
|
|
88
|
+
else:
|
|
89
|
+
result[attr] = value
|
|
90
|
+
|
|
91
|
+
return result
|
|
92
|
+
|
|
93
|
+
def to_str(self):
|
|
94
|
+
"""Returns the string representation of the model"""
|
|
95
|
+
import simplejson as json
|
|
96
|
+
if six.PY2:
|
|
97
|
+
import sys
|
|
98
|
+
reload(sys)
|
|
99
|
+
sys.setdefaultencoding("utf-8")
|
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
101
|
+
|
|
102
|
+
def __repr__(self):
|
|
103
|
+
"""For `print`"""
|
|
104
|
+
return self.to_str()
|
|
105
|
+
|
|
106
|
+
def __eq__(self, other):
|
|
107
|
+
"""Returns true if both objects are equal"""
|
|
108
|
+
if not isinstance(other, TenantConfigV2):
|
|
109
|
+
return False
|
|
110
|
+
|
|
111
|
+
return self.__dict__ == other.__dict__
|
|
112
|
+
|
|
113
|
+
def __ne__(self, other):
|
|
114
|
+
"""Returns true if both objects are not equal"""
|
|
115
|
+
return not self == other
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class Tool:
|
|
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
|
+
'id': 'str',
|
|
21
|
+
'name': 'str',
|
|
22
|
+
'url': 'str',
|
|
23
|
+
'icon': 'str',
|
|
24
|
+
'problem_type_id': 'str',
|
|
25
|
+
'business_type_id': 'str',
|
|
26
|
+
'product_type_id': 'str'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
attribute_map = {
|
|
30
|
+
'id': 'id',
|
|
31
|
+
'name': 'name',
|
|
32
|
+
'url': 'url',
|
|
33
|
+
'icon': 'icon',
|
|
34
|
+
'problem_type_id': 'problem_type_id',
|
|
35
|
+
'business_type_id': 'business_type_id',
|
|
36
|
+
'product_type_id': 'product_type_id'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
def __init__(self, id=None, name=None, url=None, icon=None, problem_type_id=None, business_type_id=None, product_type_id=None):
|
|
40
|
+
r"""Tool
|
|
41
|
+
|
|
42
|
+
The model defined in huaweicloud sdk
|
|
43
|
+
|
|
44
|
+
:param id: 工具Id
|
|
45
|
+
:type id: str
|
|
46
|
+
:param name: 工具名称
|
|
47
|
+
:type name: str
|
|
48
|
+
:param url: 工具链接
|
|
49
|
+
:type url: str
|
|
50
|
+
:param icon: 图标内容,Base64格式
|
|
51
|
+
:type icon: str
|
|
52
|
+
:param problem_type_id: 问题分类Id
|
|
53
|
+
:type problem_type_id: str
|
|
54
|
+
:param business_type_id: 业务类型Id
|
|
55
|
+
:type business_type_id: str
|
|
56
|
+
:param product_type_id: 产品类型Id
|
|
57
|
+
:type product_type_id: str
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
self._id = None
|
|
63
|
+
self._name = None
|
|
64
|
+
self._url = None
|
|
65
|
+
self._icon = None
|
|
66
|
+
self._problem_type_id = None
|
|
67
|
+
self._business_type_id = None
|
|
68
|
+
self._product_type_id = None
|
|
69
|
+
self.discriminator = None
|
|
70
|
+
|
|
71
|
+
self.id = id
|
|
72
|
+
self.name = name
|
|
73
|
+
if url is not None:
|
|
74
|
+
self.url = url
|
|
75
|
+
if icon is not None:
|
|
76
|
+
self.icon = icon
|
|
77
|
+
if problem_type_id is not None:
|
|
78
|
+
self.problem_type_id = problem_type_id
|
|
79
|
+
if business_type_id is not None:
|
|
80
|
+
self.business_type_id = business_type_id
|
|
81
|
+
if product_type_id is not None:
|
|
82
|
+
self.product_type_id = product_type_id
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def id(self):
|
|
86
|
+
r"""Gets the id of this Tool.
|
|
87
|
+
|
|
88
|
+
工具Id
|
|
89
|
+
|
|
90
|
+
:return: The id of this Tool.
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._id
|
|
94
|
+
|
|
95
|
+
@id.setter
|
|
96
|
+
def id(self, id):
|
|
97
|
+
r"""Sets the id of this Tool.
|
|
98
|
+
|
|
99
|
+
工具Id
|
|
100
|
+
|
|
101
|
+
:param id: The id of this Tool.
|
|
102
|
+
:type id: str
|
|
103
|
+
"""
|
|
104
|
+
self._id = id
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def name(self):
|
|
108
|
+
r"""Gets the name of this Tool.
|
|
109
|
+
|
|
110
|
+
工具名称
|
|
111
|
+
|
|
112
|
+
:return: The name of this Tool.
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._name
|
|
116
|
+
|
|
117
|
+
@name.setter
|
|
118
|
+
def name(self, name):
|
|
119
|
+
r"""Sets the name of this Tool.
|
|
120
|
+
|
|
121
|
+
工具名称
|
|
122
|
+
|
|
123
|
+
:param name: The name of this Tool.
|
|
124
|
+
:type name: str
|
|
125
|
+
"""
|
|
126
|
+
self._name = name
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def url(self):
|
|
130
|
+
r"""Gets the url of this Tool.
|
|
131
|
+
|
|
132
|
+
工具链接
|
|
133
|
+
|
|
134
|
+
:return: The url of this Tool.
|
|
135
|
+
:rtype: str
|
|
136
|
+
"""
|
|
137
|
+
return self._url
|
|
138
|
+
|
|
139
|
+
@url.setter
|
|
140
|
+
def url(self, url):
|
|
141
|
+
r"""Sets the url of this Tool.
|
|
142
|
+
|
|
143
|
+
工具链接
|
|
144
|
+
|
|
145
|
+
:param url: The url of this Tool.
|
|
146
|
+
:type url: str
|
|
147
|
+
"""
|
|
148
|
+
self._url = url
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def icon(self):
|
|
152
|
+
r"""Gets the icon of this Tool.
|
|
153
|
+
|
|
154
|
+
图标内容,Base64格式
|
|
155
|
+
|
|
156
|
+
:return: The icon of this Tool.
|
|
157
|
+
:rtype: str
|
|
158
|
+
"""
|
|
159
|
+
return self._icon
|
|
160
|
+
|
|
161
|
+
@icon.setter
|
|
162
|
+
def icon(self, icon):
|
|
163
|
+
r"""Sets the icon of this Tool.
|
|
164
|
+
|
|
165
|
+
图标内容,Base64格式
|
|
166
|
+
|
|
167
|
+
:param icon: The icon of this Tool.
|
|
168
|
+
:type icon: str
|
|
169
|
+
"""
|
|
170
|
+
self._icon = icon
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def problem_type_id(self):
|
|
174
|
+
r"""Gets the problem_type_id of this Tool.
|
|
175
|
+
|
|
176
|
+
问题分类Id
|
|
177
|
+
|
|
178
|
+
:return: The problem_type_id of this Tool.
|
|
179
|
+
:rtype: str
|
|
180
|
+
"""
|
|
181
|
+
return self._problem_type_id
|
|
182
|
+
|
|
183
|
+
@problem_type_id.setter
|
|
184
|
+
def problem_type_id(self, problem_type_id):
|
|
185
|
+
r"""Sets the problem_type_id of this Tool.
|
|
186
|
+
|
|
187
|
+
问题分类Id
|
|
188
|
+
|
|
189
|
+
:param problem_type_id: The problem_type_id of this Tool.
|
|
190
|
+
:type problem_type_id: str
|
|
191
|
+
"""
|
|
192
|
+
self._problem_type_id = problem_type_id
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
def business_type_id(self):
|
|
196
|
+
r"""Gets the business_type_id of this Tool.
|
|
197
|
+
|
|
198
|
+
业务类型Id
|
|
199
|
+
|
|
200
|
+
:return: The business_type_id of this Tool.
|
|
201
|
+
:rtype: str
|
|
202
|
+
"""
|
|
203
|
+
return self._business_type_id
|
|
204
|
+
|
|
205
|
+
@business_type_id.setter
|
|
206
|
+
def business_type_id(self, business_type_id):
|
|
207
|
+
r"""Sets the business_type_id of this Tool.
|
|
208
|
+
|
|
209
|
+
业务类型Id
|
|
210
|
+
|
|
211
|
+
:param business_type_id: The business_type_id of this Tool.
|
|
212
|
+
:type business_type_id: str
|
|
213
|
+
"""
|
|
214
|
+
self._business_type_id = business_type_id
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def product_type_id(self):
|
|
218
|
+
r"""Gets the product_type_id of this Tool.
|
|
219
|
+
|
|
220
|
+
产品类型Id
|
|
221
|
+
|
|
222
|
+
:return: The product_type_id of this Tool.
|
|
223
|
+
:rtype: str
|
|
224
|
+
"""
|
|
225
|
+
return self._product_type_id
|
|
226
|
+
|
|
227
|
+
@product_type_id.setter
|
|
228
|
+
def product_type_id(self, product_type_id):
|
|
229
|
+
r"""Sets the product_type_id of this Tool.
|
|
230
|
+
|
|
231
|
+
产品类型Id
|
|
232
|
+
|
|
233
|
+
:param product_type_id: The product_type_id of this Tool.
|
|
234
|
+
:type product_type_id: str
|
|
235
|
+
"""
|
|
236
|
+
self._product_type_id = product_type_id
|
|
237
|
+
|
|
238
|
+
def to_dict(self):
|
|
239
|
+
"""Returns the model properties as a dict"""
|
|
240
|
+
result = {}
|
|
241
|
+
|
|
242
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
243
|
+
value = getattr(self, attr)
|
|
244
|
+
if isinstance(value, list):
|
|
245
|
+
result[attr] = list(map(
|
|
246
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
247
|
+
value
|
|
248
|
+
))
|
|
249
|
+
elif hasattr(value, "to_dict"):
|
|
250
|
+
result[attr] = value.to_dict()
|
|
251
|
+
elif isinstance(value, dict):
|
|
252
|
+
result[attr] = dict(map(
|
|
253
|
+
lambda item: (item[0], item[1].to_dict())
|
|
254
|
+
if hasattr(item[1], "to_dict") else item,
|
|
255
|
+
value.items()
|
|
256
|
+
))
|
|
257
|
+
else:
|
|
258
|
+
if attr in self.sensitive_list:
|
|
259
|
+
result[attr] = "****"
|
|
260
|
+
else:
|
|
261
|
+
result[attr] = value
|
|
262
|
+
|
|
263
|
+
return result
|
|
264
|
+
|
|
265
|
+
def to_str(self):
|
|
266
|
+
"""Returns the string representation of the model"""
|
|
267
|
+
import simplejson as json
|
|
268
|
+
if six.PY2:
|
|
269
|
+
import sys
|
|
270
|
+
reload(sys)
|
|
271
|
+
sys.setdefaultencoding("utf-8")
|
|
272
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
273
|
+
|
|
274
|
+
def __repr__(self):
|
|
275
|
+
"""For `print`"""
|
|
276
|
+
return self.to_str()
|
|
277
|
+
|
|
278
|
+
def __eq__(self, other):
|
|
279
|
+
"""Returns true if both objects are equal"""
|
|
280
|
+
if not isinstance(other, Tool):
|
|
281
|
+
return False
|
|
282
|
+
|
|
283
|
+
return self.__dict__ == other.__dict__
|
|
284
|
+
|
|
285
|
+
def __ne__(self, other):
|
|
286
|
+
"""Returns true if both objects are not equal"""
|
|
287
|
+
return not self == other
|