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,369 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListAuthorizationsRequest:
|
|
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
|
+
'sub_customer_name': 'str',
|
|
19
|
+
'incident_id': 'str',
|
|
20
|
+
'status': 'int',
|
|
21
|
+
'simple_description': 'str',
|
|
22
|
+
'offset': 'int',
|
|
23
|
+
'limit': 'int',
|
|
24
|
+
'group_id': 'str',
|
|
25
|
+
'x_site': 'int',
|
|
26
|
+
'x_language': 'str',
|
|
27
|
+
'x_time_zone': 'str'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
attribute_map = {
|
|
31
|
+
'sub_customer_name': 'sub_customer_name',
|
|
32
|
+
'incident_id': 'incident_id',
|
|
33
|
+
'status': 'status',
|
|
34
|
+
'simple_description': 'simple_description',
|
|
35
|
+
'offset': 'offset',
|
|
36
|
+
'limit': 'limit',
|
|
37
|
+
'group_id': 'group_id',
|
|
38
|
+
'x_site': 'X-Site',
|
|
39
|
+
'x_language': 'X-Language',
|
|
40
|
+
'x_time_zone': 'X-Time-Zone'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, sub_customer_name=None, incident_id=None, status=None, simple_description=None, offset=None, limit=None, group_id=None, x_site=None, x_language=None, x_time_zone=None):
|
|
44
|
+
r"""ListAuthorizationsRequest
|
|
45
|
+
|
|
46
|
+
The model defined in huaweicloud sdk
|
|
47
|
+
|
|
48
|
+
:param sub_customer_name: 子用户名称
|
|
49
|
+
:type sub_customer_name: str
|
|
50
|
+
:param incident_id: 工单id
|
|
51
|
+
:type incident_id: str
|
|
52
|
+
:param status: 授权状态
|
|
53
|
+
:type status: int
|
|
54
|
+
:param simple_description: 简要描述
|
|
55
|
+
:type simple_description: str
|
|
56
|
+
:param offset: 查询偏移量
|
|
57
|
+
:type offset: int
|
|
58
|
+
:param limit: 查询限制条数
|
|
59
|
+
:type limit: int
|
|
60
|
+
:param group_id: 华为云IAM组id,同组其他工单时,该id必传
|
|
61
|
+
:type group_id: str
|
|
62
|
+
:param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
63
|
+
:type x_site: int
|
|
64
|
+
:param x_language: 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
65
|
+
:type x_language: str
|
|
66
|
+
:param x_time_zone: 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
67
|
+
:type x_time_zone: str
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
self._sub_customer_name = None
|
|
73
|
+
self._incident_id = None
|
|
74
|
+
self._status = None
|
|
75
|
+
self._simple_description = None
|
|
76
|
+
self._offset = None
|
|
77
|
+
self._limit = None
|
|
78
|
+
self._group_id = None
|
|
79
|
+
self._x_site = None
|
|
80
|
+
self._x_language = None
|
|
81
|
+
self._x_time_zone = None
|
|
82
|
+
self.discriminator = None
|
|
83
|
+
|
|
84
|
+
if sub_customer_name is not None:
|
|
85
|
+
self.sub_customer_name = sub_customer_name
|
|
86
|
+
if incident_id is not None:
|
|
87
|
+
self.incident_id = incident_id
|
|
88
|
+
if status is not None:
|
|
89
|
+
self.status = status
|
|
90
|
+
if simple_description is not None:
|
|
91
|
+
self.simple_description = simple_description
|
|
92
|
+
if offset is not None:
|
|
93
|
+
self.offset = offset
|
|
94
|
+
if limit is not None:
|
|
95
|
+
self.limit = limit
|
|
96
|
+
if group_id is not None:
|
|
97
|
+
self.group_id = group_id
|
|
98
|
+
if x_site is not None:
|
|
99
|
+
self.x_site = x_site
|
|
100
|
+
if x_language is not None:
|
|
101
|
+
self.x_language = x_language
|
|
102
|
+
if x_time_zone is not None:
|
|
103
|
+
self.x_time_zone = x_time_zone
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def sub_customer_name(self):
|
|
107
|
+
r"""Gets the sub_customer_name of this ListAuthorizationsRequest.
|
|
108
|
+
|
|
109
|
+
子用户名称
|
|
110
|
+
|
|
111
|
+
:return: The sub_customer_name of this ListAuthorizationsRequest.
|
|
112
|
+
:rtype: str
|
|
113
|
+
"""
|
|
114
|
+
return self._sub_customer_name
|
|
115
|
+
|
|
116
|
+
@sub_customer_name.setter
|
|
117
|
+
def sub_customer_name(self, sub_customer_name):
|
|
118
|
+
r"""Sets the sub_customer_name of this ListAuthorizationsRequest.
|
|
119
|
+
|
|
120
|
+
子用户名称
|
|
121
|
+
|
|
122
|
+
:param sub_customer_name: The sub_customer_name of this ListAuthorizationsRequest.
|
|
123
|
+
:type sub_customer_name: str
|
|
124
|
+
"""
|
|
125
|
+
self._sub_customer_name = sub_customer_name
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def incident_id(self):
|
|
129
|
+
r"""Gets the incident_id of this ListAuthorizationsRequest.
|
|
130
|
+
|
|
131
|
+
工单id
|
|
132
|
+
|
|
133
|
+
:return: The incident_id of this ListAuthorizationsRequest.
|
|
134
|
+
:rtype: str
|
|
135
|
+
"""
|
|
136
|
+
return self._incident_id
|
|
137
|
+
|
|
138
|
+
@incident_id.setter
|
|
139
|
+
def incident_id(self, incident_id):
|
|
140
|
+
r"""Sets the incident_id of this ListAuthorizationsRequest.
|
|
141
|
+
|
|
142
|
+
工单id
|
|
143
|
+
|
|
144
|
+
:param incident_id: The incident_id of this ListAuthorizationsRequest.
|
|
145
|
+
:type incident_id: str
|
|
146
|
+
"""
|
|
147
|
+
self._incident_id = incident_id
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def status(self):
|
|
151
|
+
r"""Gets the status of this ListAuthorizationsRequest.
|
|
152
|
+
|
|
153
|
+
授权状态
|
|
154
|
+
|
|
155
|
+
:return: The status of this ListAuthorizationsRequest.
|
|
156
|
+
:rtype: int
|
|
157
|
+
"""
|
|
158
|
+
return self._status
|
|
159
|
+
|
|
160
|
+
@status.setter
|
|
161
|
+
def status(self, status):
|
|
162
|
+
r"""Sets the status of this ListAuthorizationsRequest.
|
|
163
|
+
|
|
164
|
+
授权状态
|
|
165
|
+
|
|
166
|
+
:param status: The status of this ListAuthorizationsRequest.
|
|
167
|
+
:type status: int
|
|
168
|
+
"""
|
|
169
|
+
self._status = status
|
|
170
|
+
|
|
171
|
+
@property
|
|
172
|
+
def simple_description(self):
|
|
173
|
+
r"""Gets the simple_description of this ListAuthorizationsRequest.
|
|
174
|
+
|
|
175
|
+
简要描述
|
|
176
|
+
|
|
177
|
+
:return: The simple_description of this ListAuthorizationsRequest.
|
|
178
|
+
:rtype: str
|
|
179
|
+
"""
|
|
180
|
+
return self._simple_description
|
|
181
|
+
|
|
182
|
+
@simple_description.setter
|
|
183
|
+
def simple_description(self, simple_description):
|
|
184
|
+
r"""Sets the simple_description of this ListAuthorizationsRequest.
|
|
185
|
+
|
|
186
|
+
简要描述
|
|
187
|
+
|
|
188
|
+
:param simple_description: The simple_description of this ListAuthorizationsRequest.
|
|
189
|
+
:type simple_description: str
|
|
190
|
+
"""
|
|
191
|
+
self._simple_description = simple_description
|
|
192
|
+
|
|
193
|
+
@property
|
|
194
|
+
def offset(self):
|
|
195
|
+
r"""Gets the offset of this ListAuthorizationsRequest.
|
|
196
|
+
|
|
197
|
+
查询偏移量
|
|
198
|
+
|
|
199
|
+
:return: The offset of this ListAuthorizationsRequest.
|
|
200
|
+
:rtype: int
|
|
201
|
+
"""
|
|
202
|
+
return self._offset
|
|
203
|
+
|
|
204
|
+
@offset.setter
|
|
205
|
+
def offset(self, offset):
|
|
206
|
+
r"""Sets the offset of this ListAuthorizationsRequest.
|
|
207
|
+
|
|
208
|
+
查询偏移量
|
|
209
|
+
|
|
210
|
+
:param offset: The offset of this ListAuthorizationsRequest.
|
|
211
|
+
:type offset: int
|
|
212
|
+
"""
|
|
213
|
+
self._offset = offset
|
|
214
|
+
|
|
215
|
+
@property
|
|
216
|
+
def limit(self):
|
|
217
|
+
r"""Gets the limit of this ListAuthorizationsRequest.
|
|
218
|
+
|
|
219
|
+
查询限制条数
|
|
220
|
+
|
|
221
|
+
:return: The limit of this ListAuthorizationsRequest.
|
|
222
|
+
:rtype: int
|
|
223
|
+
"""
|
|
224
|
+
return self._limit
|
|
225
|
+
|
|
226
|
+
@limit.setter
|
|
227
|
+
def limit(self, limit):
|
|
228
|
+
r"""Sets the limit of this ListAuthorizationsRequest.
|
|
229
|
+
|
|
230
|
+
查询限制条数
|
|
231
|
+
|
|
232
|
+
:param limit: The limit of this ListAuthorizationsRequest.
|
|
233
|
+
:type limit: int
|
|
234
|
+
"""
|
|
235
|
+
self._limit = limit
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def group_id(self):
|
|
239
|
+
r"""Gets the group_id of this ListAuthorizationsRequest.
|
|
240
|
+
|
|
241
|
+
华为云IAM组id,同组其他工单时,该id必传
|
|
242
|
+
|
|
243
|
+
:return: The group_id of this ListAuthorizationsRequest.
|
|
244
|
+
:rtype: str
|
|
245
|
+
"""
|
|
246
|
+
return self._group_id
|
|
247
|
+
|
|
248
|
+
@group_id.setter
|
|
249
|
+
def group_id(self, group_id):
|
|
250
|
+
r"""Sets the group_id of this ListAuthorizationsRequest.
|
|
251
|
+
|
|
252
|
+
华为云IAM组id,同组其他工单时,该id必传
|
|
253
|
+
|
|
254
|
+
:param group_id: The group_id of this ListAuthorizationsRequest.
|
|
255
|
+
:type group_id: str
|
|
256
|
+
"""
|
|
257
|
+
self._group_id = group_id
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
def x_site(self):
|
|
261
|
+
r"""Gets the x_site of this ListAuthorizationsRequest.
|
|
262
|
+
|
|
263
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
264
|
+
|
|
265
|
+
:return: The x_site of this ListAuthorizationsRequest.
|
|
266
|
+
:rtype: int
|
|
267
|
+
"""
|
|
268
|
+
return self._x_site
|
|
269
|
+
|
|
270
|
+
@x_site.setter
|
|
271
|
+
def x_site(self, x_site):
|
|
272
|
+
r"""Sets the x_site of this ListAuthorizationsRequest.
|
|
273
|
+
|
|
274
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
275
|
+
|
|
276
|
+
:param x_site: The x_site of this ListAuthorizationsRequest.
|
|
277
|
+
:type x_site: int
|
|
278
|
+
"""
|
|
279
|
+
self._x_site = x_site
|
|
280
|
+
|
|
281
|
+
@property
|
|
282
|
+
def x_language(self):
|
|
283
|
+
r"""Gets the x_language of this ListAuthorizationsRequest.
|
|
284
|
+
|
|
285
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
286
|
+
|
|
287
|
+
:return: The x_language of this ListAuthorizationsRequest.
|
|
288
|
+
:rtype: str
|
|
289
|
+
"""
|
|
290
|
+
return self._x_language
|
|
291
|
+
|
|
292
|
+
@x_language.setter
|
|
293
|
+
def x_language(self, x_language):
|
|
294
|
+
r"""Sets the x_language of this ListAuthorizationsRequest.
|
|
295
|
+
|
|
296
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
297
|
+
|
|
298
|
+
:param x_language: The x_language of this ListAuthorizationsRequest.
|
|
299
|
+
:type x_language: str
|
|
300
|
+
"""
|
|
301
|
+
self._x_language = x_language
|
|
302
|
+
|
|
303
|
+
@property
|
|
304
|
+
def x_time_zone(self):
|
|
305
|
+
r"""Gets the x_time_zone of this ListAuthorizationsRequest.
|
|
306
|
+
|
|
307
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
308
|
+
|
|
309
|
+
:return: The x_time_zone of this ListAuthorizationsRequest.
|
|
310
|
+
:rtype: str
|
|
311
|
+
"""
|
|
312
|
+
return self._x_time_zone
|
|
313
|
+
|
|
314
|
+
@x_time_zone.setter
|
|
315
|
+
def x_time_zone(self, x_time_zone):
|
|
316
|
+
r"""Sets the x_time_zone of this ListAuthorizationsRequest.
|
|
317
|
+
|
|
318
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
319
|
+
|
|
320
|
+
:param x_time_zone: The x_time_zone of this ListAuthorizationsRequest.
|
|
321
|
+
:type x_time_zone: str
|
|
322
|
+
"""
|
|
323
|
+
self._x_time_zone = x_time_zone
|
|
324
|
+
|
|
325
|
+
def to_dict(self):
|
|
326
|
+
result = {}
|
|
327
|
+
|
|
328
|
+
for attr, _ in self.openapi_types.items():
|
|
329
|
+
value = getattr(self, attr)
|
|
330
|
+
if isinstance(value, list):
|
|
331
|
+
result[attr] = list(map(
|
|
332
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
333
|
+
value
|
|
334
|
+
))
|
|
335
|
+
elif hasattr(value, "to_dict"):
|
|
336
|
+
result[attr] = value.to_dict()
|
|
337
|
+
elif isinstance(value, dict):
|
|
338
|
+
result[attr] = dict(map(
|
|
339
|
+
lambda item: (item[0], item[1].to_dict())
|
|
340
|
+
if hasattr(item[1], "to_dict") else item,
|
|
341
|
+
value.items()
|
|
342
|
+
))
|
|
343
|
+
else:
|
|
344
|
+
if attr in self.sensitive_list:
|
|
345
|
+
result[attr] = "****"
|
|
346
|
+
else:
|
|
347
|
+
result[attr] = value
|
|
348
|
+
|
|
349
|
+
return result
|
|
350
|
+
|
|
351
|
+
def to_str(self):
|
|
352
|
+
"""Returns the string representation of the model"""
|
|
353
|
+
import simplejson as json
|
|
354
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
355
|
+
|
|
356
|
+
def __repr__(self):
|
|
357
|
+
"""For `print`"""
|
|
358
|
+
return self.to_str()
|
|
359
|
+
|
|
360
|
+
def __eq__(self, other):
|
|
361
|
+
"""Returns true if both objects are equal"""
|
|
362
|
+
if not isinstance(other, ListAuthorizationsRequest):
|
|
363
|
+
return False
|
|
364
|
+
|
|
365
|
+
return self.__dict__ == other.__dict__
|
|
366
|
+
|
|
367
|
+
def __ne__(self, other):
|
|
368
|
+
"""Returns true if both objects are not equal"""
|
|
369
|
+
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 ListAuthorizationsResponse(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
|
+
'count': 'int',
|
|
20
|
+
'incident_auth_list': 'list[IncidentOrderAuthV2]'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'count': 'count',
|
|
25
|
+
'incident_auth_list': 'incident_auth_list'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
def __init__(self, count=None, incident_auth_list=None):
|
|
29
|
+
r"""ListAuthorizationsResponse
|
|
30
|
+
|
|
31
|
+
The model defined in huaweicloud sdk
|
|
32
|
+
|
|
33
|
+
:param count: 总数
|
|
34
|
+
:type count: int
|
|
35
|
+
:param incident_auth_list: 授权列表
|
|
36
|
+
:type incident_auth_list: list[:class:`huaweicloudsdkosm.v2.IncidentOrderAuthV2`]
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
super().__init__()
|
|
40
|
+
|
|
41
|
+
self._count = None
|
|
42
|
+
self._incident_auth_list = None
|
|
43
|
+
self.discriminator = None
|
|
44
|
+
|
|
45
|
+
if count is not None:
|
|
46
|
+
self.count = count
|
|
47
|
+
if incident_auth_list is not None:
|
|
48
|
+
self.incident_auth_list = incident_auth_list
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def count(self):
|
|
52
|
+
r"""Gets the count of this ListAuthorizationsResponse.
|
|
53
|
+
|
|
54
|
+
总数
|
|
55
|
+
|
|
56
|
+
:return: The count of this ListAuthorizationsResponse.
|
|
57
|
+
:rtype: int
|
|
58
|
+
"""
|
|
59
|
+
return self._count
|
|
60
|
+
|
|
61
|
+
@count.setter
|
|
62
|
+
def count(self, count):
|
|
63
|
+
r"""Sets the count of this ListAuthorizationsResponse.
|
|
64
|
+
|
|
65
|
+
总数
|
|
66
|
+
|
|
67
|
+
:param count: The count of this ListAuthorizationsResponse.
|
|
68
|
+
:type count: int
|
|
69
|
+
"""
|
|
70
|
+
self._count = count
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def incident_auth_list(self):
|
|
74
|
+
r"""Gets the incident_auth_list of this ListAuthorizationsResponse.
|
|
75
|
+
|
|
76
|
+
授权列表
|
|
77
|
+
|
|
78
|
+
:return: The incident_auth_list of this ListAuthorizationsResponse.
|
|
79
|
+
:rtype: list[:class:`huaweicloudsdkosm.v2.IncidentOrderAuthV2`]
|
|
80
|
+
"""
|
|
81
|
+
return self._incident_auth_list
|
|
82
|
+
|
|
83
|
+
@incident_auth_list.setter
|
|
84
|
+
def incident_auth_list(self, incident_auth_list):
|
|
85
|
+
r"""Sets the incident_auth_list of this ListAuthorizationsResponse.
|
|
86
|
+
|
|
87
|
+
授权列表
|
|
88
|
+
|
|
89
|
+
:param incident_auth_list: The incident_auth_list of this ListAuthorizationsResponse.
|
|
90
|
+
:type incident_auth_list: list[:class:`huaweicloudsdkosm.v2.IncidentOrderAuthV2`]
|
|
91
|
+
"""
|
|
92
|
+
self._incident_auth_list = incident_auth_list
|
|
93
|
+
|
|
94
|
+
def to_dict(self):
|
|
95
|
+
import warnings
|
|
96
|
+
warnings.warn("ListAuthorizationsResponse.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, ListAuthorizationsResponse):
|
|
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,166 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListCaseCategoriesRequest:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'x_site': 'int',
|
|
19
|
+
'x_language': 'str',
|
|
20
|
+
'x_time_zone': 'str'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'x_site': 'X-Site',
|
|
25
|
+
'x_language': 'X-Language',
|
|
26
|
+
'x_time_zone': 'X-Time-Zone'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, x_site=None, x_language=None, x_time_zone=None):
|
|
30
|
+
r"""ListCaseCategoriesRequest
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
35
|
+
:type x_site: int
|
|
36
|
+
:param x_language: 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
37
|
+
:type x_language: str
|
|
38
|
+
:param x_time_zone: 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
39
|
+
:type x_time_zone: str
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
self._x_site = None
|
|
45
|
+
self._x_language = None
|
|
46
|
+
self._x_time_zone = None
|
|
47
|
+
self.discriminator = None
|
|
48
|
+
|
|
49
|
+
if x_site is not None:
|
|
50
|
+
self.x_site = x_site
|
|
51
|
+
if x_language is not None:
|
|
52
|
+
self.x_language = x_language
|
|
53
|
+
if x_time_zone is not None:
|
|
54
|
+
self.x_time_zone = x_time_zone
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
def x_site(self):
|
|
58
|
+
r"""Gets the x_site of this ListCaseCategoriesRequest.
|
|
59
|
+
|
|
60
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
61
|
+
|
|
62
|
+
:return: The x_site of this ListCaseCategoriesRequest.
|
|
63
|
+
:rtype: int
|
|
64
|
+
"""
|
|
65
|
+
return self._x_site
|
|
66
|
+
|
|
67
|
+
@x_site.setter
|
|
68
|
+
def x_site(self, x_site):
|
|
69
|
+
r"""Sets the x_site of this ListCaseCategoriesRequest.
|
|
70
|
+
|
|
71
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
72
|
+
|
|
73
|
+
:param x_site: The x_site of this ListCaseCategoriesRequest.
|
|
74
|
+
:type x_site: int
|
|
75
|
+
"""
|
|
76
|
+
self._x_site = x_site
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def x_language(self):
|
|
80
|
+
r"""Gets the x_language of this ListCaseCategoriesRequest.
|
|
81
|
+
|
|
82
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
83
|
+
|
|
84
|
+
:return: The x_language of this ListCaseCategoriesRequest.
|
|
85
|
+
:rtype: str
|
|
86
|
+
"""
|
|
87
|
+
return self._x_language
|
|
88
|
+
|
|
89
|
+
@x_language.setter
|
|
90
|
+
def x_language(self, x_language):
|
|
91
|
+
r"""Sets the x_language of this ListCaseCategoriesRequest.
|
|
92
|
+
|
|
93
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
94
|
+
|
|
95
|
+
:param x_language: The x_language of this ListCaseCategoriesRequest.
|
|
96
|
+
:type x_language: str
|
|
97
|
+
"""
|
|
98
|
+
self._x_language = x_language
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def x_time_zone(self):
|
|
102
|
+
r"""Gets the x_time_zone of this ListCaseCategoriesRequest.
|
|
103
|
+
|
|
104
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
105
|
+
|
|
106
|
+
:return: The x_time_zone of this ListCaseCategoriesRequest.
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._x_time_zone
|
|
110
|
+
|
|
111
|
+
@x_time_zone.setter
|
|
112
|
+
def x_time_zone(self, x_time_zone):
|
|
113
|
+
r"""Sets the x_time_zone of this ListCaseCategoriesRequest.
|
|
114
|
+
|
|
115
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
116
|
+
|
|
117
|
+
:param x_time_zone: The x_time_zone of this ListCaseCategoriesRequest.
|
|
118
|
+
:type x_time_zone: str
|
|
119
|
+
"""
|
|
120
|
+
self._x_time_zone = x_time_zone
|
|
121
|
+
|
|
122
|
+
def to_dict(self):
|
|
123
|
+
result = {}
|
|
124
|
+
|
|
125
|
+
for attr, _ in self.openapi_types.items():
|
|
126
|
+
value = getattr(self, attr)
|
|
127
|
+
if isinstance(value, list):
|
|
128
|
+
result[attr] = list(map(
|
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
130
|
+
value
|
|
131
|
+
))
|
|
132
|
+
elif hasattr(value, "to_dict"):
|
|
133
|
+
result[attr] = value.to_dict()
|
|
134
|
+
elif isinstance(value, dict):
|
|
135
|
+
result[attr] = dict(map(
|
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
|
138
|
+
value.items()
|
|
139
|
+
))
|
|
140
|
+
else:
|
|
141
|
+
if attr in self.sensitive_list:
|
|
142
|
+
result[attr] = "****"
|
|
143
|
+
else:
|
|
144
|
+
result[attr] = value
|
|
145
|
+
|
|
146
|
+
return result
|
|
147
|
+
|
|
148
|
+
def to_str(self):
|
|
149
|
+
"""Returns the string representation of the model"""
|
|
150
|
+
import simplejson as json
|
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
152
|
+
|
|
153
|
+
def __repr__(self):
|
|
154
|
+
"""For `print`"""
|
|
155
|
+
return self.to_str()
|
|
156
|
+
|
|
157
|
+
def __eq__(self, other):
|
|
158
|
+
"""Returns true if both objects are equal"""
|
|
159
|
+
if not isinstance(other, ListCaseCategoriesRequest):
|
|
160
|
+
return False
|
|
161
|
+
|
|
162
|
+
return self.__dict__ == other.__dict__
|
|
163
|
+
|
|
164
|
+
def __ne__(self, other):
|
|
165
|
+
"""Returns true if both objects are not equal"""
|
|
166
|
+
return not self == other
|