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,281 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListCaseOperateLogsRequest:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'case_id': 'str',
|
|
19
|
+
'group_id': 'str',
|
|
20
|
+
'offset': 'int',
|
|
21
|
+
'limit': 'int',
|
|
22
|
+
'x_site': 'int',
|
|
23
|
+
'x_language': 'str',
|
|
24
|
+
'x_time_zone': 'str'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
attribute_map = {
|
|
28
|
+
'case_id': 'case_id',
|
|
29
|
+
'group_id': 'group_id',
|
|
30
|
+
'offset': 'offset',
|
|
31
|
+
'limit': 'limit',
|
|
32
|
+
'x_site': 'X-Site',
|
|
33
|
+
'x_language': 'X-Language',
|
|
34
|
+
'x_time_zone': 'X-Time-Zone'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
def __init__(self, case_id=None, group_id=None, offset=None, limit=None, x_site=None, x_language=None, x_time_zone=None):
|
|
38
|
+
r"""ListCaseOperateLogsRequest
|
|
39
|
+
|
|
40
|
+
The model defined in huaweicloud sdk
|
|
41
|
+
|
|
42
|
+
:param case_id: 工单id
|
|
43
|
+
:type case_id: str
|
|
44
|
+
:param group_id: 华为云IAM组id,同组其他工单时,该id必传
|
|
45
|
+
:type group_id: str
|
|
46
|
+
:param offset: 查询偏移量
|
|
47
|
+
:type offset: int
|
|
48
|
+
:param limit: 查询数量
|
|
49
|
+
:type limit: int
|
|
50
|
+
:param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
51
|
+
:type x_site: int
|
|
52
|
+
:param x_language: 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
53
|
+
:type x_language: str
|
|
54
|
+
:param x_time_zone: 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
55
|
+
:type x_time_zone: str
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
self._case_id = None
|
|
61
|
+
self._group_id = None
|
|
62
|
+
self._offset = None
|
|
63
|
+
self._limit = None
|
|
64
|
+
self._x_site = None
|
|
65
|
+
self._x_language = None
|
|
66
|
+
self._x_time_zone = None
|
|
67
|
+
self.discriminator = None
|
|
68
|
+
|
|
69
|
+
self.case_id = case_id
|
|
70
|
+
if group_id is not None:
|
|
71
|
+
self.group_id = group_id
|
|
72
|
+
if offset is not None:
|
|
73
|
+
self.offset = offset
|
|
74
|
+
if limit is not None:
|
|
75
|
+
self.limit = limit
|
|
76
|
+
if x_site is not None:
|
|
77
|
+
self.x_site = x_site
|
|
78
|
+
if x_language is not None:
|
|
79
|
+
self.x_language = x_language
|
|
80
|
+
if x_time_zone is not None:
|
|
81
|
+
self.x_time_zone = x_time_zone
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
def case_id(self):
|
|
85
|
+
r"""Gets the case_id of this ListCaseOperateLogsRequest.
|
|
86
|
+
|
|
87
|
+
工单id
|
|
88
|
+
|
|
89
|
+
:return: The case_id of this ListCaseOperateLogsRequest.
|
|
90
|
+
:rtype: str
|
|
91
|
+
"""
|
|
92
|
+
return self._case_id
|
|
93
|
+
|
|
94
|
+
@case_id.setter
|
|
95
|
+
def case_id(self, case_id):
|
|
96
|
+
r"""Sets the case_id of this ListCaseOperateLogsRequest.
|
|
97
|
+
|
|
98
|
+
工单id
|
|
99
|
+
|
|
100
|
+
:param case_id: The case_id of this ListCaseOperateLogsRequest.
|
|
101
|
+
:type case_id: str
|
|
102
|
+
"""
|
|
103
|
+
self._case_id = case_id
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def group_id(self):
|
|
107
|
+
r"""Gets the group_id of this ListCaseOperateLogsRequest.
|
|
108
|
+
|
|
109
|
+
华为云IAM组id,同组其他工单时,该id必传
|
|
110
|
+
|
|
111
|
+
:return: The group_id of this ListCaseOperateLogsRequest.
|
|
112
|
+
:rtype: str
|
|
113
|
+
"""
|
|
114
|
+
return self._group_id
|
|
115
|
+
|
|
116
|
+
@group_id.setter
|
|
117
|
+
def group_id(self, group_id):
|
|
118
|
+
r"""Sets the group_id of this ListCaseOperateLogsRequest.
|
|
119
|
+
|
|
120
|
+
华为云IAM组id,同组其他工单时,该id必传
|
|
121
|
+
|
|
122
|
+
:param group_id: The group_id of this ListCaseOperateLogsRequest.
|
|
123
|
+
:type group_id: str
|
|
124
|
+
"""
|
|
125
|
+
self._group_id = group_id
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def offset(self):
|
|
129
|
+
r"""Gets the offset of this ListCaseOperateLogsRequest.
|
|
130
|
+
|
|
131
|
+
查询偏移量
|
|
132
|
+
|
|
133
|
+
:return: The offset of this ListCaseOperateLogsRequest.
|
|
134
|
+
:rtype: int
|
|
135
|
+
"""
|
|
136
|
+
return self._offset
|
|
137
|
+
|
|
138
|
+
@offset.setter
|
|
139
|
+
def offset(self, offset):
|
|
140
|
+
r"""Sets the offset of this ListCaseOperateLogsRequest.
|
|
141
|
+
|
|
142
|
+
查询偏移量
|
|
143
|
+
|
|
144
|
+
:param offset: The offset of this ListCaseOperateLogsRequest.
|
|
145
|
+
:type offset: int
|
|
146
|
+
"""
|
|
147
|
+
self._offset = offset
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def limit(self):
|
|
151
|
+
r"""Gets the limit of this ListCaseOperateLogsRequest.
|
|
152
|
+
|
|
153
|
+
查询数量
|
|
154
|
+
|
|
155
|
+
:return: The limit of this ListCaseOperateLogsRequest.
|
|
156
|
+
:rtype: int
|
|
157
|
+
"""
|
|
158
|
+
return self._limit
|
|
159
|
+
|
|
160
|
+
@limit.setter
|
|
161
|
+
def limit(self, limit):
|
|
162
|
+
r"""Sets the limit of this ListCaseOperateLogsRequest.
|
|
163
|
+
|
|
164
|
+
查询数量
|
|
165
|
+
|
|
166
|
+
:param limit: The limit of this ListCaseOperateLogsRequest.
|
|
167
|
+
:type limit: int
|
|
168
|
+
"""
|
|
169
|
+
self._limit = limit
|
|
170
|
+
|
|
171
|
+
@property
|
|
172
|
+
def x_site(self):
|
|
173
|
+
r"""Gets the x_site of this ListCaseOperateLogsRequest.
|
|
174
|
+
|
|
175
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
176
|
+
|
|
177
|
+
:return: The x_site of this ListCaseOperateLogsRequest.
|
|
178
|
+
:rtype: int
|
|
179
|
+
"""
|
|
180
|
+
return self._x_site
|
|
181
|
+
|
|
182
|
+
@x_site.setter
|
|
183
|
+
def x_site(self, x_site):
|
|
184
|
+
r"""Sets the x_site of this ListCaseOperateLogsRequest.
|
|
185
|
+
|
|
186
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
187
|
+
|
|
188
|
+
:param x_site: The x_site of this ListCaseOperateLogsRequest.
|
|
189
|
+
:type x_site: int
|
|
190
|
+
"""
|
|
191
|
+
self._x_site = x_site
|
|
192
|
+
|
|
193
|
+
@property
|
|
194
|
+
def x_language(self):
|
|
195
|
+
r"""Gets the x_language of this ListCaseOperateLogsRequest.
|
|
196
|
+
|
|
197
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
198
|
+
|
|
199
|
+
:return: The x_language of this ListCaseOperateLogsRequest.
|
|
200
|
+
:rtype: str
|
|
201
|
+
"""
|
|
202
|
+
return self._x_language
|
|
203
|
+
|
|
204
|
+
@x_language.setter
|
|
205
|
+
def x_language(self, x_language):
|
|
206
|
+
r"""Sets the x_language of this ListCaseOperateLogsRequest.
|
|
207
|
+
|
|
208
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
209
|
+
|
|
210
|
+
:param x_language: The x_language of this ListCaseOperateLogsRequest.
|
|
211
|
+
:type x_language: str
|
|
212
|
+
"""
|
|
213
|
+
self._x_language = x_language
|
|
214
|
+
|
|
215
|
+
@property
|
|
216
|
+
def x_time_zone(self):
|
|
217
|
+
r"""Gets the x_time_zone of this ListCaseOperateLogsRequest.
|
|
218
|
+
|
|
219
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
220
|
+
|
|
221
|
+
:return: The x_time_zone of this ListCaseOperateLogsRequest.
|
|
222
|
+
:rtype: str
|
|
223
|
+
"""
|
|
224
|
+
return self._x_time_zone
|
|
225
|
+
|
|
226
|
+
@x_time_zone.setter
|
|
227
|
+
def x_time_zone(self, x_time_zone):
|
|
228
|
+
r"""Sets the x_time_zone of this ListCaseOperateLogsRequest.
|
|
229
|
+
|
|
230
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
231
|
+
|
|
232
|
+
:param x_time_zone: The x_time_zone of this ListCaseOperateLogsRequest.
|
|
233
|
+
:type x_time_zone: str
|
|
234
|
+
"""
|
|
235
|
+
self._x_time_zone = x_time_zone
|
|
236
|
+
|
|
237
|
+
def to_dict(self):
|
|
238
|
+
result = {}
|
|
239
|
+
|
|
240
|
+
for attr, _ in self.openapi_types.items():
|
|
241
|
+
value = getattr(self, attr)
|
|
242
|
+
if isinstance(value, list):
|
|
243
|
+
result[attr] = list(map(
|
|
244
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
245
|
+
value
|
|
246
|
+
))
|
|
247
|
+
elif hasattr(value, "to_dict"):
|
|
248
|
+
result[attr] = value.to_dict()
|
|
249
|
+
elif isinstance(value, dict):
|
|
250
|
+
result[attr] = dict(map(
|
|
251
|
+
lambda item: (item[0], item[1].to_dict())
|
|
252
|
+
if hasattr(item[1], "to_dict") else item,
|
|
253
|
+
value.items()
|
|
254
|
+
))
|
|
255
|
+
else:
|
|
256
|
+
if attr in self.sensitive_list:
|
|
257
|
+
result[attr] = "****"
|
|
258
|
+
else:
|
|
259
|
+
result[attr] = value
|
|
260
|
+
|
|
261
|
+
return result
|
|
262
|
+
|
|
263
|
+
def to_str(self):
|
|
264
|
+
"""Returns the string representation of the model"""
|
|
265
|
+
import simplejson as json
|
|
266
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
267
|
+
|
|
268
|
+
def __repr__(self):
|
|
269
|
+
"""For `print`"""
|
|
270
|
+
return self.to_str()
|
|
271
|
+
|
|
272
|
+
def __eq__(self, other):
|
|
273
|
+
"""Returns true if both objects are equal"""
|
|
274
|
+
if not isinstance(other, ListCaseOperateLogsRequest):
|
|
275
|
+
return False
|
|
276
|
+
|
|
277
|
+
return self.__dict__ == other.__dict__
|
|
278
|
+
|
|
279
|
+
def __ne__(self, other):
|
|
280
|
+
"""Returns true if both objects are not equal"""
|
|
281
|
+
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 ListCaseOperateLogsResponse(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
|
+
'total_count': 'int',
|
|
20
|
+
'incident_operate_log_list': 'list[IncidentOperateLogV2]'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'total_count': 'total_count',
|
|
25
|
+
'incident_operate_log_list': 'incident_operate_log_list'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
def __init__(self, total_count=None, incident_operate_log_list=None):
|
|
29
|
+
r"""ListCaseOperateLogsResponse
|
|
30
|
+
|
|
31
|
+
The model defined in huaweicloud sdk
|
|
32
|
+
|
|
33
|
+
:param total_count: 总数
|
|
34
|
+
:type total_count: int
|
|
35
|
+
:param incident_operate_log_list: 工单操作日志列表
|
|
36
|
+
:type incident_operate_log_list: list[:class:`huaweicloudsdkosm.v2.IncidentOperateLogV2`]
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
super().__init__()
|
|
40
|
+
|
|
41
|
+
self._total_count = None
|
|
42
|
+
self._incident_operate_log_list = None
|
|
43
|
+
self.discriminator = None
|
|
44
|
+
|
|
45
|
+
if total_count is not None:
|
|
46
|
+
self.total_count = total_count
|
|
47
|
+
if incident_operate_log_list is not None:
|
|
48
|
+
self.incident_operate_log_list = incident_operate_log_list
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def total_count(self):
|
|
52
|
+
r"""Gets the total_count of this ListCaseOperateLogsResponse.
|
|
53
|
+
|
|
54
|
+
总数
|
|
55
|
+
|
|
56
|
+
:return: The total_count of this ListCaseOperateLogsResponse.
|
|
57
|
+
:rtype: int
|
|
58
|
+
"""
|
|
59
|
+
return self._total_count
|
|
60
|
+
|
|
61
|
+
@total_count.setter
|
|
62
|
+
def total_count(self, total_count):
|
|
63
|
+
r"""Sets the total_count of this ListCaseOperateLogsResponse.
|
|
64
|
+
|
|
65
|
+
总数
|
|
66
|
+
|
|
67
|
+
:param total_count: The total_count of this ListCaseOperateLogsResponse.
|
|
68
|
+
:type total_count: int
|
|
69
|
+
"""
|
|
70
|
+
self._total_count = total_count
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def incident_operate_log_list(self):
|
|
74
|
+
r"""Gets the incident_operate_log_list of this ListCaseOperateLogsResponse.
|
|
75
|
+
|
|
76
|
+
工单操作日志列表
|
|
77
|
+
|
|
78
|
+
:return: The incident_operate_log_list of this ListCaseOperateLogsResponse.
|
|
79
|
+
:rtype: list[:class:`huaweicloudsdkosm.v2.IncidentOperateLogV2`]
|
|
80
|
+
"""
|
|
81
|
+
return self._incident_operate_log_list
|
|
82
|
+
|
|
83
|
+
@incident_operate_log_list.setter
|
|
84
|
+
def incident_operate_log_list(self, incident_operate_log_list):
|
|
85
|
+
r"""Sets the incident_operate_log_list of this ListCaseOperateLogsResponse.
|
|
86
|
+
|
|
87
|
+
工单操作日志列表
|
|
88
|
+
|
|
89
|
+
:param incident_operate_log_list: The incident_operate_log_list of this ListCaseOperateLogsResponse.
|
|
90
|
+
:type incident_operate_log_list: list[:class:`huaweicloudsdkosm.v2.IncidentOperateLogV2`]
|
|
91
|
+
"""
|
|
92
|
+
self._incident_operate_log_list = incident_operate_log_list
|
|
93
|
+
|
|
94
|
+
def to_dict(self):
|
|
95
|
+
import warnings
|
|
96
|
+
warnings.warn("ListCaseOperateLogsResponse.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, ListCaseOperateLogsResponse):
|
|
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,223 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListCaseQuotasRequest:
|
|
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
|
+
'product_category_id': 'str',
|
|
19
|
+
'business_type_id': 'str',
|
|
20
|
+
'x_site': 'int',
|
|
21
|
+
'x_language': 'str',
|
|
22
|
+
'x_time_zone': 'str'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'product_category_id': 'product_category_id',
|
|
27
|
+
'business_type_id': 'business_type_id',
|
|
28
|
+
'x_site': 'X-Site',
|
|
29
|
+
'x_language': 'X-Language',
|
|
30
|
+
'x_time_zone': 'X-Time-Zone'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, product_category_id=None, business_type_id=None, x_site=None, x_language=None, x_time_zone=None):
|
|
34
|
+
r"""ListCaseQuotasRequest
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param product_category_id: 产品类型id
|
|
39
|
+
:type product_category_id: str
|
|
40
|
+
:param business_type_id: 问题类型id
|
|
41
|
+
:type business_type_id: str
|
|
42
|
+
:param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
43
|
+
:type x_site: int
|
|
44
|
+
:param x_language: 语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
45
|
+
:type x_language: str
|
|
46
|
+
:param x_time_zone: 环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
47
|
+
:type x_time_zone: str
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
self._product_category_id = None
|
|
53
|
+
self._business_type_id = None
|
|
54
|
+
self._x_site = None
|
|
55
|
+
self._x_language = None
|
|
56
|
+
self._x_time_zone = None
|
|
57
|
+
self.discriminator = None
|
|
58
|
+
|
|
59
|
+
if product_category_id is not None:
|
|
60
|
+
self.product_category_id = product_category_id
|
|
61
|
+
self.business_type_id = business_type_id
|
|
62
|
+
if x_site is not None:
|
|
63
|
+
self.x_site = x_site
|
|
64
|
+
if x_language is not None:
|
|
65
|
+
self.x_language = x_language
|
|
66
|
+
if x_time_zone is not None:
|
|
67
|
+
self.x_time_zone = x_time_zone
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def product_category_id(self):
|
|
71
|
+
r"""Gets the product_category_id of this ListCaseQuotasRequest.
|
|
72
|
+
|
|
73
|
+
产品类型id
|
|
74
|
+
|
|
75
|
+
:return: The product_category_id of this ListCaseQuotasRequest.
|
|
76
|
+
:rtype: str
|
|
77
|
+
"""
|
|
78
|
+
return self._product_category_id
|
|
79
|
+
|
|
80
|
+
@product_category_id.setter
|
|
81
|
+
def product_category_id(self, product_category_id):
|
|
82
|
+
r"""Sets the product_category_id of this ListCaseQuotasRequest.
|
|
83
|
+
|
|
84
|
+
产品类型id
|
|
85
|
+
|
|
86
|
+
:param product_category_id: The product_category_id of this ListCaseQuotasRequest.
|
|
87
|
+
:type product_category_id: str
|
|
88
|
+
"""
|
|
89
|
+
self._product_category_id = product_category_id
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def business_type_id(self):
|
|
93
|
+
r"""Gets the business_type_id of this ListCaseQuotasRequest.
|
|
94
|
+
|
|
95
|
+
问题类型id
|
|
96
|
+
|
|
97
|
+
:return: The business_type_id of this ListCaseQuotasRequest.
|
|
98
|
+
:rtype: str
|
|
99
|
+
"""
|
|
100
|
+
return self._business_type_id
|
|
101
|
+
|
|
102
|
+
@business_type_id.setter
|
|
103
|
+
def business_type_id(self, business_type_id):
|
|
104
|
+
r"""Sets the business_type_id of this ListCaseQuotasRequest.
|
|
105
|
+
|
|
106
|
+
问题类型id
|
|
107
|
+
|
|
108
|
+
:param business_type_id: The business_type_id of this ListCaseQuotasRequest.
|
|
109
|
+
:type business_type_id: str
|
|
110
|
+
"""
|
|
111
|
+
self._business_type_id = business_type_id
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def x_site(self):
|
|
115
|
+
r"""Gets the x_site of this ListCaseQuotasRequest.
|
|
116
|
+
|
|
117
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
118
|
+
|
|
119
|
+
:return: The x_site of this ListCaseQuotasRequest.
|
|
120
|
+
:rtype: int
|
|
121
|
+
"""
|
|
122
|
+
return self._x_site
|
|
123
|
+
|
|
124
|
+
@x_site.setter
|
|
125
|
+
def x_site(self, x_site):
|
|
126
|
+
r"""Sets the x_site of this ListCaseQuotasRequest.
|
|
127
|
+
|
|
128
|
+
对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
129
|
+
|
|
130
|
+
:param x_site: The x_site of this ListCaseQuotasRequest.
|
|
131
|
+
:type x_site: int
|
|
132
|
+
"""
|
|
133
|
+
self._x_site = x_site
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def x_language(self):
|
|
137
|
+
r"""Gets the x_language of this ListCaseQuotasRequest.
|
|
138
|
+
|
|
139
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
140
|
+
|
|
141
|
+
:return: The x_language of this ListCaseQuotasRequest.
|
|
142
|
+
:rtype: str
|
|
143
|
+
"""
|
|
144
|
+
return self._x_language
|
|
145
|
+
|
|
146
|
+
@x_language.setter
|
|
147
|
+
def x_language(self, x_language):
|
|
148
|
+
r"""Sets the x_language of this ListCaseQuotasRequest.
|
|
149
|
+
|
|
150
|
+
语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。 会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。
|
|
151
|
+
|
|
152
|
+
:param x_language: The x_language of this ListCaseQuotasRequest.
|
|
153
|
+
:type x_language: str
|
|
154
|
+
"""
|
|
155
|
+
self._x_language = x_language
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
def x_time_zone(self):
|
|
159
|
+
r"""Gets the x_time_zone of this ListCaseQuotasRequest.
|
|
160
|
+
|
|
161
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
162
|
+
|
|
163
|
+
:return: The x_time_zone of this ListCaseQuotasRequest.
|
|
164
|
+
:rtype: str
|
|
165
|
+
"""
|
|
166
|
+
return self._x_time_zone
|
|
167
|
+
|
|
168
|
+
@x_time_zone.setter
|
|
169
|
+
def x_time_zone(self, x_time_zone):
|
|
170
|
+
r"""Sets the x_time_zone of this ListCaseQuotasRequest.
|
|
171
|
+
|
|
172
|
+
环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。 涉及时间的数据会根据环境时区处理。
|
|
173
|
+
|
|
174
|
+
:param x_time_zone: The x_time_zone of this ListCaseQuotasRequest.
|
|
175
|
+
:type x_time_zone: str
|
|
176
|
+
"""
|
|
177
|
+
self._x_time_zone = x_time_zone
|
|
178
|
+
|
|
179
|
+
def to_dict(self):
|
|
180
|
+
result = {}
|
|
181
|
+
|
|
182
|
+
for attr, _ in self.openapi_types.items():
|
|
183
|
+
value = getattr(self, attr)
|
|
184
|
+
if isinstance(value, list):
|
|
185
|
+
result[attr] = list(map(
|
|
186
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
187
|
+
value
|
|
188
|
+
))
|
|
189
|
+
elif hasattr(value, "to_dict"):
|
|
190
|
+
result[attr] = value.to_dict()
|
|
191
|
+
elif isinstance(value, dict):
|
|
192
|
+
result[attr] = dict(map(
|
|
193
|
+
lambda item: (item[0], item[1].to_dict())
|
|
194
|
+
if hasattr(item[1], "to_dict") else item,
|
|
195
|
+
value.items()
|
|
196
|
+
))
|
|
197
|
+
else:
|
|
198
|
+
if attr in self.sensitive_list:
|
|
199
|
+
result[attr] = "****"
|
|
200
|
+
else:
|
|
201
|
+
result[attr] = value
|
|
202
|
+
|
|
203
|
+
return result
|
|
204
|
+
|
|
205
|
+
def to_str(self):
|
|
206
|
+
"""Returns the string representation of the model"""
|
|
207
|
+
import simplejson as json
|
|
208
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
209
|
+
|
|
210
|
+
def __repr__(self):
|
|
211
|
+
"""For `print`"""
|
|
212
|
+
return self.to_str()
|
|
213
|
+
|
|
214
|
+
def __eq__(self, other):
|
|
215
|
+
"""Returns true if both objects are equal"""
|
|
216
|
+
if not isinstance(other, ListCaseQuotasRequest):
|
|
217
|
+
return False
|
|
218
|
+
|
|
219
|
+
return self.__dict__ == other.__dict__
|
|
220
|
+
|
|
221
|
+
def __ne__(self, other):
|
|
222
|
+
"""Returns true if both objects are not equal"""
|
|
223
|
+
return not self == other
|