huaweicloudsdkosm 3.1.174__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.
- huaweicloudsdkosm/__init__.py +0 -0
- huaweicloudsdkosm/v2/__init__.py +247 -0
- huaweicloudsdkosm/v2/model/__init__.py +244 -0
- huaweicloudsdkosm/v2/model/accessory_json_format_req.py +192 -0
- huaweicloudsdkosm/v2/model/accessory_limit_vo.py +166 -0
- huaweicloudsdkosm/v2/model/accessory_url.py +166 -0
- huaweicloudsdkosm/v2/model/agency_v2.py +282 -0
- huaweicloudsdkosm/v2/model/agree_tenant_authorization_v2_req.py +224 -0
- huaweicloudsdkosm/v2/model/agreement_vo.py +253 -0
- huaweicloudsdkosm/v2/model/area_code_simple_info_v2.py +166 -0
- huaweicloudsdkosm/v2/model/case_label_info.py +166 -0
- huaweicloudsdkosm/v2/model/case_query_label.py +166 -0
- huaweicloudsdkosm/v2/model/case_realtion_info.py +166 -0
- huaweicloudsdkosm/v2/model/check_hosts_request.py +219 -0
- huaweicloudsdkosm/v2/model/check_hosts_response.py +141 -0
- huaweicloudsdkosm/v2/model/check_need_verify_request.py +251 -0
- huaweicloudsdkosm/v2/model/check_need_verify_response.py +141 -0
- huaweicloudsdkosm/v2/model/check_verify_codes_request.py +191 -0
- huaweicloudsdkosm/v2/model/check_verify_codes_response.py +141 -0
- huaweicloudsdkosm/v2/model/common_param_v2.py +195 -0
- huaweicloudsdkosm/v2/model/confirm_authorizations_request.py +219 -0
- huaweicloudsdkosm/v2/model/confirm_authorizations_response.py +141 -0
- huaweicloudsdkosm/v2/model/contact_v2.py +195 -0
- huaweicloudsdkosm/v2/model/contact_way_info_v2.py +336 -0
- huaweicloudsdkosm/v2/model/create_and_delete_privilege_req.py +136 -0
- huaweicloudsdkosm/v2/model/create_case_extends_param_request.py +219 -0
- huaweicloudsdkosm/v2/model/create_case_extends_param_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_case_labels_request.py +222 -0
- huaweicloudsdkosm/v2/model/create_case_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_cases_request.py +249 -0
- huaweicloudsdkosm/v2/model/create_cases_response.py +112 -0
- huaweicloudsdkosm/v2/model/create_diagnose_feedback_request.py +104 -0
- huaweicloudsdkosm/v2/model/create_diagnose_feedback_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_diagnose_job_request.py +104 -0
- huaweicloudsdkosm/v2/model/create_diagnose_job_response.py +170 -0
- huaweicloudsdkosm/v2/model/create_feedback_req.py +164 -0
- huaweicloudsdkosm/v2/model/create_feedback_request.py +104 -0
- huaweicloudsdkosm/v2/model/create_feedback_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_feedback_v2_req.py +240 -0
- huaweicloudsdkosm/v2/model/create_labels_req.py +135 -0
- huaweicloudsdkosm/v2/model/create_labels_request.py +191 -0
- huaweicloudsdkosm/v2/model/create_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_message_do_v2.py +136 -0
- huaweicloudsdkosm/v2/model/create_message_v2_req.py +132 -0
- huaweicloudsdkosm/v2/model/create_messages_request.py +219 -0
- huaweicloudsdkosm/v2/model/create_messages_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_order_incident_v2_req.py +540 -0
- huaweicloudsdkosm/v2/model/create_privileges_request.py +191 -0
- huaweicloudsdkosm/v2/model/create_privileges_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_relations_req.py +136 -0
- huaweicloudsdkosm/v2/model/create_relations_request.py +219 -0
- huaweicloudsdkosm/v2/model/create_relations_response.py +141 -0
- huaweicloudsdkosm/v2/model/create_score_v2_req.py +164 -0
- huaweicloudsdkosm/v2/model/create_scores_request.py +219 -0
- huaweicloudsdkosm/v2/model/create_scores_response.py +141 -0
- huaweicloudsdkosm/v2/model/data_center_v2_do.py +195 -0
- huaweicloudsdkosm/v2/model/delete_accessories_request.py +194 -0
- huaweicloudsdkosm/v2/model/delete_accessories_response.py +141 -0
- huaweicloudsdkosm/v2/model/delete_case_labels_request.py +222 -0
- huaweicloudsdkosm/v2/model/delete_case_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/delete_labels_request.py +194 -0
- huaweicloudsdkosm/v2/model/delete_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/delete_relation_request.py +219 -0
- huaweicloudsdkosm/v2/model/delete_relation_response.py +141 -0
- huaweicloudsdkosm/v2/model/delete_relations_req.py +136 -0
- huaweicloudsdkosm/v2/model/diagnose_record_vo.py +340 -0
- huaweicloudsdkosm/v2/model/diagnose_resource_vo.py +398 -0
- huaweicloudsdkosm/v2/model/download_accessories_request.py +223 -0
- huaweicloudsdkosm/v2/model/download_accessories_response.py +81 -0
- huaweicloudsdkosm/v2/model/download_cases_request.py +541 -0
- huaweicloudsdkosm/v2/model/download_cases_response.py +81 -0
- huaweicloudsdkosm/v2/model/download_images_request.py +223 -0
- huaweicloudsdkosm/v2/model/download_images_response.py +81 -0
- huaweicloudsdkosm/v2/model/extends_param_v2.py +485 -0
- huaweicloudsdkosm/v2/model/file_operate_log.py +311 -0
- huaweicloudsdkosm/v2/model/im_status_v2.py +137 -0
- huaweicloudsdkosm/v2/model/im_unread_v2.py +166 -0
- huaweicloudsdkosm/v2/model/incident_detail_ext_info_v2.py +282 -0
- huaweicloudsdkosm/v2/model/incident_detail_info_v2.py +586 -0
- huaweicloudsdkosm/v2/model/incident_info.py +456 -0
- huaweicloudsdkosm/v2/model/incident_info_v2.py +535 -0
- huaweicloudsdkosm/v2/model/incident_message_v2.py +311 -0
- huaweicloudsdkosm/v2/model/incident_operate_log_v2.py +340 -0
- huaweicloudsdkosm/v2/model/incident_order_auth_detail_info_v2.py +282 -0
- huaweicloudsdkosm/v2/model/incident_order_auth_v2.py +572 -0
- huaweicloudsdkosm/v2/model/incident_order_cc_email_info_v2.py +166 -0
- huaweicloudsdkosm/v2/model/incident_product_category_v2.py +224 -0
- huaweicloudsdkosm/v2/model/incident_satisfaction_v2_do.py +280 -0
- huaweicloudsdkosm/v2/model/incident_status_count.py +137 -0
- huaweicloudsdkosm/v2/model/incident_sub_type_v2_do.py +166 -0
- huaweicloudsdkosm/v2/model/incident_temp_v2.py +166 -0
- huaweicloudsdkosm/v2/model/intellectual_property_v2.py +195 -0
- huaweicloudsdkosm/v2/model/item_result_detail_vo.py +311 -0
- huaweicloudsdkosm/v2/model/item_result_vo.py +282 -0
- huaweicloudsdkosm/v2/model/label_info.py +166 -0
- huaweicloudsdkosm/v2/model/list_accessory_access_urls_request.py +223 -0
- huaweicloudsdkosm/v2/model/list_accessory_access_urls_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_agencies_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_agencies_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_area_codes_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_area_codes_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_authorizations_request.py +369 -0
- huaweicloudsdkosm/v2/model/list_authorizations_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_case_categories_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_case_categories_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_case_cc_emails_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_case_cc_emails_response.py +137 -0
- huaweicloudsdkosm/v2/model/list_case_counts_request.py +195 -0
- huaweicloudsdkosm/v2/model/list_case_counts_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_case_labels_request.py +194 -0
- huaweicloudsdkosm/v2/model/list_case_labels_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_case_limits_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_case_limits_response.py +108 -0
- huaweicloudsdkosm/v2/model/list_case_operate_logs_request.py +281 -0
- huaweicloudsdkosm/v2/model/list_case_operate_logs_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_case_quotas_request.py +223 -0
- huaweicloudsdkosm/v2/model/list_case_quotas_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_case_templates_request.py +194 -0
- huaweicloudsdkosm/v2/model/list_case_templates_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_cases_request.py +543 -0
- huaweicloudsdkosm/v2/model/list_cases_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_customers_regions_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_customers_regions_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_diagnose_items_request.py +104 -0
- huaweicloudsdkosm/v2/model/list_diagnose_items_response.py +170 -0
- huaweicloudsdkosm/v2/model/list_diagnose_job_request.py +108 -0
- huaweicloudsdkosm/v2/model/list_diagnose_job_response.py +286 -0
- huaweicloudsdkosm/v2/model/list_diagnose_records_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_diagnose_records_response.py +199 -0
- huaweicloudsdkosm/v2/model/list_diagnose_resources_request.py +104 -0
- huaweicloudsdkosm/v2/model/list_diagnose_resources_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_extends_params_request.py +252 -0
- huaweicloudsdkosm/v2/model/list_extends_params_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_has_verified_contacts_request.py +427 -0
- huaweicloudsdkosm/v2/model/list_has_verified_contacts_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_history_operate_logs_request.py +366 -0
- huaweicloudsdkosm/v2/model/list_history_operate_logs_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_history_sessions_request.py +309 -0
- huaweicloudsdkosm/v2/model/list_history_sessions_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_labels_request.py +282 -0
- huaweicloudsdkosm/v2/model/list_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_messages_request.py +281 -0
- huaweicloudsdkosm/v2/model/list_messages_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_more_instant_messages_request.py +307 -0
- huaweicloudsdkosm/v2/model/list_more_instant_messages_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_new_instant_messages_request.py +252 -0
- huaweicloudsdkosm/v2/model/list_new_instant_messages_response.py +170 -0
- huaweicloudsdkosm/v2/model/list_order_incident_request.py +543 -0
- huaweicloudsdkosm/v2/model/list_order_incident_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_privileges_request.py +194 -0
- huaweicloudsdkosm/v2/model/list_privileges_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_problem_types_request.py +195 -0
- huaweicloudsdkosm/v2/model/list_problem_types_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_product_categories_request.py +195 -0
- huaweicloudsdkosm/v2/model/list_product_categories_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_regions_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_regions_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_relation_request.py +194 -0
- huaweicloudsdkosm/v2/model/list_relation_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_request.py +166 -0
- huaweicloudsdkosm/v2/model/list_satisfaction_dimensions_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_severities_request.py +222 -0
- huaweicloudsdkosm/v2/model/list_severities_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_sub_customers_request.py +224 -0
- huaweicloudsdkosm/v2/model/list_sub_customers_response.py +112 -0
- huaweicloudsdkosm/v2/model/list_transport_histories_request.py +366 -0
- huaweicloudsdkosm/v2/model/list_transport_histories_response.py +141 -0
- huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_request.py +223 -0
- huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_response.py +112 -0
- huaweicloudsdkosm/v2/model/operate_authorization_v2_req.py +137 -0
- huaweicloudsdkosm/v2/model/operate_history_session.py +195 -0
- huaweicloudsdkosm/v2/model/operate_log.py +137 -0
- huaweicloudsdkosm/v2/model/partners_service_info.py +224 -0
- huaweicloudsdkosm/v2/model/put_case_ext_param_req.py +166 -0
- huaweicloudsdkosm/v2/model/query_diagnose_items_req.py +137 -0
- huaweicloudsdkosm/v2/model/query_message_info_v2.py +340 -0
- huaweicloudsdkosm/v2/model/query_tsc_diagnose_resources_req.py +137 -0
- huaweicloudsdkosm/v2/model/region.py +137 -0
- huaweicloudsdkosm/v2/model/revoke_message_request.py +222 -0
- huaweicloudsdkosm/v2/model/revoke_message_response.py +141 -0
- huaweicloudsdkosm/v2/model/satisfaction_dimension_simple_info_v2.py +253 -0
- huaweicloudsdkosm/v2/model/send_verify_code_req.py +163 -0
- huaweicloudsdkosm/v2/model/send_verify_codes_request.py +191 -0
- huaweicloudsdkosm/v2/model/send_verify_codes_response.py +141 -0
- huaweicloudsdkosm/v2/model/severity_v2_do.py +166 -0
- huaweicloudsdkosm/v2/model/show_accessory_limits_request.py +166 -0
- huaweicloudsdkosm/v2/model/show_accessory_limits_response.py +108 -0
- huaweicloudsdkosm/v2/model/show_authorization_detail_request.py +223 -0
- huaweicloudsdkosm/v2/model/show_authorization_detail_response.py +605 -0
- huaweicloudsdkosm/v2/model/show_case_detail_request.py +223 -0
- huaweicloudsdkosm/v2/model/show_case_detail_response.py +108 -0
- huaweicloudsdkosm/v2/model/show_case_extends_param_request.py +223 -0
- huaweicloudsdkosm/v2/model/show_case_extends_param_response.py +141 -0
- huaweicloudsdkosm/v2/model/show_case_status_request.py +194 -0
- huaweicloudsdkosm/v2/model/show_case_status_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_configuration_request.py +107 -0
- huaweicloudsdkosm/v2/model/show_configuration_response.py +199 -0
- huaweicloudsdkosm/v2/model/show_customer_privilege_policy_request.py +166 -0
- huaweicloudsdkosm/v2/model/show_customer_privilege_policy_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_download_accessory_url_request.py +193 -0
- huaweicloudsdkosm/v2/model/show_download_accessory_url_response.py +170 -0
- huaweicloudsdkosm/v2/model/show_latest_published_agreement_request.py +195 -0
- huaweicloudsdkosm/v2/model/show_latest_published_agreement_response.py +108 -0
- huaweicloudsdkosm/v2/model/show_login_type_request.py +137 -0
- huaweicloudsdkosm/v2/model/show_login_type_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_partners_cases_privilege_request.py +166 -0
- huaweicloudsdkosm/v2/model/show_partners_cases_privilege_response.py +112 -0
- huaweicloudsdkosm/v2/model/show_partners_service_info_request.py +224 -0
- huaweicloudsdkosm/v2/model/show_partners_service_info_response.py +108 -0
- huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_request.py +195 -0
- huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_response.py +112 -0
- huaweicloudsdkosm/v2/model/sign_agreement_req.py +108 -0
- huaweicloudsdkosm/v2/model/sign_published_agreement_request.py +219 -0
- huaweicloudsdkosm/v2/model/sign_published_agreement_response.py +112 -0
- huaweicloudsdkosm/v2/model/simple_accessory_v2.py +137 -0
- huaweicloudsdkosm/v2/model/simple_incident_business_type_v2.py +195 -0
- huaweicloudsdkosm/v2/model/sub_cutomer_info_v2.py +253 -0
- huaweicloudsdkosm/v2/model/submit_diagnose_job_req.py +165 -0
- huaweicloudsdkosm/v2/model/tenant_agree_auth_detail_v2.py +194 -0
- huaweicloudsdkosm/v2/model/tenant_config_v2.py +108 -0
- huaweicloudsdkosm/v2/model/update_authorizations_request.py +248 -0
- huaweicloudsdkosm/v2/model/update_authorizations_response.py +141 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_req.py +253 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_request.py +219 -0
- huaweicloudsdkosm/v2/model/update_case_contact_info_response.py +141 -0
- huaweicloudsdkosm/v2/model/update_cases_request.py +247 -0
- huaweicloudsdkosm/v2/model/update_cases_response.py +141 -0
- huaweicloudsdkosm/v2/model/update_labels_req.py +135 -0
- huaweicloudsdkosm/v2/model/update_labels_request.py +219 -0
- huaweicloudsdkosm/v2/model/update_labels_response.py +141 -0
- huaweicloudsdkosm/v2/model/update_new_instant_messages_read_request.py +219 -0
- huaweicloudsdkosm/v2/model/update_new_instant_messages_read_response.py +141 -0
- huaweicloudsdkosm/v2/model/update_unread_new_instant_msg_v2_req.py +108 -0
- huaweicloudsdkosm/v2/model/upload_accessory_request.py +191 -0
- huaweicloudsdkosm/v2/model/upload_accessory_request_body.py +135 -0
- huaweicloudsdkosm/v2/model/upload_accessory_response.py +112 -0
- huaweicloudsdkosm/v2/model/upload_json_accessories_request.py +191 -0
- huaweicloudsdkosm/v2/model/upload_json_accessories_response.py +112 -0
- huaweicloudsdkosm/v2/model/user_instant_incident_msg_v2.py +137 -0
- huaweicloudsdkosm/v2/model/verify_host_v2_req.py +192 -0
- huaweicloudsdkosm/v2/model/verify_verify_code_v2_req.py +250 -0
- huaweicloudsdkosm/v2/model/work_order_operate_v2_req.py +195 -0
- huaweicloudsdkosm/v2/osm_async_client.py +6081 -0
- huaweicloudsdkosm/v2/osm_client.py +6078 -0
- huaweicloudsdkosm/v2/region/__init__.py +0 -0
- huaweicloudsdkosm/v2/region/osm_region.py +31 -0
- huaweicloudsdkosm-3.1.174.dist-info/METADATA +25 -0
- huaweicloudsdkosm-3.1.174.dist-info/RECORD +250 -0
- huaweicloudsdkosm-3.1.174.dist-info/WHEEL +4 -0
- huaweicloudsdkosm-3.1.174.dist-info/licenses/LICENSE +13 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ShowPartnersCasesPrivilegeRequest:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'x_site': 'int',
|
|
19
|
+
'x_language': 'str',
|
|
20
|
+
'x_time_zone': 'str'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'x_site': 'X-Site',
|
|
25
|
+
'x_language': 'X-Language',
|
|
26
|
+
'x_time_zone': 'X-Time-Zone'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, x_site=None, x_language=None, x_time_zone=None):
|
|
30
|
+
r"""ShowPartnersCasesPrivilegeRequest
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
35
|
+
:type x_site: int
|
|
36
|
+
:param x_language: 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
37
|
+
:type x_language: str
|
|
38
|
+
:param x_time_zone: 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
39
|
+
:type x_time_zone: str
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
self._x_site = None
|
|
45
|
+
self._x_language = None
|
|
46
|
+
self._x_time_zone = None
|
|
47
|
+
self.discriminator = None
|
|
48
|
+
|
|
49
|
+
if x_site is not None:
|
|
50
|
+
self.x_site = x_site
|
|
51
|
+
if x_language is not None:
|
|
52
|
+
self.x_language = x_language
|
|
53
|
+
if x_time_zone is not None:
|
|
54
|
+
self.x_time_zone = x_time_zone
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
def x_site(self):
|
|
58
|
+
r"""Gets the x_site of this ShowPartnersCasesPrivilegeRequest.
|
|
59
|
+
|
|
60
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
61
|
+
|
|
62
|
+
:return: The x_site of this ShowPartnersCasesPrivilegeRequest.
|
|
63
|
+
:rtype: int
|
|
64
|
+
"""
|
|
65
|
+
return self._x_site
|
|
66
|
+
|
|
67
|
+
@x_site.setter
|
|
68
|
+
def x_site(self, x_site):
|
|
69
|
+
r"""Sets the x_site of this ShowPartnersCasesPrivilegeRequest.
|
|
70
|
+
|
|
71
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
72
|
+
|
|
73
|
+
:param x_site: The x_site of this ShowPartnersCasesPrivilegeRequest.
|
|
74
|
+
:type x_site: int
|
|
75
|
+
"""
|
|
76
|
+
self._x_site = x_site
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def x_language(self):
|
|
80
|
+
r"""Gets the x_language of this ShowPartnersCasesPrivilegeRequest.
|
|
81
|
+
|
|
82
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
83
|
+
|
|
84
|
+
:return: The x_language of this ShowPartnersCasesPrivilegeRequest.
|
|
85
|
+
:rtype: str
|
|
86
|
+
"""
|
|
87
|
+
return self._x_language
|
|
88
|
+
|
|
89
|
+
@x_language.setter
|
|
90
|
+
def x_language(self, x_language):
|
|
91
|
+
r"""Sets the x_language of this ShowPartnersCasesPrivilegeRequest.
|
|
92
|
+
|
|
93
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
94
|
+
|
|
95
|
+
:param x_language: The x_language of this ShowPartnersCasesPrivilegeRequest.
|
|
96
|
+
:type x_language: str
|
|
97
|
+
"""
|
|
98
|
+
self._x_language = x_language
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def x_time_zone(self):
|
|
102
|
+
r"""Gets the x_time_zone of this ShowPartnersCasesPrivilegeRequest.
|
|
103
|
+
|
|
104
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
105
|
+
|
|
106
|
+
:return: The x_time_zone of this ShowPartnersCasesPrivilegeRequest.
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._x_time_zone
|
|
110
|
+
|
|
111
|
+
@x_time_zone.setter
|
|
112
|
+
def x_time_zone(self, x_time_zone):
|
|
113
|
+
r"""Sets the x_time_zone of this ShowPartnersCasesPrivilegeRequest.
|
|
114
|
+
|
|
115
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
116
|
+
|
|
117
|
+
:param x_time_zone: The x_time_zone of this ShowPartnersCasesPrivilegeRequest.
|
|
118
|
+
:type x_time_zone: str
|
|
119
|
+
"""
|
|
120
|
+
self._x_time_zone = x_time_zone
|
|
121
|
+
|
|
122
|
+
def to_dict(self):
|
|
123
|
+
result = {}
|
|
124
|
+
|
|
125
|
+
for attr, _ in self.openapi_types.items():
|
|
126
|
+
value = getattr(self, attr)
|
|
127
|
+
if isinstance(value, list):
|
|
128
|
+
result[attr] = list(map(
|
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
130
|
+
value
|
|
131
|
+
))
|
|
132
|
+
elif hasattr(value, "to_dict"):
|
|
133
|
+
result[attr] = value.to_dict()
|
|
134
|
+
elif isinstance(value, dict):
|
|
135
|
+
result[attr] = dict(map(
|
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
|
138
|
+
value.items()
|
|
139
|
+
))
|
|
140
|
+
else:
|
|
141
|
+
if attr in self.sensitive_list:
|
|
142
|
+
result[attr] = "****"
|
|
143
|
+
else:
|
|
144
|
+
result[attr] = value
|
|
145
|
+
|
|
146
|
+
return result
|
|
147
|
+
|
|
148
|
+
def to_str(self):
|
|
149
|
+
"""Returns the string representation of the model"""
|
|
150
|
+
import simplejson as json
|
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
152
|
+
|
|
153
|
+
def __repr__(self):
|
|
154
|
+
"""For `print`"""
|
|
155
|
+
return self.to_str()
|
|
156
|
+
|
|
157
|
+
def __eq__(self, other):
|
|
158
|
+
"""Returns true if both objects are equal"""
|
|
159
|
+
if not isinstance(other, ShowPartnersCasesPrivilegeRequest):
|
|
160
|
+
return False
|
|
161
|
+
|
|
162
|
+
return self.__dict__ == other.__dict__
|
|
163
|
+
|
|
164
|
+
def __ne__(self, other):
|
|
165
|
+
"""Returns true if both objects are not equal"""
|
|
166
|
+
return not self == other
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ShowPartnersCasesPrivilegeResponse(SdkResponse):
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
Attributes:
|
|
11
|
+
openapi_types (dict): The key is attribute name
|
|
12
|
+
and the value is attribute type.
|
|
13
|
+
attribute_map (dict): The key is attribute name
|
|
14
|
+
and the value is json key in definition.
|
|
15
|
+
"""
|
|
16
|
+
sensitive_list = []
|
|
17
|
+
|
|
18
|
+
openapi_types = {
|
|
19
|
+
'has_privilege': 'bool'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'has_privilege': 'has_privilege'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
def __init__(self, has_privilege=None):
|
|
27
|
+
r"""ShowPartnersCasesPrivilegeResponse
|
|
28
|
+
|
|
29
|
+
The model defined in huaweicloud sdk
|
|
30
|
+
|
|
31
|
+
:param has_privilege: 是否有权限
|
|
32
|
+
:type has_privilege: bool
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
super().__init__()
|
|
36
|
+
|
|
37
|
+
self._has_privilege = None
|
|
38
|
+
self.discriminator = None
|
|
39
|
+
|
|
40
|
+
if has_privilege is not None:
|
|
41
|
+
self.has_privilege = has_privilege
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
def has_privilege(self):
|
|
45
|
+
r"""Gets the has_privilege of this ShowPartnersCasesPrivilegeResponse.
|
|
46
|
+
|
|
47
|
+
是否有权限
|
|
48
|
+
|
|
49
|
+
:return: The has_privilege of this ShowPartnersCasesPrivilegeResponse.
|
|
50
|
+
:rtype: bool
|
|
51
|
+
"""
|
|
52
|
+
return self._has_privilege
|
|
53
|
+
|
|
54
|
+
@has_privilege.setter
|
|
55
|
+
def has_privilege(self, has_privilege):
|
|
56
|
+
r"""Sets the has_privilege of this ShowPartnersCasesPrivilegeResponse.
|
|
57
|
+
|
|
58
|
+
是否有权限
|
|
59
|
+
|
|
60
|
+
:param has_privilege: The has_privilege of this ShowPartnersCasesPrivilegeResponse.
|
|
61
|
+
:type has_privilege: bool
|
|
62
|
+
"""
|
|
63
|
+
self._has_privilege = has_privilege
|
|
64
|
+
|
|
65
|
+
def to_dict(self):
|
|
66
|
+
import warnings
|
|
67
|
+
warnings.warn("ShowPartnersCasesPrivilegeResponse.to_dict() is deprecated and no longer maintained, "
|
|
68
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
69
|
+
result = {}
|
|
70
|
+
|
|
71
|
+
for attr, _ in self.openapi_types.items():
|
|
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
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
98
|
+
|
|
99
|
+
def __repr__(self):
|
|
100
|
+
"""For `print`"""
|
|
101
|
+
return self.to_str()
|
|
102
|
+
|
|
103
|
+
def __eq__(self, other):
|
|
104
|
+
"""Returns true if both objects are equal"""
|
|
105
|
+
if not isinstance(other, ShowPartnersCasesPrivilegeResponse):
|
|
106
|
+
return False
|
|
107
|
+
|
|
108
|
+
return self.__dict__ == other.__dict__
|
|
109
|
+
|
|
110
|
+
def __ne__(self, other):
|
|
111
|
+
"""Returns true if both objects are not equal"""
|
|
112
|
+
return not self == other
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ShowPartnersServiceInfoRequest:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'case_sub_type_id': 'str',
|
|
19
|
+
'product_id': 'str',
|
|
20
|
+
'x_site': 'int',
|
|
21
|
+
'x_language': 'str',
|
|
22
|
+
'x_time_zone': 'str'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'case_sub_type_id': 'case_sub_type_id',
|
|
27
|
+
'product_id': 'product_id',
|
|
28
|
+
'x_site': 'X-Site',
|
|
29
|
+
'x_language': 'X-Language',
|
|
30
|
+
'x_time_zone': 'X-Time-Zone'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, case_sub_type_id=None, product_id=None, x_site=None, x_language=None, x_time_zone=None):
|
|
34
|
+
r"""ShowPartnersServiceInfoRequest
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param case_sub_type_id: 工单子类
|
|
39
|
+
:type case_sub_type_id: str
|
|
40
|
+
:param product_id: ISV产品Id
|
|
41
|
+
:type product_id: str
|
|
42
|
+
:param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
43
|
+
:type x_site: int
|
|
44
|
+
:param x_language: 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
45
|
+
:type x_language: str
|
|
46
|
+
:param x_time_zone: 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
47
|
+
:type x_time_zone: str
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
self._case_sub_type_id = None
|
|
53
|
+
self._product_id = None
|
|
54
|
+
self._x_site = None
|
|
55
|
+
self._x_language = None
|
|
56
|
+
self._x_time_zone = None
|
|
57
|
+
self.discriminator = None
|
|
58
|
+
|
|
59
|
+
if case_sub_type_id is not None:
|
|
60
|
+
self.case_sub_type_id = case_sub_type_id
|
|
61
|
+
if product_id is not None:
|
|
62
|
+
self.product_id = product_id
|
|
63
|
+
if x_site is not None:
|
|
64
|
+
self.x_site = x_site
|
|
65
|
+
if x_language is not None:
|
|
66
|
+
self.x_language = x_language
|
|
67
|
+
if x_time_zone is not None:
|
|
68
|
+
self.x_time_zone = x_time_zone
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def case_sub_type_id(self):
|
|
72
|
+
r"""Gets the case_sub_type_id of this ShowPartnersServiceInfoRequest.
|
|
73
|
+
|
|
74
|
+
工单子类
|
|
75
|
+
|
|
76
|
+
:return: The case_sub_type_id of this ShowPartnersServiceInfoRequest.
|
|
77
|
+
:rtype: str
|
|
78
|
+
"""
|
|
79
|
+
return self._case_sub_type_id
|
|
80
|
+
|
|
81
|
+
@case_sub_type_id.setter
|
|
82
|
+
def case_sub_type_id(self, case_sub_type_id):
|
|
83
|
+
r"""Sets the case_sub_type_id of this ShowPartnersServiceInfoRequest.
|
|
84
|
+
|
|
85
|
+
工单子类
|
|
86
|
+
|
|
87
|
+
:param case_sub_type_id: The case_sub_type_id of this ShowPartnersServiceInfoRequest.
|
|
88
|
+
:type case_sub_type_id: str
|
|
89
|
+
"""
|
|
90
|
+
self._case_sub_type_id = case_sub_type_id
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
def product_id(self):
|
|
94
|
+
r"""Gets the product_id of this ShowPartnersServiceInfoRequest.
|
|
95
|
+
|
|
96
|
+
ISV产品Id
|
|
97
|
+
|
|
98
|
+
:return: The product_id of this ShowPartnersServiceInfoRequest.
|
|
99
|
+
:rtype: str
|
|
100
|
+
"""
|
|
101
|
+
return self._product_id
|
|
102
|
+
|
|
103
|
+
@product_id.setter
|
|
104
|
+
def product_id(self, product_id):
|
|
105
|
+
r"""Sets the product_id of this ShowPartnersServiceInfoRequest.
|
|
106
|
+
|
|
107
|
+
ISV产品Id
|
|
108
|
+
|
|
109
|
+
:param product_id: The product_id of this ShowPartnersServiceInfoRequest.
|
|
110
|
+
:type product_id: str
|
|
111
|
+
"""
|
|
112
|
+
self._product_id = product_id
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
def x_site(self):
|
|
116
|
+
r"""Gets the x_site of this ShowPartnersServiceInfoRequest.
|
|
117
|
+
|
|
118
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
119
|
+
|
|
120
|
+
:return: The x_site of this ShowPartnersServiceInfoRequest.
|
|
121
|
+
:rtype: int
|
|
122
|
+
"""
|
|
123
|
+
return self._x_site
|
|
124
|
+
|
|
125
|
+
@x_site.setter
|
|
126
|
+
def x_site(self, x_site):
|
|
127
|
+
r"""Sets the x_site of this ShowPartnersServiceInfoRequest.
|
|
128
|
+
|
|
129
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
130
|
+
|
|
131
|
+
:param x_site: The x_site of this ShowPartnersServiceInfoRequest.
|
|
132
|
+
:type x_site: int
|
|
133
|
+
"""
|
|
134
|
+
self._x_site = x_site
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
def x_language(self):
|
|
138
|
+
r"""Gets the x_language of this ShowPartnersServiceInfoRequest.
|
|
139
|
+
|
|
140
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
141
|
+
|
|
142
|
+
:return: The x_language of this ShowPartnersServiceInfoRequest.
|
|
143
|
+
:rtype: str
|
|
144
|
+
"""
|
|
145
|
+
return self._x_language
|
|
146
|
+
|
|
147
|
+
@x_language.setter
|
|
148
|
+
def x_language(self, x_language):
|
|
149
|
+
r"""Sets the x_language of this ShowPartnersServiceInfoRequest.
|
|
150
|
+
|
|
151
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
152
|
+
|
|
153
|
+
:param x_language: The x_language of this ShowPartnersServiceInfoRequest.
|
|
154
|
+
:type x_language: str
|
|
155
|
+
"""
|
|
156
|
+
self._x_language = x_language
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def x_time_zone(self):
|
|
160
|
+
r"""Gets the x_time_zone of this ShowPartnersServiceInfoRequest.
|
|
161
|
+
|
|
162
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
163
|
+
|
|
164
|
+
:return: The x_time_zone of this ShowPartnersServiceInfoRequest.
|
|
165
|
+
:rtype: str
|
|
166
|
+
"""
|
|
167
|
+
return self._x_time_zone
|
|
168
|
+
|
|
169
|
+
@x_time_zone.setter
|
|
170
|
+
def x_time_zone(self, x_time_zone):
|
|
171
|
+
r"""Sets the x_time_zone of this ShowPartnersServiceInfoRequest.
|
|
172
|
+
|
|
173
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
174
|
+
|
|
175
|
+
:param x_time_zone: The x_time_zone of this ShowPartnersServiceInfoRequest.
|
|
176
|
+
:type x_time_zone: str
|
|
177
|
+
"""
|
|
178
|
+
self._x_time_zone = x_time_zone
|
|
179
|
+
|
|
180
|
+
def to_dict(self):
|
|
181
|
+
result = {}
|
|
182
|
+
|
|
183
|
+
for attr, _ in self.openapi_types.items():
|
|
184
|
+
value = getattr(self, attr)
|
|
185
|
+
if isinstance(value, list):
|
|
186
|
+
result[attr] = list(map(
|
|
187
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
188
|
+
value
|
|
189
|
+
))
|
|
190
|
+
elif hasattr(value, "to_dict"):
|
|
191
|
+
result[attr] = value.to_dict()
|
|
192
|
+
elif isinstance(value, dict):
|
|
193
|
+
result[attr] = dict(map(
|
|
194
|
+
lambda item: (item[0], item[1].to_dict())
|
|
195
|
+
if hasattr(item[1], "to_dict") else item,
|
|
196
|
+
value.items()
|
|
197
|
+
))
|
|
198
|
+
else:
|
|
199
|
+
if attr in self.sensitive_list:
|
|
200
|
+
result[attr] = "****"
|
|
201
|
+
else:
|
|
202
|
+
result[attr] = value
|
|
203
|
+
|
|
204
|
+
return result
|
|
205
|
+
|
|
206
|
+
def to_str(self):
|
|
207
|
+
"""Returns the string representation of the model"""
|
|
208
|
+
import simplejson as json
|
|
209
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
210
|
+
|
|
211
|
+
def __repr__(self):
|
|
212
|
+
"""For `print`"""
|
|
213
|
+
return self.to_str()
|
|
214
|
+
|
|
215
|
+
def __eq__(self, other):
|
|
216
|
+
"""Returns true if both objects are equal"""
|
|
217
|
+
if not isinstance(other, ShowPartnersServiceInfoRequest):
|
|
218
|
+
return False
|
|
219
|
+
|
|
220
|
+
return self.__dict__ == other.__dict__
|
|
221
|
+
|
|
222
|
+
def __ne__(self, other):
|
|
223
|
+
"""Returns true if both objects are not equal"""
|
|
224
|
+
return not self == other
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ShowPartnersServiceInfoResponse(SdkResponse):
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
Attributes:
|
|
11
|
+
openapi_types (dict): The key is attribute name
|
|
12
|
+
and the value is attribute type.
|
|
13
|
+
attribute_map (dict): The key is attribute name
|
|
14
|
+
and the value is json key in definition.
|
|
15
|
+
"""
|
|
16
|
+
sensitive_list = []
|
|
17
|
+
|
|
18
|
+
openapi_types = {
|
|
19
|
+
'partners_service_info': 'PartnersServiceInfo'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'partners_service_info': 'partners_service_info'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
def __init__(self, partners_service_info=None):
|
|
27
|
+
r"""ShowPartnersServiceInfoResponse
|
|
28
|
+
|
|
29
|
+
The model defined in huaweicloud sdk
|
|
30
|
+
|
|
31
|
+
:param partners_service_info:
|
|
32
|
+
:type partners_service_info: :class:`huaweicloudsdkosm.v2.PartnersServiceInfo`
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
super().__init__()
|
|
36
|
+
|
|
37
|
+
self._partners_service_info = None
|
|
38
|
+
self.discriminator = None
|
|
39
|
+
|
|
40
|
+
if partners_service_info is not None:
|
|
41
|
+
self.partners_service_info = partners_service_info
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
def partners_service_info(self):
|
|
45
|
+
r"""Gets the partners_service_info of this ShowPartnersServiceInfoResponse.
|
|
46
|
+
|
|
47
|
+
:return: The partners_service_info of this ShowPartnersServiceInfoResponse.
|
|
48
|
+
:rtype: :class:`huaweicloudsdkosm.v2.PartnersServiceInfo`
|
|
49
|
+
"""
|
|
50
|
+
return self._partners_service_info
|
|
51
|
+
|
|
52
|
+
@partners_service_info.setter
|
|
53
|
+
def partners_service_info(self, partners_service_info):
|
|
54
|
+
r"""Sets the partners_service_info of this ShowPartnersServiceInfoResponse.
|
|
55
|
+
|
|
56
|
+
:param partners_service_info: The partners_service_info of this ShowPartnersServiceInfoResponse.
|
|
57
|
+
:type partners_service_info: :class:`huaweicloudsdkosm.v2.PartnersServiceInfo`
|
|
58
|
+
"""
|
|
59
|
+
self._partners_service_info = partners_service_info
|
|
60
|
+
|
|
61
|
+
def to_dict(self):
|
|
62
|
+
import warnings
|
|
63
|
+
warnings.warn("ShowPartnersServiceInfoResponse.to_dict() is deprecated and no longer maintained, "
|
|
64
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
65
|
+
result = {}
|
|
66
|
+
|
|
67
|
+
for attr, _ in self.openapi_types.items():
|
|
68
|
+
value = getattr(self, attr)
|
|
69
|
+
if isinstance(value, list):
|
|
70
|
+
result[attr] = list(map(
|
|
71
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
72
|
+
value
|
|
73
|
+
))
|
|
74
|
+
elif hasattr(value, "to_dict"):
|
|
75
|
+
result[attr] = value.to_dict()
|
|
76
|
+
elif isinstance(value, dict):
|
|
77
|
+
result[attr] = dict(map(
|
|
78
|
+
lambda item: (item[0], item[1].to_dict())
|
|
79
|
+
if hasattr(item[1], "to_dict") else item,
|
|
80
|
+
value.items()
|
|
81
|
+
))
|
|
82
|
+
else:
|
|
83
|
+
if attr in self.sensitive_list:
|
|
84
|
+
result[attr] = "****"
|
|
85
|
+
else:
|
|
86
|
+
result[attr] = value
|
|
87
|
+
|
|
88
|
+
return result
|
|
89
|
+
|
|
90
|
+
def to_str(self):
|
|
91
|
+
"""Returns the string representation of the model"""
|
|
92
|
+
import simplejson as json
|
|
93
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
94
|
+
|
|
95
|
+
def __repr__(self):
|
|
96
|
+
"""For `print`"""
|
|
97
|
+
return self.to_str()
|
|
98
|
+
|
|
99
|
+
def __eq__(self, other):
|
|
100
|
+
"""Returns true if both objects are equal"""
|
|
101
|
+
if not isinstance(other, ShowPartnersServiceInfoResponse):
|
|
102
|
+
return False
|
|
103
|
+
|
|
104
|
+
return self.__dict__ == other.__dict__
|
|
105
|
+
|
|
106
|
+
def __ne__(self, other):
|
|
107
|
+
"""Returns true if both objects are not equal"""
|
|
108
|
+
return not self == other
|