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,572 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class IncidentOrderAuthV2:
|
|
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
|
+
'id': 'str',
|
|
19
|
+
'status': 'int',
|
|
20
|
+
'incident_id': 'str',
|
|
21
|
+
'simple_description': 'str',
|
|
22
|
+
'auth_describe': 'str',
|
|
23
|
+
'resource_type_id': 'str',
|
|
24
|
+
'resource_type_name': 'str',
|
|
25
|
+
'visit_type_id': 'str',
|
|
26
|
+
'visit_type_name': 'str',
|
|
27
|
+
'create_time': 'datetime',
|
|
28
|
+
'auth_effective_time': 'datetime',
|
|
29
|
+
'auth_expire_time': 'datetime',
|
|
30
|
+
'reject_reason': 'str',
|
|
31
|
+
'customer_id': 'str',
|
|
32
|
+
'x_customer_id': 'str',
|
|
33
|
+
'xcustomer_name': 'str',
|
|
34
|
+
'content_of_auth_letter': 'str'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
attribute_map = {
|
|
38
|
+
'id': 'id',
|
|
39
|
+
'status': 'status',
|
|
40
|
+
'incident_id': 'incident_id',
|
|
41
|
+
'simple_description': 'simple_description',
|
|
42
|
+
'auth_describe': 'auth_describe',
|
|
43
|
+
'resource_type_id': 'resource_type_id',
|
|
44
|
+
'resource_type_name': 'resource_type_name',
|
|
45
|
+
'visit_type_id': 'visit_type_id',
|
|
46
|
+
'visit_type_name': 'visit_type_name',
|
|
47
|
+
'create_time': 'create_time',
|
|
48
|
+
'auth_effective_time': 'auth_effective_time',
|
|
49
|
+
'auth_expire_time': 'auth_expire_time',
|
|
50
|
+
'reject_reason': 'reject_reason',
|
|
51
|
+
'customer_id': 'customer_id',
|
|
52
|
+
'x_customer_id': 'x_customer_id',
|
|
53
|
+
'xcustomer_name': 'xcustomer_name',
|
|
54
|
+
'content_of_auth_letter': 'content_of_auth_letter'
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
def __init__(self, id=None, status=None, incident_id=None, simple_description=None, auth_describe=None, resource_type_id=None, resource_type_name=None, visit_type_id=None, visit_type_name=None, create_time=None, auth_effective_time=None, auth_expire_time=None, reject_reason=None, customer_id=None, x_customer_id=None, xcustomer_name=None, content_of_auth_letter=None):
|
|
58
|
+
r"""IncidentOrderAuthV2
|
|
59
|
+
|
|
60
|
+
The model defined in huaweicloud sdk
|
|
61
|
+
|
|
62
|
+
:param id: 授权id
|
|
63
|
+
:type id: str
|
|
64
|
+
:param status: 授权状态
|
|
65
|
+
:type status: int
|
|
66
|
+
:param incident_id: 工单id
|
|
67
|
+
:type incident_id: str
|
|
68
|
+
:param simple_description: 简要描述
|
|
69
|
+
:type simple_description: str
|
|
70
|
+
:param auth_describe: 授权描述
|
|
71
|
+
:type auth_describe: str
|
|
72
|
+
:param resource_type_id: 授权资源类型id
|
|
73
|
+
:type resource_type_id: str
|
|
74
|
+
:param resource_type_name: 授权资源类型名称
|
|
75
|
+
:type resource_type_name: str
|
|
76
|
+
:param visit_type_id: 授权访问类型id
|
|
77
|
+
:type visit_type_id: str
|
|
78
|
+
:param visit_type_name: 授权访问类型名称
|
|
79
|
+
:type visit_type_name: str
|
|
80
|
+
:param create_time: 创建时间
|
|
81
|
+
:type create_time: datetime
|
|
82
|
+
:param auth_effective_time: 授权生效时间
|
|
83
|
+
:type auth_effective_time: datetime
|
|
84
|
+
:param auth_expire_time: 授权到期时间
|
|
85
|
+
:type auth_expire_time: datetime
|
|
86
|
+
:param reject_reason: 拒绝原因
|
|
87
|
+
:type reject_reason: str
|
|
88
|
+
:param customer_id: 主账号id
|
|
89
|
+
:type customer_id: str
|
|
90
|
+
:param x_customer_id: 子用户id
|
|
91
|
+
:type x_customer_id: str
|
|
92
|
+
:param xcustomer_name: 子用户名称
|
|
93
|
+
:type xcustomer_name: str
|
|
94
|
+
:param content_of_auth_letter: 承诺书内容
|
|
95
|
+
:type content_of_auth_letter: str
|
|
96
|
+
"""
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
self._id = None
|
|
101
|
+
self._status = None
|
|
102
|
+
self._incident_id = None
|
|
103
|
+
self._simple_description = None
|
|
104
|
+
self._auth_describe = None
|
|
105
|
+
self._resource_type_id = None
|
|
106
|
+
self._resource_type_name = None
|
|
107
|
+
self._visit_type_id = None
|
|
108
|
+
self._visit_type_name = None
|
|
109
|
+
self._create_time = None
|
|
110
|
+
self._auth_effective_time = None
|
|
111
|
+
self._auth_expire_time = None
|
|
112
|
+
self._reject_reason = None
|
|
113
|
+
self._customer_id = None
|
|
114
|
+
self._x_customer_id = None
|
|
115
|
+
self._xcustomer_name = None
|
|
116
|
+
self._content_of_auth_letter = None
|
|
117
|
+
self.discriminator = None
|
|
118
|
+
|
|
119
|
+
if id is not None:
|
|
120
|
+
self.id = id
|
|
121
|
+
if status is not None:
|
|
122
|
+
self.status = status
|
|
123
|
+
if incident_id is not None:
|
|
124
|
+
self.incident_id = incident_id
|
|
125
|
+
if simple_description is not None:
|
|
126
|
+
self.simple_description = simple_description
|
|
127
|
+
if auth_describe is not None:
|
|
128
|
+
self.auth_describe = auth_describe
|
|
129
|
+
if resource_type_id is not None:
|
|
130
|
+
self.resource_type_id = resource_type_id
|
|
131
|
+
if resource_type_name is not None:
|
|
132
|
+
self.resource_type_name = resource_type_name
|
|
133
|
+
if visit_type_id is not None:
|
|
134
|
+
self.visit_type_id = visit_type_id
|
|
135
|
+
if visit_type_name is not None:
|
|
136
|
+
self.visit_type_name = visit_type_name
|
|
137
|
+
if create_time is not None:
|
|
138
|
+
self.create_time = create_time
|
|
139
|
+
if auth_effective_time is not None:
|
|
140
|
+
self.auth_effective_time = auth_effective_time
|
|
141
|
+
if auth_expire_time is not None:
|
|
142
|
+
self.auth_expire_time = auth_expire_time
|
|
143
|
+
if reject_reason is not None:
|
|
144
|
+
self.reject_reason = reject_reason
|
|
145
|
+
if customer_id is not None:
|
|
146
|
+
self.customer_id = customer_id
|
|
147
|
+
if x_customer_id is not None:
|
|
148
|
+
self.x_customer_id = x_customer_id
|
|
149
|
+
if xcustomer_name is not None:
|
|
150
|
+
self.xcustomer_name = xcustomer_name
|
|
151
|
+
if content_of_auth_letter is not None:
|
|
152
|
+
self.content_of_auth_letter = content_of_auth_letter
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
def id(self):
|
|
156
|
+
r"""Gets the id of this IncidentOrderAuthV2.
|
|
157
|
+
|
|
158
|
+
授权id
|
|
159
|
+
|
|
160
|
+
:return: The id of this IncidentOrderAuthV2.
|
|
161
|
+
:rtype: str
|
|
162
|
+
"""
|
|
163
|
+
return self._id
|
|
164
|
+
|
|
165
|
+
@id.setter
|
|
166
|
+
def id(self, id):
|
|
167
|
+
r"""Sets the id of this IncidentOrderAuthV2.
|
|
168
|
+
|
|
169
|
+
授权id
|
|
170
|
+
|
|
171
|
+
:param id: The id of this IncidentOrderAuthV2.
|
|
172
|
+
:type id: str
|
|
173
|
+
"""
|
|
174
|
+
self._id = id
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
def status(self):
|
|
178
|
+
r"""Gets the status of this IncidentOrderAuthV2.
|
|
179
|
+
|
|
180
|
+
授权状态
|
|
181
|
+
|
|
182
|
+
:return: The status of this IncidentOrderAuthV2.
|
|
183
|
+
:rtype: int
|
|
184
|
+
"""
|
|
185
|
+
return self._status
|
|
186
|
+
|
|
187
|
+
@status.setter
|
|
188
|
+
def status(self, status):
|
|
189
|
+
r"""Sets the status of this IncidentOrderAuthV2.
|
|
190
|
+
|
|
191
|
+
授权状态
|
|
192
|
+
|
|
193
|
+
:param status: The status of this IncidentOrderAuthV2.
|
|
194
|
+
:type status: int
|
|
195
|
+
"""
|
|
196
|
+
self._status = status
|
|
197
|
+
|
|
198
|
+
@property
|
|
199
|
+
def incident_id(self):
|
|
200
|
+
r"""Gets the incident_id of this IncidentOrderAuthV2.
|
|
201
|
+
|
|
202
|
+
工单id
|
|
203
|
+
|
|
204
|
+
:return: The incident_id of this IncidentOrderAuthV2.
|
|
205
|
+
:rtype: str
|
|
206
|
+
"""
|
|
207
|
+
return self._incident_id
|
|
208
|
+
|
|
209
|
+
@incident_id.setter
|
|
210
|
+
def incident_id(self, incident_id):
|
|
211
|
+
r"""Sets the incident_id of this IncidentOrderAuthV2.
|
|
212
|
+
|
|
213
|
+
工单id
|
|
214
|
+
|
|
215
|
+
:param incident_id: The incident_id of this IncidentOrderAuthV2.
|
|
216
|
+
:type incident_id: str
|
|
217
|
+
"""
|
|
218
|
+
self._incident_id = incident_id
|
|
219
|
+
|
|
220
|
+
@property
|
|
221
|
+
def simple_description(self):
|
|
222
|
+
r"""Gets the simple_description of this IncidentOrderAuthV2.
|
|
223
|
+
|
|
224
|
+
简要描述
|
|
225
|
+
|
|
226
|
+
:return: The simple_description of this IncidentOrderAuthV2.
|
|
227
|
+
:rtype: str
|
|
228
|
+
"""
|
|
229
|
+
return self._simple_description
|
|
230
|
+
|
|
231
|
+
@simple_description.setter
|
|
232
|
+
def simple_description(self, simple_description):
|
|
233
|
+
r"""Sets the simple_description of this IncidentOrderAuthV2.
|
|
234
|
+
|
|
235
|
+
简要描述
|
|
236
|
+
|
|
237
|
+
:param simple_description: The simple_description of this IncidentOrderAuthV2.
|
|
238
|
+
:type simple_description: str
|
|
239
|
+
"""
|
|
240
|
+
self._simple_description = simple_description
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
def auth_describe(self):
|
|
244
|
+
r"""Gets the auth_describe of this IncidentOrderAuthV2.
|
|
245
|
+
|
|
246
|
+
授权描述
|
|
247
|
+
|
|
248
|
+
:return: The auth_describe of this IncidentOrderAuthV2.
|
|
249
|
+
:rtype: str
|
|
250
|
+
"""
|
|
251
|
+
return self._auth_describe
|
|
252
|
+
|
|
253
|
+
@auth_describe.setter
|
|
254
|
+
def auth_describe(self, auth_describe):
|
|
255
|
+
r"""Sets the auth_describe of this IncidentOrderAuthV2.
|
|
256
|
+
|
|
257
|
+
授权描述
|
|
258
|
+
|
|
259
|
+
:param auth_describe: The auth_describe of this IncidentOrderAuthV2.
|
|
260
|
+
:type auth_describe: str
|
|
261
|
+
"""
|
|
262
|
+
self._auth_describe = auth_describe
|
|
263
|
+
|
|
264
|
+
@property
|
|
265
|
+
def resource_type_id(self):
|
|
266
|
+
r"""Gets the resource_type_id of this IncidentOrderAuthV2.
|
|
267
|
+
|
|
268
|
+
授权资源类型id
|
|
269
|
+
|
|
270
|
+
:return: The resource_type_id of this IncidentOrderAuthV2.
|
|
271
|
+
:rtype: str
|
|
272
|
+
"""
|
|
273
|
+
return self._resource_type_id
|
|
274
|
+
|
|
275
|
+
@resource_type_id.setter
|
|
276
|
+
def resource_type_id(self, resource_type_id):
|
|
277
|
+
r"""Sets the resource_type_id of this IncidentOrderAuthV2.
|
|
278
|
+
|
|
279
|
+
授权资源类型id
|
|
280
|
+
|
|
281
|
+
:param resource_type_id: The resource_type_id of this IncidentOrderAuthV2.
|
|
282
|
+
:type resource_type_id: str
|
|
283
|
+
"""
|
|
284
|
+
self._resource_type_id = resource_type_id
|
|
285
|
+
|
|
286
|
+
@property
|
|
287
|
+
def resource_type_name(self):
|
|
288
|
+
r"""Gets the resource_type_name of this IncidentOrderAuthV2.
|
|
289
|
+
|
|
290
|
+
授权资源类型名称
|
|
291
|
+
|
|
292
|
+
:return: The resource_type_name of this IncidentOrderAuthV2.
|
|
293
|
+
:rtype: str
|
|
294
|
+
"""
|
|
295
|
+
return self._resource_type_name
|
|
296
|
+
|
|
297
|
+
@resource_type_name.setter
|
|
298
|
+
def resource_type_name(self, resource_type_name):
|
|
299
|
+
r"""Sets the resource_type_name of this IncidentOrderAuthV2.
|
|
300
|
+
|
|
301
|
+
授权资源类型名称
|
|
302
|
+
|
|
303
|
+
:param resource_type_name: The resource_type_name of this IncidentOrderAuthV2.
|
|
304
|
+
:type resource_type_name: str
|
|
305
|
+
"""
|
|
306
|
+
self._resource_type_name = resource_type_name
|
|
307
|
+
|
|
308
|
+
@property
|
|
309
|
+
def visit_type_id(self):
|
|
310
|
+
r"""Gets the visit_type_id of this IncidentOrderAuthV2.
|
|
311
|
+
|
|
312
|
+
授权访问类型id
|
|
313
|
+
|
|
314
|
+
:return: The visit_type_id of this IncidentOrderAuthV2.
|
|
315
|
+
:rtype: str
|
|
316
|
+
"""
|
|
317
|
+
return self._visit_type_id
|
|
318
|
+
|
|
319
|
+
@visit_type_id.setter
|
|
320
|
+
def visit_type_id(self, visit_type_id):
|
|
321
|
+
r"""Sets the visit_type_id of this IncidentOrderAuthV2.
|
|
322
|
+
|
|
323
|
+
授权访问类型id
|
|
324
|
+
|
|
325
|
+
:param visit_type_id: The visit_type_id of this IncidentOrderAuthV2.
|
|
326
|
+
:type visit_type_id: str
|
|
327
|
+
"""
|
|
328
|
+
self._visit_type_id = visit_type_id
|
|
329
|
+
|
|
330
|
+
@property
|
|
331
|
+
def visit_type_name(self):
|
|
332
|
+
r"""Gets the visit_type_name of this IncidentOrderAuthV2.
|
|
333
|
+
|
|
334
|
+
授权访问类型名称
|
|
335
|
+
|
|
336
|
+
:return: The visit_type_name of this IncidentOrderAuthV2.
|
|
337
|
+
:rtype: str
|
|
338
|
+
"""
|
|
339
|
+
return self._visit_type_name
|
|
340
|
+
|
|
341
|
+
@visit_type_name.setter
|
|
342
|
+
def visit_type_name(self, visit_type_name):
|
|
343
|
+
r"""Sets the visit_type_name of this IncidentOrderAuthV2.
|
|
344
|
+
|
|
345
|
+
授权访问类型名称
|
|
346
|
+
|
|
347
|
+
:param visit_type_name: The visit_type_name of this IncidentOrderAuthV2.
|
|
348
|
+
:type visit_type_name: str
|
|
349
|
+
"""
|
|
350
|
+
self._visit_type_name = visit_type_name
|
|
351
|
+
|
|
352
|
+
@property
|
|
353
|
+
def create_time(self):
|
|
354
|
+
r"""Gets the create_time of this IncidentOrderAuthV2.
|
|
355
|
+
|
|
356
|
+
创建时间
|
|
357
|
+
|
|
358
|
+
:return: The create_time of this IncidentOrderAuthV2.
|
|
359
|
+
:rtype: datetime
|
|
360
|
+
"""
|
|
361
|
+
return self._create_time
|
|
362
|
+
|
|
363
|
+
@create_time.setter
|
|
364
|
+
def create_time(self, create_time):
|
|
365
|
+
r"""Sets the create_time of this IncidentOrderAuthV2.
|
|
366
|
+
|
|
367
|
+
创建时间
|
|
368
|
+
|
|
369
|
+
:param create_time: The create_time of this IncidentOrderAuthV2.
|
|
370
|
+
:type create_time: datetime
|
|
371
|
+
"""
|
|
372
|
+
self._create_time = create_time
|
|
373
|
+
|
|
374
|
+
@property
|
|
375
|
+
def auth_effective_time(self):
|
|
376
|
+
r"""Gets the auth_effective_time of this IncidentOrderAuthV2.
|
|
377
|
+
|
|
378
|
+
授权生效时间
|
|
379
|
+
|
|
380
|
+
:return: The auth_effective_time of this IncidentOrderAuthV2.
|
|
381
|
+
:rtype: datetime
|
|
382
|
+
"""
|
|
383
|
+
return self._auth_effective_time
|
|
384
|
+
|
|
385
|
+
@auth_effective_time.setter
|
|
386
|
+
def auth_effective_time(self, auth_effective_time):
|
|
387
|
+
r"""Sets the auth_effective_time of this IncidentOrderAuthV2.
|
|
388
|
+
|
|
389
|
+
授权生效时间
|
|
390
|
+
|
|
391
|
+
:param auth_effective_time: The auth_effective_time of this IncidentOrderAuthV2.
|
|
392
|
+
:type auth_effective_time: datetime
|
|
393
|
+
"""
|
|
394
|
+
self._auth_effective_time = auth_effective_time
|
|
395
|
+
|
|
396
|
+
@property
|
|
397
|
+
def auth_expire_time(self):
|
|
398
|
+
r"""Gets the auth_expire_time of this IncidentOrderAuthV2.
|
|
399
|
+
|
|
400
|
+
授权到期时间
|
|
401
|
+
|
|
402
|
+
:return: The auth_expire_time of this IncidentOrderAuthV2.
|
|
403
|
+
:rtype: datetime
|
|
404
|
+
"""
|
|
405
|
+
return self._auth_expire_time
|
|
406
|
+
|
|
407
|
+
@auth_expire_time.setter
|
|
408
|
+
def auth_expire_time(self, auth_expire_time):
|
|
409
|
+
r"""Sets the auth_expire_time of this IncidentOrderAuthV2.
|
|
410
|
+
|
|
411
|
+
授权到期时间
|
|
412
|
+
|
|
413
|
+
:param auth_expire_time: The auth_expire_time of this IncidentOrderAuthV2.
|
|
414
|
+
:type auth_expire_time: datetime
|
|
415
|
+
"""
|
|
416
|
+
self._auth_expire_time = auth_expire_time
|
|
417
|
+
|
|
418
|
+
@property
|
|
419
|
+
def reject_reason(self):
|
|
420
|
+
r"""Gets the reject_reason of this IncidentOrderAuthV2.
|
|
421
|
+
|
|
422
|
+
拒绝原因
|
|
423
|
+
|
|
424
|
+
:return: The reject_reason of this IncidentOrderAuthV2.
|
|
425
|
+
:rtype: str
|
|
426
|
+
"""
|
|
427
|
+
return self._reject_reason
|
|
428
|
+
|
|
429
|
+
@reject_reason.setter
|
|
430
|
+
def reject_reason(self, reject_reason):
|
|
431
|
+
r"""Sets the reject_reason of this IncidentOrderAuthV2.
|
|
432
|
+
|
|
433
|
+
拒绝原因
|
|
434
|
+
|
|
435
|
+
:param reject_reason: The reject_reason of this IncidentOrderAuthV2.
|
|
436
|
+
:type reject_reason: str
|
|
437
|
+
"""
|
|
438
|
+
self._reject_reason = reject_reason
|
|
439
|
+
|
|
440
|
+
@property
|
|
441
|
+
def customer_id(self):
|
|
442
|
+
r"""Gets the customer_id of this IncidentOrderAuthV2.
|
|
443
|
+
|
|
444
|
+
主账号id
|
|
445
|
+
|
|
446
|
+
:return: The customer_id of this IncidentOrderAuthV2.
|
|
447
|
+
:rtype: str
|
|
448
|
+
"""
|
|
449
|
+
return self._customer_id
|
|
450
|
+
|
|
451
|
+
@customer_id.setter
|
|
452
|
+
def customer_id(self, customer_id):
|
|
453
|
+
r"""Sets the customer_id of this IncidentOrderAuthV2.
|
|
454
|
+
|
|
455
|
+
主账号id
|
|
456
|
+
|
|
457
|
+
:param customer_id: The customer_id of this IncidentOrderAuthV2.
|
|
458
|
+
:type customer_id: str
|
|
459
|
+
"""
|
|
460
|
+
self._customer_id = customer_id
|
|
461
|
+
|
|
462
|
+
@property
|
|
463
|
+
def x_customer_id(self):
|
|
464
|
+
r"""Gets the x_customer_id of this IncidentOrderAuthV2.
|
|
465
|
+
|
|
466
|
+
子用户id
|
|
467
|
+
|
|
468
|
+
:return: The x_customer_id of this IncidentOrderAuthV2.
|
|
469
|
+
:rtype: str
|
|
470
|
+
"""
|
|
471
|
+
return self._x_customer_id
|
|
472
|
+
|
|
473
|
+
@x_customer_id.setter
|
|
474
|
+
def x_customer_id(self, x_customer_id):
|
|
475
|
+
r"""Sets the x_customer_id of this IncidentOrderAuthV2.
|
|
476
|
+
|
|
477
|
+
子用户id
|
|
478
|
+
|
|
479
|
+
:param x_customer_id: The x_customer_id of this IncidentOrderAuthV2.
|
|
480
|
+
:type x_customer_id: str
|
|
481
|
+
"""
|
|
482
|
+
self._x_customer_id = x_customer_id
|
|
483
|
+
|
|
484
|
+
@property
|
|
485
|
+
def xcustomer_name(self):
|
|
486
|
+
r"""Gets the xcustomer_name of this IncidentOrderAuthV2.
|
|
487
|
+
|
|
488
|
+
子用户名称
|
|
489
|
+
|
|
490
|
+
:return: The xcustomer_name of this IncidentOrderAuthV2.
|
|
491
|
+
:rtype: str
|
|
492
|
+
"""
|
|
493
|
+
return self._xcustomer_name
|
|
494
|
+
|
|
495
|
+
@xcustomer_name.setter
|
|
496
|
+
def xcustomer_name(self, xcustomer_name):
|
|
497
|
+
r"""Sets the xcustomer_name of this IncidentOrderAuthV2.
|
|
498
|
+
|
|
499
|
+
子用户名称
|
|
500
|
+
|
|
501
|
+
:param xcustomer_name: The xcustomer_name of this IncidentOrderAuthV2.
|
|
502
|
+
:type xcustomer_name: str
|
|
503
|
+
"""
|
|
504
|
+
self._xcustomer_name = xcustomer_name
|
|
505
|
+
|
|
506
|
+
@property
|
|
507
|
+
def content_of_auth_letter(self):
|
|
508
|
+
r"""Gets the content_of_auth_letter of this IncidentOrderAuthV2.
|
|
509
|
+
|
|
510
|
+
承诺书内容
|
|
511
|
+
|
|
512
|
+
:return: The content_of_auth_letter of this IncidentOrderAuthV2.
|
|
513
|
+
:rtype: str
|
|
514
|
+
"""
|
|
515
|
+
return self._content_of_auth_letter
|
|
516
|
+
|
|
517
|
+
@content_of_auth_letter.setter
|
|
518
|
+
def content_of_auth_letter(self, content_of_auth_letter):
|
|
519
|
+
r"""Sets the content_of_auth_letter of this IncidentOrderAuthV2.
|
|
520
|
+
|
|
521
|
+
承诺书内容
|
|
522
|
+
|
|
523
|
+
:param content_of_auth_letter: The content_of_auth_letter of this IncidentOrderAuthV2.
|
|
524
|
+
:type content_of_auth_letter: str
|
|
525
|
+
"""
|
|
526
|
+
self._content_of_auth_letter = content_of_auth_letter
|
|
527
|
+
|
|
528
|
+
def to_dict(self):
|
|
529
|
+
result = {}
|
|
530
|
+
|
|
531
|
+
for attr, _ in self.openapi_types.items():
|
|
532
|
+
value = getattr(self, attr)
|
|
533
|
+
if isinstance(value, list):
|
|
534
|
+
result[attr] = list(map(
|
|
535
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
536
|
+
value
|
|
537
|
+
))
|
|
538
|
+
elif hasattr(value, "to_dict"):
|
|
539
|
+
result[attr] = value.to_dict()
|
|
540
|
+
elif isinstance(value, dict):
|
|
541
|
+
result[attr] = dict(map(
|
|
542
|
+
lambda item: (item[0], item[1].to_dict())
|
|
543
|
+
if hasattr(item[1], "to_dict") else item,
|
|
544
|
+
value.items()
|
|
545
|
+
))
|
|
546
|
+
else:
|
|
547
|
+
if attr in self.sensitive_list:
|
|
548
|
+
result[attr] = "****"
|
|
549
|
+
else:
|
|
550
|
+
result[attr] = value
|
|
551
|
+
|
|
552
|
+
return result
|
|
553
|
+
|
|
554
|
+
def to_str(self):
|
|
555
|
+
"""Returns the string representation of the model"""
|
|
556
|
+
import simplejson as json
|
|
557
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
558
|
+
|
|
559
|
+
def __repr__(self):
|
|
560
|
+
"""For `print`"""
|
|
561
|
+
return self.to_str()
|
|
562
|
+
|
|
563
|
+
def __eq__(self, other):
|
|
564
|
+
"""Returns true if both objects are equal"""
|
|
565
|
+
if not isinstance(other, IncidentOrderAuthV2):
|
|
566
|
+
return False
|
|
567
|
+
|
|
568
|
+
return self.__dict__ == other.__dict__
|
|
569
|
+
|
|
570
|
+
def __ne__(self, other):
|
|
571
|
+
"""Returns true if both objects are not equal"""
|
|
572
|
+
return not self == other
|