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,248 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class UpdateAuthorizationsRequest:
|
|
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
|
+
'authorization_id': 'str',
|
|
19
|
+
'action_id': 'str',
|
|
20
|
+
'x_site': 'int',
|
|
21
|
+
'x_language': 'str',
|
|
22
|
+
'x_time_zone': 'str',
|
|
23
|
+
'body': 'OperateAuthorizationV2Req'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'authorization_id': 'authorization_id',
|
|
28
|
+
'action_id': 'action_id',
|
|
29
|
+
'x_site': 'X-Site',
|
|
30
|
+
'x_language': 'X-Language',
|
|
31
|
+
'x_time_zone': 'X-Time-Zone',
|
|
32
|
+
'body': 'body'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
def __init__(self, authorization_id=None, action_id=None, x_site=None, x_language=None, x_time_zone=None, body=None):
|
|
36
|
+
r"""UpdateAuthorizationsRequest
|
|
37
|
+
|
|
38
|
+
The model defined in huaweicloud sdk
|
|
39
|
+
|
|
40
|
+
:param authorization_id: 授权id
|
|
41
|
+
:type authorization_id: str
|
|
42
|
+
:param action_id: 操作id,reject,cancel
|
|
43
|
+
:type action_id: str
|
|
44
|
+
:param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
45
|
+
:type x_site: int
|
|
46
|
+
:param x_language: 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
47
|
+
:type x_language: str
|
|
48
|
+
:param x_time_zone: 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
49
|
+
:type x_time_zone: str
|
|
50
|
+
:param body: Body of the UpdateAuthorizationsRequest
|
|
51
|
+
:type body: :class:`huaweicloudsdkosm.v2.OperateAuthorizationV2Req`
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
self._authorization_id = None
|
|
57
|
+
self._action_id = None
|
|
58
|
+
self._x_site = None
|
|
59
|
+
self._x_language = None
|
|
60
|
+
self._x_time_zone = None
|
|
61
|
+
self._body = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
self.authorization_id = authorization_id
|
|
65
|
+
if action_id is not None:
|
|
66
|
+
self.action_id = action_id
|
|
67
|
+
if x_site is not None:
|
|
68
|
+
self.x_site = x_site
|
|
69
|
+
if x_language is not None:
|
|
70
|
+
self.x_language = x_language
|
|
71
|
+
if x_time_zone is not None:
|
|
72
|
+
self.x_time_zone = x_time_zone
|
|
73
|
+
if body is not None:
|
|
74
|
+
self.body = body
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
def authorization_id(self):
|
|
78
|
+
r"""Gets the authorization_id of this UpdateAuthorizationsRequest.
|
|
79
|
+
|
|
80
|
+
授权id
|
|
81
|
+
|
|
82
|
+
:return: The authorization_id of this UpdateAuthorizationsRequest.
|
|
83
|
+
:rtype: str
|
|
84
|
+
"""
|
|
85
|
+
return self._authorization_id
|
|
86
|
+
|
|
87
|
+
@authorization_id.setter
|
|
88
|
+
def authorization_id(self, authorization_id):
|
|
89
|
+
r"""Sets the authorization_id of this UpdateAuthorizationsRequest.
|
|
90
|
+
|
|
91
|
+
授权id
|
|
92
|
+
|
|
93
|
+
:param authorization_id: The authorization_id of this UpdateAuthorizationsRequest.
|
|
94
|
+
:type authorization_id: str
|
|
95
|
+
"""
|
|
96
|
+
self._authorization_id = authorization_id
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def action_id(self):
|
|
100
|
+
r"""Gets the action_id of this UpdateAuthorizationsRequest.
|
|
101
|
+
|
|
102
|
+
操作id,reject,cancel
|
|
103
|
+
|
|
104
|
+
:return: The action_id of this UpdateAuthorizationsRequest.
|
|
105
|
+
:rtype: str
|
|
106
|
+
"""
|
|
107
|
+
return self._action_id
|
|
108
|
+
|
|
109
|
+
@action_id.setter
|
|
110
|
+
def action_id(self, action_id):
|
|
111
|
+
r"""Sets the action_id of this UpdateAuthorizationsRequest.
|
|
112
|
+
|
|
113
|
+
操作id,reject,cancel
|
|
114
|
+
|
|
115
|
+
:param action_id: The action_id of this UpdateAuthorizationsRequest.
|
|
116
|
+
:type action_id: str
|
|
117
|
+
"""
|
|
118
|
+
self._action_id = action_id
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def x_site(self):
|
|
122
|
+
r"""Gets the x_site of this UpdateAuthorizationsRequest.
|
|
123
|
+
|
|
124
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
125
|
+
|
|
126
|
+
:return: The x_site of this UpdateAuthorizationsRequest.
|
|
127
|
+
:rtype: int
|
|
128
|
+
"""
|
|
129
|
+
return self._x_site
|
|
130
|
+
|
|
131
|
+
@x_site.setter
|
|
132
|
+
def x_site(self, x_site):
|
|
133
|
+
r"""Sets the x_site of this UpdateAuthorizationsRequest.
|
|
134
|
+
|
|
135
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
136
|
+
|
|
137
|
+
:param x_site: The x_site of this UpdateAuthorizationsRequest.
|
|
138
|
+
:type x_site: int
|
|
139
|
+
"""
|
|
140
|
+
self._x_site = x_site
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
def x_language(self):
|
|
144
|
+
r"""Gets the x_language of this UpdateAuthorizationsRequest.
|
|
145
|
+
|
|
146
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
147
|
+
|
|
148
|
+
:return: The x_language of this UpdateAuthorizationsRequest.
|
|
149
|
+
:rtype: str
|
|
150
|
+
"""
|
|
151
|
+
return self._x_language
|
|
152
|
+
|
|
153
|
+
@x_language.setter
|
|
154
|
+
def x_language(self, x_language):
|
|
155
|
+
r"""Sets the x_language of this UpdateAuthorizationsRequest.
|
|
156
|
+
|
|
157
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
158
|
+
|
|
159
|
+
:param x_language: The x_language of this UpdateAuthorizationsRequest.
|
|
160
|
+
:type x_language: str
|
|
161
|
+
"""
|
|
162
|
+
self._x_language = x_language
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def x_time_zone(self):
|
|
166
|
+
r"""Gets the x_time_zone of this UpdateAuthorizationsRequest.
|
|
167
|
+
|
|
168
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
169
|
+
|
|
170
|
+
:return: The x_time_zone of this UpdateAuthorizationsRequest.
|
|
171
|
+
:rtype: str
|
|
172
|
+
"""
|
|
173
|
+
return self._x_time_zone
|
|
174
|
+
|
|
175
|
+
@x_time_zone.setter
|
|
176
|
+
def x_time_zone(self, x_time_zone):
|
|
177
|
+
r"""Sets the x_time_zone of this UpdateAuthorizationsRequest.
|
|
178
|
+
|
|
179
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
180
|
+
|
|
181
|
+
:param x_time_zone: The x_time_zone of this UpdateAuthorizationsRequest.
|
|
182
|
+
:type x_time_zone: str
|
|
183
|
+
"""
|
|
184
|
+
self._x_time_zone = x_time_zone
|
|
185
|
+
|
|
186
|
+
@property
|
|
187
|
+
def body(self):
|
|
188
|
+
r"""Gets the body of this UpdateAuthorizationsRequest.
|
|
189
|
+
|
|
190
|
+
:return: The body of this UpdateAuthorizationsRequest.
|
|
191
|
+
:rtype: :class:`huaweicloudsdkosm.v2.OperateAuthorizationV2Req`
|
|
192
|
+
"""
|
|
193
|
+
return self._body
|
|
194
|
+
|
|
195
|
+
@body.setter
|
|
196
|
+
def body(self, body):
|
|
197
|
+
r"""Sets the body of this UpdateAuthorizationsRequest.
|
|
198
|
+
|
|
199
|
+
:param body: The body of this UpdateAuthorizationsRequest.
|
|
200
|
+
:type body: :class:`huaweicloudsdkosm.v2.OperateAuthorizationV2Req`
|
|
201
|
+
"""
|
|
202
|
+
self._body = body
|
|
203
|
+
|
|
204
|
+
def to_dict(self):
|
|
205
|
+
result = {}
|
|
206
|
+
|
|
207
|
+
for attr, _ in self.openapi_types.items():
|
|
208
|
+
value = getattr(self, attr)
|
|
209
|
+
if isinstance(value, list):
|
|
210
|
+
result[attr] = list(map(
|
|
211
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
212
|
+
value
|
|
213
|
+
))
|
|
214
|
+
elif hasattr(value, "to_dict"):
|
|
215
|
+
result[attr] = value.to_dict()
|
|
216
|
+
elif isinstance(value, dict):
|
|
217
|
+
result[attr] = dict(map(
|
|
218
|
+
lambda item: (item[0], item[1].to_dict())
|
|
219
|
+
if hasattr(item[1], "to_dict") else item,
|
|
220
|
+
value.items()
|
|
221
|
+
))
|
|
222
|
+
else:
|
|
223
|
+
if attr in self.sensitive_list:
|
|
224
|
+
result[attr] = "****"
|
|
225
|
+
else:
|
|
226
|
+
result[attr] = value
|
|
227
|
+
|
|
228
|
+
return result
|
|
229
|
+
|
|
230
|
+
def to_str(self):
|
|
231
|
+
"""Returns the string representation of the model"""
|
|
232
|
+
import simplejson as json
|
|
233
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
234
|
+
|
|
235
|
+
def __repr__(self):
|
|
236
|
+
"""For `print`"""
|
|
237
|
+
return self.to_str()
|
|
238
|
+
|
|
239
|
+
def __eq__(self, other):
|
|
240
|
+
"""Returns true if both objects are equal"""
|
|
241
|
+
if not isinstance(other, UpdateAuthorizationsRequest):
|
|
242
|
+
return False
|
|
243
|
+
|
|
244
|
+
return self.__dict__ == other.__dict__
|
|
245
|
+
|
|
246
|
+
def __ne__(self, other):
|
|
247
|
+
"""Returns true if both objects are not equal"""
|
|
248
|
+
return not self == other
|
|
@@ -0,0 +1,141 @@
|
|
|
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 UpdateAuthorizationsResponse(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
|
+
'error_code': 'str',
|
|
20
|
+
'error_msg': 'str'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'error_code': 'error_code',
|
|
25
|
+
'error_msg': 'error_msg'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
def __init__(self, error_code=None, error_msg=None):
|
|
29
|
+
r"""UpdateAuthorizationsResponse
|
|
30
|
+
|
|
31
|
+
The model defined in huaweicloud sdk
|
|
32
|
+
|
|
33
|
+
:param error_code: 错误码
|
|
34
|
+
:type error_code: str
|
|
35
|
+
:param error_msg: 错误描述
|
|
36
|
+
:type error_msg: str
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
super().__init__()
|
|
40
|
+
|
|
41
|
+
self._error_code = None
|
|
42
|
+
self._error_msg = None
|
|
43
|
+
self.discriminator = None
|
|
44
|
+
|
|
45
|
+
if error_code is not None:
|
|
46
|
+
self.error_code = error_code
|
|
47
|
+
if error_msg is not None:
|
|
48
|
+
self.error_msg = error_msg
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def error_code(self):
|
|
52
|
+
r"""Gets the error_code of this UpdateAuthorizationsResponse.
|
|
53
|
+
|
|
54
|
+
错误码
|
|
55
|
+
|
|
56
|
+
:return: The error_code of this UpdateAuthorizationsResponse.
|
|
57
|
+
:rtype: str
|
|
58
|
+
"""
|
|
59
|
+
return self._error_code
|
|
60
|
+
|
|
61
|
+
@error_code.setter
|
|
62
|
+
def error_code(self, error_code):
|
|
63
|
+
r"""Sets the error_code of this UpdateAuthorizationsResponse.
|
|
64
|
+
|
|
65
|
+
错误码
|
|
66
|
+
|
|
67
|
+
:param error_code: The error_code of this UpdateAuthorizationsResponse.
|
|
68
|
+
:type error_code: str
|
|
69
|
+
"""
|
|
70
|
+
self._error_code = error_code
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def error_msg(self):
|
|
74
|
+
r"""Gets the error_msg of this UpdateAuthorizationsResponse.
|
|
75
|
+
|
|
76
|
+
错误描述
|
|
77
|
+
|
|
78
|
+
:return: The error_msg of this UpdateAuthorizationsResponse.
|
|
79
|
+
:rtype: str
|
|
80
|
+
"""
|
|
81
|
+
return self._error_msg
|
|
82
|
+
|
|
83
|
+
@error_msg.setter
|
|
84
|
+
def error_msg(self, error_msg):
|
|
85
|
+
r"""Sets the error_msg of this UpdateAuthorizationsResponse.
|
|
86
|
+
|
|
87
|
+
错误描述
|
|
88
|
+
|
|
89
|
+
:param error_msg: The error_msg of this UpdateAuthorizationsResponse.
|
|
90
|
+
:type error_msg: str
|
|
91
|
+
"""
|
|
92
|
+
self._error_msg = error_msg
|
|
93
|
+
|
|
94
|
+
def to_dict(self):
|
|
95
|
+
import warnings
|
|
96
|
+
warnings.warn("UpdateAuthorizationsResponse.to_dict() is deprecated and no longer maintained, "
|
|
97
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
98
|
+
result = {}
|
|
99
|
+
|
|
100
|
+
for attr, _ in self.openapi_types.items():
|
|
101
|
+
value = getattr(self, attr)
|
|
102
|
+
if isinstance(value, list):
|
|
103
|
+
result[attr] = list(map(
|
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
105
|
+
value
|
|
106
|
+
))
|
|
107
|
+
elif hasattr(value, "to_dict"):
|
|
108
|
+
result[attr] = value.to_dict()
|
|
109
|
+
elif isinstance(value, dict):
|
|
110
|
+
result[attr] = dict(map(
|
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
|
113
|
+
value.items()
|
|
114
|
+
))
|
|
115
|
+
else:
|
|
116
|
+
if attr in self.sensitive_list:
|
|
117
|
+
result[attr] = "****"
|
|
118
|
+
else:
|
|
119
|
+
result[attr] = value
|
|
120
|
+
|
|
121
|
+
return result
|
|
122
|
+
|
|
123
|
+
def to_str(self):
|
|
124
|
+
"""Returns the string representation of the model"""
|
|
125
|
+
import simplejson as json
|
|
126
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
127
|
+
|
|
128
|
+
def __repr__(self):
|
|
129
|
+
"""For `print`"""
|
|
130
|
+
return self.to_str()
|
|
131
|
+
|
|
132
|
+
def __eq__(self, other):
|
|
133
|
+
"""Returns true if both objects are equal"""
|
|
134
|
+
if not isinstance(other, UpdateAuthorizationsResponse):
|
|
135
|
+
return False
|
|
136
|
+
|
|
137
|
+
return self.__dict__ == other.__dict__
|
|
138
|
+
|
|
139
|
+
def __ne__(self, other):
|
|
140
|
+
"""Returns true if both objects are not equal"""
|
|
141
|
+
return not self == other
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class UpdateCaseContactInfoReq:
|
|
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
|
+
'area_code': 'str',
|
|
19
|
+
'remind_mobile': 'str',
|
|
20
|
+
'remind_mail': 'str',
|
|
21
|
+
'remind_time': 'str',
|
|
22
|
+
'group_id': 'str',
|
|
23
|
+
'extension_map': 'dict(str, object)'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'area_code': 'area_code',
|
|
28
|
+
'remind_mobile': 'remind_mobile',
|
|
29
|
+
'remind_mail': 'remind_mail',
|
|
30
|
+
'remind_time': 'remind_time',
|
|
31
|
+
'group_id': 'group_id',
|
|
32
|
+
'extension_map': 'extension_map'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
def __init__(self, area_code=None, remind_mobile=None, remind_mail=None, remind_time=None, group_id=None, extension_map=None):
|
|
36
|
+
r"""UpdateCaseContactInfoReq
|
|
37
|
+
|
|
38
|
+
The model defined in huaweicloud sdk
|
|
39
|
+
|
|
40
|
+
:param area_code: 国家码
|
|
41
|
+
:type area_code: str
|
|
42
|
+
:param remind_mobile: 联系手机号
|
|
43
|
+
:type remind_mobile: str
|
|
44
|
+
:param remind_mail: 联系邮箱
|
|
45
|
+
:type remind_mail: str
|
|
46
|
+
:param remind_time: 联系时间
|
|
47
|
+
:type remind_time: str
|
|
48
|
+
:param group_id: 华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
49
|
+
:type group_id: str
|
|
50
|
+
:param extension_map: 扩展参数
|
|
51
|
+
:type extension_map: dict(str, object)
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
self._area_code = None
|
|
57
|
+
self._remind_mobile = None
|
|
58
|
+
self._remind_mail = None
|
|
59
|
+
self._remind_time = None
|
|
60
|
+
self._group_id = None
|
|
61
|
+
self._extension_map = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
if area_code is not None:
|
|
65
|
+
self.area_code = area_code
|
|
66
|
+
if remind_mobile is not None:
|
|
67
|
+
self.remind_mobile = remind_mobile
|
|
68
|
+
if remind_mail is not None:
|
|
69
|
+
self.remind_mail = remind_mail
|
|
70
|
+
if remind_time is not None:
|
|
71
|
+
self.remind_time = remind_time
|
|
72
|
+
if group_id is not None:
|
|
73
|
+
self.group_id = group_id
|
|
74
|
+
if extension_map is not None:
|
|
75
|
+
self.extension_map = extension_map
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def area_code(self):
|
|
79
|
+
r"""Gets the area_code of this UpdateCaseContactInfoReq.
|
|
80
|
+
|
|
81
|
+
国家码
|
|
82
|
+
|
|
83
|
+
:return: The area_code of this UpdateCaseContactInfoReq.
|
|
84
|
+
:rtype: str
|
|
85
|
+
"""
|
|
86
|
+
return self._area_code
|
|
87
|
+
|
|
88
|
+
@area_code.setter
|
|
89
|
+
def area_code(self, area_code):
|
|
90
|
+
r"""Sets the area_code of this UpdateCaseContactInfoReq.
|
|
91
|
+
|
|
92
|
+
国家码
|
|
93
|
+
|
|
94
|
+
:param area_code: The area_code of this UpdateCaseContactInfoReq.
|
|
95
|
+
:type area_code: str
|
|
96
|
+
"""
|
|
97
|
+
self._area_code = area_code
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def remind_mobile(self):
|
|
101
|
+
r"""Gets the remind_mobile of this UpdateCaseContactInfoReq.
|
|
102
|
+
|
|
103
|
+
联系手机号
|
|
104
|
+
|
|
105
|
+
:return: The remind_mobile of this UpdateCaseContactInfoReq.
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._remind_mobile
|
|
109
|
+
|
|
110
|
+
@remind_mobile.setter
|
|
111
|
+
def remind_mobile(self, remind_mobile):
|
|
112
|
+
r"""Sets the remind_mobile of this UpdateCaseContactInfoReq.
|
|
113
|
+
|
|
114
|
+
联系手机号
|
|
115
|
+
|
|
116
|
+
:param remind_mobile: The remind_mobile of this UpdateCaseContactInfoReq.
|
|
117
|
+
:type remind_mobile: str
|
|
118
|
+
"""
|
|
119
|
+
self._remind_mobile = remind_mobile
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
def remind_mail(self):
|
|
123
|
+
r"""Gets the remind_mail of this UpdateCaseContactInfoReq.
|
|
124
|
+
|
|
125
|
+
联系邮箱
|
|
126
|
+
|
|
127
|
+
:return: The remind_mail of this UpdateCaseContactInfoReq.
|
|
128
|
+
:rtype: str
|
|
129
|
+
"""
|
|
130
|
+
return self._remind_mail
|
|
131
|
+
|
|
132
|
+
@remind_mail.setter
|
|
133
|
+
def remind_mail(self, remind_mail):
|
|
134
|
+
r"""Sets the remind_mail of this UpdateCaseContactInfoReq.
|
|
135
|
+
|
|
136
|
+
联系邮箱
|
|
137
|
+
|
|
138
|
+
:param remind_mail: The remind_mail of this UpdateCaseContactInfoReq.
|
|
139
|
+
:type remind_mail: str
|
|
140
|
+
"""
|
|
141
|
+
self._remind_mail = remind_mail
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def remind_time(self):
|
|
145
|
+
r"""Gets the remind_time of this UpdateCaseContactInfoReq.
|
|
146
|
+
|
|
147
|
+
联系时间
|
|
148
|
+
|
|
149
|
+
:return: The remind_time of this UpdateCaseContactInfoReq.
|
|
150
|
+
:rtype: str
|
|
151
|
+
"""
|
|
152
|
+
return self._remind_time
|
|
153
|
+
|
|
154
|
+
@remind_time.setter
|
|
155
|
+
def remind_time(self, remind_time):
|
|
156
|
+
r"""Sets the remind_time of this UpdateCaseContactInfoReq.
|
|
157
|
+
|
|
158
|
+
联系时间
|
|
159
|
+
|
|
160
|
+
:param remind_time: The remind_time of this UpdateCaseContactInfoReq.
|
|
161
|
+
:type remind_time: str
|
|
162
|
+
"""
|
|
163
|
+
self._remind_time = remind_time
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
def group_id(self):
|
|
167
|
+
r"""Gets the group_id of this UpdateCaseContactInfoReq.
|
|
168
|
+
|
|
169
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
170
|
+
|
|
171
|
+
:return: The group_id of this UpdateCaseContactInfoReq.
|
|
172
|
+
:rtype: str
|
|
173
|
+
"""
|
|
174
|
+
return self._group_id
|
|
175
|
+
|
|
176
|
+
@group_id.setter
|
|
177
|
+
def group_id(self, group_id):
|
|
178
|
+
r"""Sets the group_id of this UpdateCaseContactInfoReq.
|
|
179
|
+
|
|
180
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
181
|
+
|
|
182
|
+
:param group_id: The group_id of this UpdateCaseContactInfoReq.
|
|
183
|
+
:type group_id: str
|
|
184
|
+
"""
|
|
185
|
+
self._group_id = group_id
|
|
186
|
+
|
|
187
|
+
@property
|
|
188
|
+
def extension_map(self):
|
|
189
|
+
r"""Gets the extension_map of this UpdateCaseContactInfoReq.
|
|
190
|
+
|
|
191
|
+
扩展参数
|
|
192
|
+
|
|
193
|
+
:return: The extension_map of this UpdateCaseContactInfoReq.
|
|
194
|
+
:rtype: dict(str, object)
|
|
195
|
+
"""
|
|
196
|
+
return self._extension_map
|
|
197
|
+
|
|
198
|
+
@extension_map.setter
|
|
199
|
+
def extension_map(self, extension_map):
|
|
200
|
+
r"""Sets the extension_map of this UpdateCaseContactInfoReq.
|
|
201
|
+
|
|
202
|
+
扩展参数
|
|
203
|
+
|
|
204
|
+
:param extension_map: The extension_map of this UpdateCaseContactInfoReq.
|
|
205
|
+
:type extension_map: dict(str, object)
|
|
206
|
+
"""
|
|
207
|
+
self._extension_map = extension_map
|
|
208
|
+
|
|
209
|
+
def to_dict(self):
|
|
210
|
+
result = {}
|
|
211
|
+
|
|
212
|
+
for attr, _ in self.openapi_types.items():
|
|
213
|
+
value = getattr(self, attr)
|
|
214
|
+
if isinstance(value, list):
|
|
215
|
+
result[attr] = list(map(
|
|
216
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
217
|
+
value
|
|
218
|
+
))
|
|
219
|
+
elif hasattr(value, "to_dict"):
|
|
220
|
+
result[attr] = value.to_dict()
|
|
221
|
+
elif isinstance(value, dict):
|
|
222
|
+
result[attr] = dict(map(
|
|
223
|
+
lambda item: (item[0], item[1].to_dict())
|
|
224
|
+
if hasattr(item[1], "to_dict") else item,
|
|
225
|
+
value.items()
|
|
226
|
+
))
|
|
227
|
+
else:
|
|
228
|
+
if attr in self.sensitive_list:
|
|
229
|
+
result[attr] = "****"
|
|
230
|
+
else:
|
|
231
|
+
result[attr] = value
|
|
232
|
+
|
|
233
|
+
return result
|
|
234
|
+
|
|
235
|
+
def to_str(self):
|
|
236
|
+
"""Returns the string representation of the model"""
|
|
237
|
+
import simplejson as json
|
|
238
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
239
|
+
|
|
240
|
+
def __repr__(self):
|
|
241
|
+
"""For `print`"""
|
|
242
|
+
return self.to_str()
|
|
243
|
+
|
|
244
|
+
def __eq__(self, other):
|
|
245
|
+
"""Returns true if both objects are equal"""
|
|
246
|
+
if not isinstance(other, UpdateCaseContactInfoReq):
|
|
247
|
+
return False
|
|
248
|
+
|
|
249
|
+
return self.__dict__ == other.__dict__
|
|
250
|
+
|
|
251
|
+
def __ne__(self, other):
|
|
252
|
+
"""Returns true if both objects are not equal"""
|
|
253
|
+
return not self == other
|