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,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 SignPublishedAgreementResponse(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
|
+
'agreement_signed_record_id': 'int'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'agreement_signed_record_id': 'agreement_signed_record_id'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
def __init__(self, agreement_signed_record_id=None):
|
|
27
|
+
r"""SignPublishedAgreementResponse
|
|
28
|
+
|
|
29
|
+
The model defined in huaweicloud sdk
|
|
30
|
+
|
|
31
|
+
:param agreement_signed_record_id: 签署记录id
|
|
32
|
+
:type agreement_signed_record_id: int
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
super().__init__()
|
|
36
|
+
|
|
37
|
+
self._agreement_signed_record_id = None
|
|
38
|
+
self.discriminator = None
|
|
39
|
+
|
|
40
|
+
if agreement_signed_record_id is not None:
|
|
41
|
+
self.agreement_signed_record_id = agreement_signed_record_id
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
def agreement_signed_record_id(self):
|
|
45
|
+
r"""Gets the agreement_signed_record_id of this SignPublishedAgreementResponse.
|
|
46
|
+
|
|
47
|
+
签署记录id
|
|
48
|
+
|
|
49
|
+
:return: The agreement_signed_record_id of this SignPublishedAgreementResponse.
|
|
50
|
+
:rtype: int
|
|
51
|
+
"""
|
|
52
|
+
return self._agreement_signed_record_id
|
|
53
|
+
|
|
54
|
+
@agreement_signed_record_id.setter
|
|
55
|
+
def agreement_signed_record_id(self, agreement_signed_record_id):
|
|
56
|
+
r"""Sets the agreement_signed_record_id of this SignPublishedAgreementResponse.
|
|
57
|
+
|
|
58
|
+
签署记录id
|
|
59
|
+
|
|
60
|
+
:param agreement_signed_record_id: The agreement_signed_record_id of this SignPublishedAgreementResponse.
|
|
61
|
+
:type agreement_signed_record_id: int
|
|
62
|
+
"""
|
|
63
|
+
self._agreement_signed_record_id = agreement_signed_record_id
|
|
64
|
+
|
|
65
|
+
def to_dict(self):
|
|
66
|
+
import warnings
|
|
67
|
+
warnings.warn("SignPublishedAgreementResponse.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, SignPublishedAgreementResponse):
|
|
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,137 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class SimpleAccessoryV2:
|
|
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
|
+
'accessory_id': 'str',
|
|
19
|
+
'file_actual_name': 'str'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'accessory_id': 'accessory_id',
|
|
24
|
+
'file_actual_name': 'file_actual_name'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, accessory_id=None, file_actual_name=None):
|
|
28
|
+
r"""SimpleAccessoryV2
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param accessory_id: 附件id
|
|
33
|
+
:type accessory_id: str
|
|
34
|
+
:param file_actual_name: 附件实际名称
|
|
35
|
+
:type file_actual_name: str
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._accessory_id = None
|
|
41
|
+
self._file_actual_name = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
if accessory_id is not None:
|
|
45
|
+
self.accessory_id = accessory_id
|
|
46
|
+
if file_actual_name is not None:
|
|
47
|
+
self.file_actual_name = file_actual_name
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
def accessory_id(self):
|
|
51
|
+
r"""Gets the accessory_id of this SimpleAccessoryV2.
|
|
52
|
+
|
|
53
|
+
附件id
|
|
54
|
+
|
|
55
|
+
:return: The accessory_id of this SimpleAccessoryV2.
|
|
56
|
+
:rtype: str
|
|
57
|
+
"""
|
|
58
|
+
return self._accessory_id
|
|
59
|
+
|
|
60
|
+
@accessory_id.setter
|
|
61
|
+
def accessory_id(self, accessory_id):
|
|
62
|
+
r"""Sets the accessory_id of this SimpleAccessoryV2.
|
|
63
|
+
|
|
64
|
+
附件id
|
|
65
|
+
|
|
66
|
+
:param accessory_id: The accessory_id of this SimpleAccessoryV2.
|
|
67
|
+
:type accessory_id: str
|
|
68
|
+
"""
|
|
69
|
+
self._accessory_id = accessory_id
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def file_actual_name(self):
|
|
73
|
+
r"""Gets the file_actual_name of this SimpleAccessoryV2.
|
|
74
|
+
|
|
75
|
+
附件实际名称
|
|
76
|
+
|
|
77
|
+
:return: The file_actual_name of this SimpleAccessoryV2.
|
|
78
|
+
:rtype: str
|
|
79
|
+
"""
|
|
80
|
+
return self._file_actual_name
|
|
81
|
+
|
|
82
|
+
@file_actual_name.setter
|
|
83
|
+
def file_actual_name(self, file_actual_name):
|
|
84
|
+
r"""Sets the file_actual_name of this SimpleAccessoryV2.
|
|
85
|
+
|
|
86
|
+
附件实际名称
|
|
87
|
+
|
|
88
|
+
:param file_actual_name: The file_actual_name of this SimpleAccessoryV2.
|
|
89
|
+
:type file_actual_name: str
|
|
90
|
+
"""
|
|
91
|
+
self._file_actual_name = file_actual_name
|
|
92
|
+
|
|
93
|
+
def to_dict(self):
|
|
94
|
+
result = {}
|
|
95
|
+
|
|
96
|
+
for attr, _ in self.openapi_types.items():
|
|
97
|
+
value = getattr(self, attr)
|
|
98
|
+
if isinstance(value, list):
|
|
99
|
+
result[attr] = list(map(
|
|
100
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
101
|
+
value
|
|
102
|
+
))
|
|
103
|
+
elif hasattr(value, "to_dict"):
|
|
104
|
+
result[attr] = value.to_dict()
|
|
105
|
+
elif isinstance(value, dict):
|
|
106
|
+
result[attr] = dict(map(
|
|
107
|
+
lambda item: (item[0], item[1].to_dict())
|
|
108
|
+
if hasattr(item[1], "to_dict") else item,
|
|
109
|
+
value.items()
|
|
110
|
+
))
|
|
111
|
+
else:
|
|
112
|
+
if attr in self.sensitive_list:
|
|
113
|
+
result[attr] = "****"
|
|
114
|
+
else:
|
|
115
|
+
result[attr] = value
|
|
116
|
+
|
|
117
|
+
return result
|
|
118
|
+
|
|
119
|
+
def to_str(self):
|
|
120
|
+
"""Returns the string representation of the model"""
|
|
121
|
+
import simplejson as json
|
|
122
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
123
|
+
|
|
124
|
+
def __repr__(self):
|
|
125
|
+
"""For `print`"""
|
|
126
|
+
return self.to_str()
|
|
127
|
+
|
|
128
|
+
def __eq__(self, other):
|
|
129
|
+
"""Returns true if both objects are equal"""
|
|
130
|
+
if not isinstance(other, SimpleAccessoryV2):
|
|
131
|
+
return False
|
|
132
|
+
|
|
133
|
+
return self.__dict__ == other.__dict__
|
|
134
|
+
|
|
135
|
+
def __ne__(self, other):
|
|
136
|
+
"""Returns true if both objects are not equal"""
|
|
137
|
+
return not self == other
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class SimpleIncidentBusinessTypeV2:
|
|
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
|
+
'business_type_id': 'str',
|
|
19
|
+
'business_type_name': 'str',
|
|
20
|
+
'case_type': 'str',
|
|
21
|
+
'can_use_support_plan': 'bool'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'business_type_id': 'business_type_id',
|
|
26
|
+
'business_type_name': 'business_type_name',
|
|
27
|
+
'case_type': 'case_type',
|
|
28
|
+
'can_use_support_plan': 'can_use_support_plan'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
def __init__(self, business_type_id=None, business_type_name=None, case_type=None, can_use_support_plan=None):
|
|
32
|
+
r"""SimpleIncidentBusinessTypeV2
|
|
33
|
+
|
|
34
|
+
The model defined in huaweicloud sdk
|
|
35
|
+
|
|
36
|
+
:param business_type_id: 问题类型id
|
|
37
|
+
:type business_type_id: str
|
|
38
|
+
:param business_type_name: 问题类型名称
|
|
39
|
+
:type business_type_name: str
|
|
40
|
+
:param case_type: 对应的工单类型0咨询 5报障
|
|
41
|
+
:type case_type: str
|
|
42
|
+
:param can_use_support_plan: 是否可以使用支持计划
|
|
43
|
+
:type can_use_support_plan: bool
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
self._business_type_id = None
|
|
49
|
+
self._business_type_name = None
|
|
50
|
+
self._case_type = None
|
|
51
|
+
self._can_use_support_plan = None
|
|
52
|
+
self.discriminator = None
|
|
53
|
+
|
|
54
|
+
if business_type_id is not None:
|
|
55
|
+
self.business_type_id = business_type_id
|
|
56
|
+
if business_type_name is not None:
|
|
57
|
+
self.business_type_name = business_type_name
|
|
58
|
+
if case_type is not None:
|
|
59
|
+
self.case_type = case_type
|
|
60
|
+
if can_use_support_plan is not None:
|
|
61
|
+
self.can_use_support_plan = can_use_support_plan
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def business_type_id(self):
|
|
65
|
+
r"""Gets the business_type_id of this SimpleIncidentBusinessTypeV2.
|
|
66
|
+
|
|
67
|
+
问题类型id
|
|
68
|
+
|
|
69
|
+
:return: The business_type_id of this SimpleIncidentBusinessTypeV2.
|
|
70
|
+
:rtype: str
|
|
71
|
+
"""
|
|
72
|
+
return self._business_type_id
|
|
73
|
+
|
|
74
|
+
@business_type_id.setter
|
|
75
|
+
def business_type_id(self, business_type_id):
|
|
76
|
+
r"""Sets the business_type_id of this SimpleIncidentBusinessTypeV2.
|
|
77
|
+
|
|
78
|
+
问题类型id
|
|
79
|
+
|
|
80
|
+
:param business_type_id: The business_type_id of this SimpleIncidentBusinessTypeV2.
|
|
81
|
+
:type business_type_id: str
|
|
82
|
+
"""
|
|
83
|
+
self._business_type_id = business_type_id
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def business_type_name(self):
|
|
87
|
+
r"""Gets the business_type_name of this SimpleIncidentBusinessTypeV2.
|
|
88
|
+
|
|
89
|
+
问题类型名称
|
|
90
|
+
|
|
91
|
+
:return: The business_type_name of this SimpleIncidentBusinessTypeV2.
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._business_type_name
|
|
95
|
+
|
|
96
|
+
@business_type_name.setter
|
|
97
|
+
def business_type_name(self, business_type_name):
|
|
98
|
+
r"""Sets the business_type_name of this SimpleIncidentBusinessTypeV2.
|
|
99
|
+
|
|
100
|
+
问题类型名称
|
|
101
|
+
|
|
102
|
+
:param business_type_name: The business_type_name of this SimpleIncidentBusinessTypeV2.
|
|
103
|
+
:type business_type_name: str
|
|
104
|
+
"""
|
|
105
|
+
self._business_type_name = business_type_name
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def case_type(self):
|
|
109
|
+
r"""Gets the case_type of this SimpleIncidentBusinessTypeV2.
|
|
110
|
+
|
|
111
|
+
对应的工单类型0咨询 5报障
|
|
112
|
+
|
|
113
|
+
:return: The case_type of this SimpleIncidentBusinessTypeV2.
|
|
114
|
+
:rtype: str
|
|
115
|
+
"""
|
|
116
|
+
return self._case_type
|
|
117
|
+
|
|
118
|
+
@case_type.setter
|
|
119
|
+
def case_type(self, case_type):
|
|
120
|
+
r"""Sets the case_type of this SimpleIncidentBusinessTypeV2.
|
|
121
|
+
|
|
122
|
+
对应的工单类型0咨询 5报障
|
|
123
|
+
|
|
124
|
+
:param case_type: The case_type of this SimpleIncidentBusinessTypeV2.
|
|
125
|
+
:type case_type: str
|
|
126
|
+
"""
|
|
127
|
+
self._case_type = case_type
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
def can_use_support_plan(self):
|
|
131
|
+
r"""Gets the can_use_support_plan of this SimpleIncidentBusinessTypeV2.
|
|
132
|
+
|
|
133
|
+
是否可以使用支持计划
|
|
134
|
+
|
|
135
|
+
:return: The can_use_support_plan of this SimpleIncidentBusinessTypeV2.
|
|
136
|
+
:rtype: bool
|
|
137
|
+
"""
|
|
138
|
+
return self._can_use_support_plan
|
|
139
|
+
|
|
140
|
+
@can_use_support_plan.setter
|
|
141
|
+
def can_use_support_plan(self, can_use_support_plan):
|
|
142
|
+
r"""Sets the can_use_support_plan of this SimpleIncidentBusinessTypeV2.
|
|
143
|
+
|
|
144
|
+
是否可以使用支持计划
|
|
145
|
+
|
|
146
|
+
:param can_use_support_plan: The can_use_support_plan of this SimpleIncidentBusinessTypeV2.
|
|
147
|
+
:type can_use_support_plan: bool
|
|
148
|
+
"""
|
|
149
|
+
self._can_use_support_plan = can_use_support_plan
|
|
150
|
+
|
|
151
|
+
def to_dict(self):
|
|
152
|
+
result = {}
|
|
153
|
+
|
|
154
|
+
for attr, _ in self.openapi_types.items():
|
|
155
|
+
value = getattr(self, attr)
|
|
156
|
+
if isinstance(value, list):
|
|
157
|
+
result[attr] = list(map(
|
|
158
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
159
|
+
value
|
|
160
|
+
))
|
|
161
|
+
elif hasattr(value, "to_dict"):
|
|
162
|
+
result[attr] = value.to_dict()
|
|
163
|
+
elif isinstance(value, dict):
|
|
164
|
+
result[attr] = dict(map(
|
|
165
|
+
lambda item: (item[0], item[1].to_dict())
|
|
166
|
+
if hasattr(item[1], "to_dict") else item,
|
|
167
|
+
value.items()
|
|
168
|
+
))
|
|
169
|
+
else:
|
|
170
|
+
if attr in self.sensitive_list:
|
|
171
|
+
result[attr] = "****"
|
|
172
|
+
else:
|
|
173
|
+
result[attr] = value
|
|
174
|
+
|
|
175
|
+
return result
|
|
176
|
+
|
|
177
|
+
def to_str(self):
|
|
178
|
+
"""Returns the string representation of the model"""
|
|
179
|
+
import simplejson as json
|
|
180
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
181
|
+
|
|
182
|
+
def __repr__(self):
|
|
183
|
+
"""For `print`"""
|
|
184
|
+
return self.to_str()
|
|
185
|
+
|
|
186
|
+
def __eq__(self, other):
|
|
187
|
+
"""Returns true if both objects are equal"""
|
|
188
|
+
if not isinstance(other, SimpleIncidentBusinessTypeV2):
|
|
189
|
+
return False
|
|
190
|
+
|
|
191
|
+
return self.__dict__ == other.__dict__
|
|
192
|
+
|
|
193
|
+
def __ne__(self, other):
|
|
194
|
+
"""Returns true if both objects are not equal"""
|
|
195
|
+
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 SubCutomerInfoV2:
|
|
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
|
+
'mobile': 'str',
|
|
19
|
+
'email': 'str',
|
|
20
|
+
'customer_id': 'str',
|
|
21
|
+
'domain_id': 'str',
|
|
22
|
+
'customer_name': 'str',
|
|
23
|
+
'area_code': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'mobile': 'mobile',
|
|
28
|
+
'email': 'email',
|
|
29
|
+
'customer_id': 'customer_id',
|
|
30
|
+
'domain_id': 'domain_id',
|
|
31
|
+
'customer_name': 'customer_name',
|
|
32
|
+
'area_code': 'area_code'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
def __init__(self, mobile=None, email=None, customer_id=None, domain_id=None, customer_name=None, area_code=None):
|
|
36
|
+
r"""SubCutomerInfoV2
|
|
37
|
+
|
|
38
|
+
The model defined in huaweicloud sdk
|
|
39
|
+
|
|
40
|
+
:param mobile: 手机号(匿名化)
|
|
41
|
+
:type mobile: str
|
|
42
|
+
:param email: 邮箱(匿名化)
|
|
43
|
+
:type email: str
|
|
44
|
+
:param customer_id: 客户id
|
|
45
|
+
:type customer_id: str
|
|
46
|
+
:param domain_id: 主账号id
|
|
47
|
+
:type domain_id: str
|
|
48
|
+
:param customer_name: 客户名称(匿名化)
|
|
49
|
+
:type customer_name: str
|
|
50
|
+
:param area_code: 国家码
|
|
51
|
+
:type area_code: str
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
self._mobile = None
|
|
57
|
+
self._email = None
|
|
58
|
+
self._customer_id = None
|
|
59
|
+
self._domain_id = None
|
|
60
|
+
self._customer_name = None
|
|
61
|
+
self._area_code = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
if mobile is not None:
|
|
65
|
+
self.mobile = mobile
|
|
66
|
+
if email is not None:
|
|
67
|
+
self.email = email
|
|
68
|
+
if customer_id is not None:
|
|
69
|
+
self.customer_id = customer_id
|
|
70
|
+
if domain_id is not None:
|
|
71
|
+
self.domain_id = domain_id
|
|
72
|
+
if customer_name is not None:
|
|
73
|
+
self.customer_name = customer_name
|
|
74
|
+
if area_code is not None:
|
|
75
|
+
self.area_code = area_code
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def mobile(self):
|
|
79
|
+
r"""Gets the mobile of this SubCutomerInfoV2.
|
|
80
|
+
|
|
81
|
+
手机号(匿名化)
|
|
82
|
+
|
|
83
|
+
:return: The mobile of this SubCutomerInfoV2.
|
|
84
|
+
:rtype: str
|
|
85
|
+
"""
|
|
86
|
+
return self._mobile
|
|
87
|
+
|
|
88
|
+
@mobile.setter
|
|
89
|
+
def mobile(self, mobile):
|
|
90
|
+
r"""Sets the mobile of this SubCutomerInfoV2.
|
|
91
|
+
|
|
92
|
+
手机号(匿名化)
|
|
93
|
+
|
|
94
|
+
:param mobile: The mobile of this SubCutomerInfoV2.
|
|
95
|
+
:type mobile: str
|
|
96
|
+
"""
|
|
97
|
+
self._mobile = mobile
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def email(self):
|
|
101
|
+
r"""Gets the email of this SubCutomerInfoV2.
|
|
102
|
+
|
|
103
|
+
邮箱(匿名化)
|
|
104
|
+
|
|
105
|
+
:return: The email of this SubCutomerInfoV2.
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._email
|
|
109
|
+
|
|
110
|
+
@email.setter
|
|
111
|
+
def email(self, email):
|
|
112
|
+
r"""Sets the email of this SubCutomerInfoV2.
|
|
113
|
+
|
|
114
|
+
邮箱(匿名化)
|
|
115
|
+
|
|
116
|
+
:param email: The email of this SubCutomerInfoV2.
|
|
117
|
+
:type email: str
|
|
118
|
+
"""
|
|
119
|
+
self._email = email
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
def customer_id(self):
|
|
123
|
+
r"""Gets the customer_id of this SubCutomerInfoV2.
|
|
124
|
+
|
|
125
|
+
客户id
|
|
126
|
+
|
|
127
|
+
:return: The customer_id of this SubCutomerInfoV2.
|
|
128
|
+
:rtype: str
|
|
129
|
+
"""
|
|
130
|
+
return self._customer_id
|
|
131
|
+
|
|
132
|
+
@customer_id.setter
|
|
133
|
+
def customer_id(self, customer_id):
|
|
134
|
+
r"""Sets the customer_id of this SubCutomerInfoV2.
|
|
135
|
+
|
|
136
|
+
客户id
|
|
137
|
+
|
|
138
|
+
:param customer_id: The customer_id of this SubCutomerInfoV2.
|
|
139
|
+
:type customer_id: str
|
|
140
|
+
"""
|
|
141
|
+
self._customer_id = customer_id
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def domain_id(self):
|
|
145
|
+
r"""Gets the domain_id of this SubCutomerInfoV2.
|
|
146
|
+
|
|
147
|
+
主账号id
|
|
148
|
+
|
|
149
|
+
:return: The domain_id of this SubCutomerInfoV2.
|
|
150
|
+
:rtype: str
|
|
151
|
+
"""
|
|
152
|
+
return self._domain_id
|
|
153
|
+
|
|
154
|
+
@domain_id.setter
|
|
155
|
+
def domain_id(self, domain_id):
|
|
156
|
+
r"""Sets the domain_id of this SubCutomerInfoV2.
|
|
157
|
+
|
|
158
|
+
主账号id
|
|
159
|
+
|
|
160
|
+
:param domain_id: The domain_id of this SubCutomerInfoV2.
|
|
161
|
+
:type domain_id: str
|
|
162
|
+
"""
|
|
163
|
+
self._domain_id = domain_id
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
def customer_name(self):
|
|
167
|
+
r"""Gets the customer_name of this SubCutomerInfoV2.
|
|
168
|
+
|
|
169
|
+
客户名称(匿名化)
|
|
170
|
+
|
|
171
|
+
:return: The customer_name of this SubCutomerInfoV2.
|
|
172
|
+
:rtype: str
|
|
173
|
+
"""
|
|
174
|
+
return self._customer_name
|
|
175
|
+
|
|
176
|
+
@customer_name.setter
|
|
177
|
+
def customer_name(self, customer_name):
|
|
178
|
+
r"""Sets the customer_name of this SubCutomerInfoV2.
|
|
179
|
+
|
|
180
|
+
客户名称(匿名化)
|
|
181
|
+
|
|
182
|
+
:param customer_name: The customer_name of this SubCutomerInfoV2.
|
|
183
|
+
:type customer_name: str
|
|
184
|
+
"""
|
|
185
|
+
self._customer_name = customer_name
|
|
186
|
+
|
|
187
|
+
@property
|
|
188
|
+
def area_code(self):
|
|
189
|
+
r"""Gets the area_code of this SubCutomerInfoV2.
|
|
190
|
+
|
|
191
|
+
国家码
|
|
192
|
+
|
|
193
|
+
:return: The area_code of this SubCutomerInfoV2.
|
|
194
|
+
:rtype: str
|
|
195
|
+
"""
|
|
196
|
+
return self._area_code
|
|
197
|
+
|
|
198
|
+
@area_code.setter
|
|
199
|
+
def area_code(self, area_code):
|
|
200
|
+
r"""Sets the area_code of this SubCutomerInfoV2.
|
|
201
|
+
|
|
202
|
+
国家码
|
|
203
|
+
|
|
204
|
+
:param area_code: The area_code of this SubCutomerInfoV2.
|
|
205
|
+
:type area_code: str
|
|
206
|
+
"""
|
|
207
|
+
self._area_code = area_code
|
|
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, SubCutomerInfoV2):
|
|
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
|