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,282 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AgencyV2:
|
|
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
|
+
'name': 'str',
|
|
20
|
+
'duration': 'str',
|
|
21
|
+
'trust_domain_name': 'str',
|
|
22
|
+
'trust_domain_id': 'str',
|
|
23
|
+
'create_time': 'str',
|
|
24
|
+
'expire_time': 'str'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
attribute_map = {
|
|
28
|
+
'id': 'id',
|
|
29
|
+
'name': 'name',
|
|
30
|
+
'duration': 'duration',
|
|
31
|
+
'trust_domain_name': 'trust_domain_name',
|
|
32
|
+
'trust_domain_id': 'trust_domain_id',
|
|
33
|
+
'create_time': 'create_time',
|
|
34
|
+
'expire_time': 'expire_time'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
def __init__(self, id=None, name=None, duration=None, trust_domain_name=None, trust_domain_id=None, create_time=None, expire_time=None):
|
|
38
|
+
r"""AgencyV2
|
|
39
|
+
|
|
40
|
+
The model defined in huaweicloud sdk
|
|
41
|
+
|
|
42
|
+
:param id: 委托id
|
|
43
|
+
:type id: str
|
|
44
|
+
:param name: 委托名称
|
|
45
|
+
:type name: str
|
|
46
|
+
:param duration: 委托的期限
|
|
47
|
+
:type duration: str
|
|
48
|
+
:param trust_domain_name: 委托的账号名称
|
|
49
|
+
:type trust_domain_name: str
|
|
50
|
+
:param trust_domain_id: 委托的账号id
|
|
51
|
+
:type trust_domain_id: str
|
|
52
|
+
:param create_time: 创建时间
|
|
53
|
+
:type create_time: str
|
|
54
|
+
:param expire_time: 超期时间
|
|
55
|
+
:type expire_time: str
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
self._id = None
|
|
61
|
+
self._name = None
|
|
62
|
+
self._duration = None
|
|
63
|
+
self._trust_domain_name = None
|
|
64
|
+
self._trust_domain_id = None
|
|
65
|
+
self._create_time = None
|
|
66
|
+
self._expire_time = None
|
|
67
|
+
self.discriminator = None
|
|
68
|
+
|
|
69
|
+
if id is not None:
|
|
70
|
+
self.id = id
|
|
71
|
+
if name is not None:
|
|
72
|
+
self.name = name
|
|
73
|
+
if duration is not None:
|
|
74
|
+
self.duration = duration
|
|
75
|
+
if trust_domain_name is not None:
|
|
76
|
+
self.trust_domain_name = trust_domain_name
|
|
77
|
+
if trust_domain_id is not None:
|
|
78
|
+
self.trust_domain_id = trust_domain_id
|
|
79
|
+
if create_time is not None:
|
|
80
|
+
self.create_time = create_time
|
|
81
|
+
if expire_time is not None:
|
|
82
|
+
self.expire_time = expire_time
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def id(self):
|
|
86
|
+
r"""Gets the id of this AgencyV2.
|
|
87
|
+
|
|
88
|
+
委托id
|
|
89
|
+
|
|
90
|
+
:return: The id of this AgencyV2.
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._id
|
|
94
|
+
|
|
95
|
+
@id.setter
|
|
96
|
+
def id(self, id):
|
|
97
|
+
r"""Sets the id of this AgencyV2.
|
|
98
|
+
|
|
99
|
+
委托id
|
|
100
|
+
|
|
101
|
+
:param id: The id of this AgencyV2.
|
|
102
|
+
:type id: str
|
|
103
|
+
"""
|
|
104
|
+
self._id = id
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def name(self):
|
|
108
|
+
r"""Gets the name of this AgencyV2.
|
|
109
|
+
|
|
110
|
+
委托名称
|
|
111
|
+
|
|
112
|
+
:return: The name of this AgencyV2.
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._name
|
|
116
|
+
|
|
117
|
+
@name.setter
|
|
118
|
+
def name(self, name):
|
|
119
|
+
r"""Sets the name of this AgencyV2.
|
|
120
|
+
|
|
121
|
+
委托名称
|
|
122
|
+
|
|
123
|
+
:param name: The name of this AgencyV2.
|
|
124
|
+
:type name: str
|
|
125
|
+
"""
|
|
126
|
+
self._name = name
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def duration(self):
|
|
130
|
+
r"""Gets the duration of this AgencyV2.
|
|
131
|
+
|
|
132
|
+
委托的期限
|
|
133
|
+
|
|
134
|
+
:return: The duration of this AgencyV2.
|
|
135
|
+
:rtype: str
|
|
136
|
+
"""
|
|
137
|
+
return self._duration
|
|
138
|
+
|
|
139
|
+
@duration.setter
|
|
140
|
+
def duration(self, duration):
|
|
141
|
+
r"""Sets the duration of this AgencyV2.
|
|
142
|
+
|
|
143
|
+
委托的期限
|
|
144
|
+
|
|
145
|
+
:param duration: The duration of this AgencyV2.
|
|
146
|
+
:type duration: str
|
|
147
|
+
"""
|
|
148
|
+
self._duration = duration
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def trust_domain_name(self):
|
|
152
|
+
r"""Gets the trust_domain_name of this AgencyV2.
|
|
153
|
+
|
|
154
|
+
委托的账号名称
|
|
155
|
+
|
|
156
|
+
:return: The trust_domain_name of this AgencyV2.
|
|
157
|
+
:rtype: str
|
|
158
|
+
"""
|
|
159
|
+
return self._trust_domain_name
|
|
160
|
+
|
|
161
|
+
@trust_domain_name.setter
|
|
162
|
+
def trust_domain_name(self, trust_domain_name):
|
|
163
|
+
r"""Sets the trust_domain_name of this AgencyV2.
|
|
164
|
+
|
|
165
|
+
委托的账号名称
|
|
166
|
+
|
|
167
|
+
:param trust_domain_name: The trust_domain_name of this AgencyV2.
|
|
168
|
+
:type trust_domain_name: str
|
|
169
|
+
"""
|
|
170
|
+
self._trust_domain_name = trust_domain_name
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def trust_domain_id(self):
|
|
174
|
+
r"""Gets the trust_domain_id of this AgencyV2.
|
|
175
|
+
|
|
176
|
+
委托的账号id
|
|
177
|
+
|
|
178
|
+
:return: The trust_domain_id of this AgencyV2.
|
|
179
|
+
:rtype: str
|
|
180
|
+
"""
|
|
181
|
+
return self._trust_domain_id
|
|
182
|
+
|
|
183
|
+
@trust_domain_id.setter
|
|
184
|
+
def trust_domain_id(self, trust_domain_id):
|
|
185
|
+
r"""Sets the trust_domain_id of this AgencyV2.
|
|
186
|
+
|
|
187
|
+
委托的账号id
|
|
188
|
+
|
|
189
|
+
:param trust_domain_id: The trust_domain_id of this AgencyV2.
|
|
190
|
+
:type trust_domain_id: str
|
|
191
|
+
"""
|
|
192
|
+
self._trust_domain_id = trust_domain_id
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
def create_time(self):
|
|
196
|
+
r"""Gets the create_time of this AgencyV2.
|
|
197
|
+
|
|
198
|
+
创建时间
|
|
199
|
+
|
|
200
|
+
:return: The create_time of this AgencyV2.
|
|
201
|
+
:rtype: str
|
|
202
|
+
"""
|
|
203
|
+
return self._create_time
|
|
204
|
+
|
|
205
|
+
@create_time.setter
|
|
206
|
+
def create_time(self, create_time):
|
|
207
|
+
r"""Sets the create_time of this AgencyV2.
|
|
208
|
+
|
|
209
|
+
创建时间
|
|
210
|
+
|
|
211
|
+
:param create_time: The create_time of this AgencyV2.
|
|
212
|
+
:type create_time: str
|
|
213
|
+
"""
|
|
214
|
+
self._create_time = create_time
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def expire_time(self):
|
|
218
|
+
r"""Gets the expire_time of this AgencyV2.
|
|
219
|
+
|
|
220
|
+
超期时间
|
|
221
|
+
|
|
222
|
+
:return: The expire_time of this AgencyV2.
|
|
223
|
+
:rtype: str
|
|
224
|
+
"""
|
|
225
|
+
return self._expire_time
|
|
226
|
+
|
|
227
|
+
@expire_time.setter
|
|
228
|
+
def expire_time(self, expire_time):
|
|
229
|
+
r"""Sets the expire_time of this AgencyV2.
|
|
230
|
+
|
|
231
|
+
超期时间
|
|
232
|
+
|
|
233
|
+
:param expire_time: The expire_time of this AgencyV2.
|
|
234
|
+
:type expire_time: str
|
|
235
|
+
"""
|
|
236
|
+
self._expire_time = expire_time
|
|
237
|
+
|
|
238
|
+
def to_dict(self):
|
|
239
|
+
result = {}
|
|
240
|
+
|
|
241
|
+
for attr, _ in self.openapi_types.items():
|
|
242
|
+
value = getattr(self, attr)
|
|
243
|
+
if isinstance(value, list):
|
|
244
|
+
result[attr] = list(map(
|
|
245
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
246
|
+
value
|
|
247
|
+
))
|
|
248
|
+
elif hasattr(value, "to_dict"):
|
|
249
|
+
result[attr] = value.to_dict()
|
|
250
|
+
elif isinstance(value, dict):
|
|
251
|
+
result[attr] = dict(map(
|
|
252
|
+
lambda item: (item[0], item[1].to_dict())
|
|
253
|
+
if hasattr(item[1], "to_dict") else item,
|
|
254
|
+
value.items()
|
|
255
|
+
))
|
|
256
|
+
else:
|
|
257
|
+
if attr in self.sensitive_list:
|
|
258
|
+
result[attr] = "****"
|
|
259
|
+
else:
|
|
260
|
+
result[attr] = value
|
|
261
|
+
|
|
262
|
+
return result
|
|
263
|
+
|
|
264
|
+
def to_str(self):
|
|
265
|
+
"""Returns the string representation of the model"""
|
|
266
|
+
import simplejson as json
|
|
267
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
268
|
+
|
|
269
|
+
def __repr__(self):
|
|
270
|
+
"""For `print`"""
|
|
271
|
+
return self.to_str()
|
|
272
|
+
|
|
273
|
+
def __eq__(self, other):
|
|
274
|
+
"""Returns true if both objects are equal"""
|
|
275
|
+
if not isinstance(other, AgencyV2):
|
|
276
|
+
return False
|
|
277
|
+
|
|
278
|
+
return self.__dict__ == other.__dict__
|
|
279
|
+
|
|
280
|
+
def __ne__(self, other):
|
|
281
|
+
"""Returns true if both objects are not equal"""
|
|
282
|
+
return not self == other
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AgreeTenantAuthorizationV2Req:
|
|
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
|
+
'auth_detail_list': 'list[TenantAgreeAuthDetailV2]',
|
|
19
|
+
'auth_effective_time': 'int',
|
|
20
|
+
'auth_expire_time': 'int',
|
|
21
|
+
'group_id': 'str',
|
|
22
|
+
'agency_id': 'str'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'auth_detail_list': 'auth_detail_list',
|
|
27
|
+
'auth_effective_time': 'auth_effective_time',
|
|
28
|
+
'auth_expire_time': 'auth_expire_time',
|
|
29
|
+
'group_id': 'group_id',
|
|
30
|
+
'agency_id': 'agency_id'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, auth_detail_list=None, auth_effective_time=None, auth_expire_time=None, group_id=None, agency_id=None):
|
|
34
|
+
r"""AgreeTenantAuthorizationV2Req
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param auth_detail_list: 授权详情列表
|
|
39
|
+
:type auth_detail_list: list[:class:`huaweicloudsdkosm.v2.TenantAgreeAuthDetailV2`]
|
|
40
|
+
:param auth_effective_time: 授权生效时间
|
|
41
|
+
:type auth_effective_time: int
|
|
42
|
+
:param auth_expire_time: 授权到期时间
|
|
43
|
+
:type auth_expire_time: int
|
|
44
|
+
:param group_id: 华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
45
|
+
:type group_id: str
|
|
46
|
+
:param agency_id: 委托id
|
|
47
|
+
:type agency_id: str
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
self._auth_detail_list = None
|
|
53
|
+
self._auth_effective_time = None
|
|
54
|
+
self._auth_expire_time = None
|
|
55
|
+
self._group_id = None
|
|
56
|
+
self._agency_id = None
|
|
57
|
+
self.discriminator = None
|
|
58
|
+
|
|
59
|
+
if auth_detail_list is not None:
|
|
60
|
+
self.auth_detail_list = auth_detail_list
|
|
61
|
+
if auth_effective_time is not None:
|
|
62
|
+
self.auth_effective_time = auth_effective_time
|
|
63
|
+
if auth_expire_time is not None:
|
|
64
|
+
self.auth_expire_time = auth_expire_time
|
|
65
|
+
if group_id is not None:
|
|
66
|
+
self.group_id = group_id
|
|
67
|
+
if agency_id is not None:
|
|
68
|
+
self.agency_id = agency_id
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def auth_detail_list(self):
|
|
72
|
+
r"""Gets the auth_detail_list of this AgreeTenantAuthorizationV2Req.
|
|
73
|
+
|
|
74
|
+
授权详情列表
|
|
75
|
+
|
|
76
|
+
:return: The auth_detail_list of this AgreeTenantAuthorizationV2Req.
|
|
77
|
+
:rtype: list[:class:`huaweicloudsdkosm.v2.TenantAgreeAuthDetailV2`]
|
|
78
|
+
"""
|
|
79
|
+
return self._auth_detail_list
|
|
80
|
+
|
|
81
|
+
@auth_detail_list.setter
|
|
82
|
+
def auth_detail_list(self, auth_detail_list):
|
|
83
|
+
r"""Sets the auth_detail_list of this AgreeTenantAuthorizationV2Req.
|
|
84
|
+
|
|
85
|
+
授权详情列表
|
|
86
|
+
|
|
87
|
+
:param auth_detail_list: The auth_detail_list of this AgreeTenantAuthorizationV2Req.
|
|
88
|
+
:type auth_detail_list: list[:class:`huaweicloudsdkosm.v2.TenantAgreeAuthDetailV2`]
|
|
89
|
+
"""
|
|
90
|
+
self._auth_detail_list = auth_detail_list
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
def auth_effective_time(self):
|
|
94
|
+
r"""Gets the auth_effective_time of this AgreeTenantAuthorizationV2Req.
|
|
95
|
+
|
|
96
|
+
授权生效时间
|
|
97
|
+
|
|
98
|
+
:return: The auth_effective_time of this AgreeTenantAuthorizationV2Req.
|
|
99
|
+
:rtype: int
|
|
100
|
+
"""
|
|
101
|
+
return self._auth_effective_time
|
|
102
|
+
|
|
103
|
+
@auth_effective_time.setter
|
|
104
|
+
def auth_effective_time(self, auth_effective_time):
|
|
105
|
+
r"""Sets the auth_effective_time of this AgreeTenantAuthorizationV2Req.
|
|
106
|
+
|
|
107
|
+
授权生效时间
|
|
108
|
+
|
|
109
|
+
:param auth_effective_time: The auth_effective_time of this AgreeTenantAuthorizationV2Req.
|
|
110
|
+
:type auth_effective_time: int
|
|
111
|
+
"""
|
|
112
|
+
self._auth_effective_time = auth_effective_time
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
def auth_expire_time(self):
|
|
116
|
+
r"""Gets the auth_expire_time of this AgreeTenantAuthorizationV2Req.
|
|
117
|
+
|
|
118
|
+
授权到期时间
|
|
119
|
+
|
|
120
|
+
:return: The auth_expire_time of this AgreeTenantAuthorizationV2Req.
|
|
121
|
+
:rtype: int
|
|
122
|
+
"""
|
|
123
|
+
return self._auth_expire_time
|
|
124
|
+
|
|
125
|
+
@auth_expire_time.setter
|
|
126
|
+
def auth_expire_time(self, auth_expire_time):
|
|
127
|
+
r"""Sets the auth_expire_time of this AgreeTenantAuthorizationV2Req.
|
|
128
|
+
|
|
129
|
+
授权到期时间
|
|
130
|
+
|
|
131
|
+
:param auth_expire_time: The auth_expire_time of this AgreeTenantAuthorizationV2Req.
|
|
132
|
+
:type auth_expire_time: int
|
|
133
|
+
"""
|
|
134
|
+
self._auth_expire_time = auth_expire_time
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
def group_id(self):
|
|
138
|
+
r"""Gets the group_id of this AgreeTenantAuthorizationV2Req.
|
|
139
|
+
|
|
140
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
141
|
+
|
|
142
|
+
:return: The group_id of this AgreeTenantAuthorizationV2Req.
|
|
143
|
+
:rtype: str
|
|
144
|
+
"""
|
|
145
|
+
return self._group_id
|
|
146
|
+
|
|
147
|
+
@group_id.setter
|
|
148
|
+
def group_id(self, group_id):
|
|
149
|
+
r"""Sets the group_id of this AgreeTenantAuthorizationV2Req.
|
|
150
|
+
|
|
151
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
152
|
+
|
|
153
|
+
:param group_id: The group_id of this AgreeTenantAuthorizationV2Req.
|
|
154
|
+
:type group_id: str
|
|
155
|
+
"""
|
|
156
|
+
self._group_id = group_id
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def agency_id(self):
|
|
160
|
+
r"""Gets the agency_id of this AgreeTenantAuthorizationV2Req.
|
|
161
|
+
|
|
162
|
+
委托id
|
|
163
|
+
|
|
164
|
+
:return: The agency_id of this AgreeTenantAuthorizationV2Req.
|
|
165
|
+
:rtype: str
|
|
166
|
+
"""
|
|
167
|
+
return self._agency_id
|
|
168
|
+
|
|
169
|
+
@agency_id.setter
|
|
170
|
+
def agency_id(self, agency_id):
|
|
171
|
+
r"""Sets the agency_id of this AgreeTenantAuthorizationV2Req.
|
|
172
|
+
|
|
173
|
+
委托id
|
|
174
|
+
|
|
175
|
+
:param agency_id: The agency_id of this AgreeTenantAuthorizationV2Req.
|
|
176
|
+
:type agency_id: str
|
|
177
|
+
"""
|
|
178
|
+
self._agency_id = agency_id
|
|
179
|
+
|
|
180
|
+
def to_dict(self):
|
|
181
|
+
result = {}
|
|
182
|
+
|
|
183
|
+
for attr, _ in self.openapi_types.items():
|
|
184
|
+
value = getattr(self, attr)
|
|
185
|
+
if isinstance(value, list):
|
|
186
|
+
result[attr] = list(map(
|
|
187
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
188
|
+
value
|
|
189
|
+
))
|
|
190
|
+
elif hasattr(value, "to_dict"):
|
|
191
|
+
result[attr] = value.to_dict()
|
|
192
|
+
elif isinstance(value, dict):
|
|
193
|
+
result[attr] = dict(map(
|
|
194
|
+
lambda item: (item[0], item[1].to_dict())
|
|
195
|
+
if hasattr(item[1], "to_dict") else item,
|
|
196
|
+
value.items()
|
|
197
|
+
))
|
|
198
|
+
else:
|
|
199
|
+
if attr in self.sensitive_list:
|
|
200
|
+
result[attr] = "****"
|
|
201
|
+
else:
|
|
202
|
+
result[attr] = value
|
|
203
|
+
|
|
204
|
+
return result
|
|
205
|
+
|
|
206
|
+
def to_str(self):
|
|
207
|
+
"""Returns the string representation of the model"""
|
|
208
|
+
import simplejson as json
|
|
209
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
210
|
+
|
|
211
|
+
def __repr__(self):
|
|
212
|
+
"""For `print`"""
|
|
213
|
+
return self.to_str()
|
|
214
|
+
|
|
215
|
+
def __eq__(self, other):
|
|
216
|
+
"""Returns true if both objects are equal"""
|
|
217
|
+
if not isinstance(other, AgreeTenantAuthorizationV2Req):
|
|
218
|
+
return False
|
|
219
|
+
|
|
220
|
+
return self.__dict__ == other.__dict__
|
|
221
|
+
|
|
222
|
+
def __ne__(self, other):
|
|
223
|
+
"""Returns true if both objects are not equal"""
|
|
224
|
+
return not self == other
|