huaweicloudsdksa 3.1.34__py2.py3-none-any.whl → 3.1.42__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- huaweicloudsdksa/v1/model/check_product_healthy_request.py +0 -3
- huaweicloudsdksa/v1/model/check_product_healthy_response.py +0 -2
- huaweicloudsdksa/v1/model/compliance.py +0 -3
- huaweicloudsdksa/v1/model/data_source.py +0 -3
- huaweicloudsdksa/v1/model/environment.py +0 -3
- huaweicloudsdksa/v1/model/event.py +0 -3
- huaweicloudsdksa/v1/model/events.py +0 -3
- huaweicloudsdksa/v1/model/geo.py +0 -3
- huaweicloudsdksa/v1/model/import_events_request.py +0 -3
- huaweicloudsdksa/v1/model/import_events_response.py +0 -2
- huaweicloudsdksa/v1/model/malware.py +0 -3
- huaweicloudsdksa/v1/model/malware_properties.py +0 -3
- huaweicloudsdksa/v1/model/network.py +0 -3
- huaweicloudsdksa/v1/model/product_info.py +0 -3
- huaweicloudsdksa/v1/model/remediation.py +0 -3
- huaweicloudsdksa/v1/model/resource.py +0 -3
- huaweicloudsdksa/v1/model/severity.py +0 -3
- huaweicloudsdksa/v1/model/threat_intel.py +0 -3
- huaweicloudsdksa/v1/model/threat_intel_properties.py +0 -3
- huaweicloudsdksa/v1/model/type.py +0 -3
- huaweicloudsdksa/v1/model/type_properties.py +0 -3
- huaweicloudsdksa/v1/model/vulnerability_patch.py +0 -3
- huaweicloudsdksa/v1/sa_async_client.py +7 -33
- huaweicloudsdksa/v1/sa_client.py +7 -33
- huaweicloudsdksa/v2/model/action_info.py +0 -3
- huaweicloudsdksa/v2/model/action_instance_info.py +0 -3
- huaweicloudsdksa/v2/model/alert.py +0 -3
- huaweicloudsdksa/v2/model/alert_detail.py +0 -3
- huaweicloudsdksa/v2/model/alert_rule.py +0 -3
- huaweicloudsdksa/v2/model/alert_rule_metric.py +0 -3
- huaweicloudsdksa/v2/model/alert_rule_template.py +0 -3
- huaweicloudsdksa/v2/model/alert_rule_trigger.py +0 -3
- huaweicloudsdksa/v2/model/approve_opinion_detail.py +0 -3
- huaweicloudsdksa/v2/model/approve_playbook_info.py +0 -3
- huaweicloudsdksa/v2/model/audit_log_info.py +0 -3
- huaweicloudsdksa/v2/model/batch_order_alert_result.py +0 -3
- huaweicloudsdksa/v2/model/change_alert_request.py +0 -3
- huaweicloudsdksa/v2/model/change_alert_request_body.py +0 -3
- huaweicloudsdksa/v2/model/change_alert_response.py +0 -2
- huaweicloudsdksa/v2/model/change_incident_request.py +0 -3
- huaweicloudsdksa/v2/model/change_incident_request_body.py +0 -3
- huaweicloudsdksa/v2/model/change_incident_response.py +0 -2
- huaweicloudsdksa/v2/model/change_playbook_instance_request.py +0 -3
- huaweicloudsdksa/v2/model/change_playbook_instance_response.py +0 -2
- huaweicloudsdksa/v2/model/condition_info.py +0 -3
- huaweicloudsdksa/v2/model/condition_item.py +0 -3
- huaweicloudsdksa/v2/model/conditon_info.py +0 -3
- huaweicloudsdksa/v2/model/copy_playbook_info.py +0 -3
- huaweicloudsdksa/v2/model/copy_playbook_version_request.py +0 -3
- huaweicloudsdksa/v2/model/copy_playbook_version_response.py +0 -2
- huaweicloudsdksa/v2/model/create_alert.py +0 -3
- huaweicloudsdksa/v2/model/create_alert_data_source.py +0 -3
- huaweicloudsdksa/v2/model/create_alert_request.py +0 -3
- huaweicloudsdksa/v2/model/create_alert_request_body.py +0 -3
- huaweicloudsdksa/v2/model/create_alert_response.py +0 -2
- huaweicloudsdksa/v2/model/create_alert_rule_request.py +0 -3
- huaweicloudsdksa/v2/model/create_alert_rule_request_body.py +0 -3
- huaweicloudsdksa/v2/model/create_alert_rule_response.py +0 -2
- huaweicloudsdksa/v2/model/create_alert_rule_simulation_request.py +0 -3
- huaweicloudsdksa/v2/model/create_alert_rule_simulation_request_body.py +0 -3
- huaweicloudsdksa/v2/model/create_alert_rule_simulation_response.py +0 -2
- huaweicloudsdksa/v2/model/create_batch_order_alerts_request.py +0 -3
- huaweicloudsdksa/v2/model/create_batch_order_alerts_response.py +0 -2
- huaweicloudsdksa/v2/model/create_dataobject_relation_request.py +0 -3
- huaweicloudsdksa/v2/model/create_dataobject_relation_response.py +0 -2
- huaweicloudsdksa/v2/model/create_incident.py +0 -3
- huaweicloudsdksa/v2/model/create_incident_incident_type.py +0 -3
- huaweicloudsdksa/v2/model/create_incident_malware.py +0 -3
- huaweicloudsdksa/v2/model/create_incident_network_list.py +0 -3
- huaweicloudsdksa/v2/model/create_incident_process.py +0 -3
- huaweicloudsdksa/v2/model/create_incident_request.py +0 -3
- huaweicloudsdksa/v2/model/create_incident_request_body.py +0 -3
- huaweicloudsdksa/v2/model/create_incident_resource_list.py +0 -3
- huaweicloudsdksa/v2/model/create_incident_response.py +0 -2
- huaweicloudsdksa/v2/model/create_incident_user_info.py +0 -3
- huaweicloudsdksa/v2/model/create_indicator_detail.py +0 -3
- huaweicloudsdksa/v2/model/create_indicator_detail_indicator_type.py +0 -3
- huaweicloudsdksa/v2/model/create_indicator_request.py +0 -3
- huaweicloudsdksa/v2/model/create_indicator_response.py +0 -2
- huaweicloudsdksa/v2/model/create_playbook_action_request.py +0 -3
- huaweicloudsdksa/v2/model/create_playbook_action_response.py +0 -2
- huaweicloudsdksa/v2/model/create_playbook_approve_request.py +0 -3
- huaweicloudsdksa/v2/model/create_playbook_approve_response.py +0 -2
- huaweicloudsdksa/v2/model/create_playbook_info.py +0 -3
- huaweicloudsdksa/v2/model/create_playbook_request.py +0 -3
- huaweicloudsdksa/v2/model/create_playbook_response.py +0 -2
- huaweicloudsdksa/v2/model/create_playbook_rule_request.py +0 -3
- huaweicloudsdksa/v2/model/create_playbook_rule_response.py +0 -2
- huaweicloudsdksa/v2/model/create_playbook_version_info.py +0 -3
- huaweicloudsdksa/v2/model/create_playbook_version_request.py +0 -3
- huaweicloudsdksa/v2/model/create_playbook_version_response.py +0 -2
- huaweicloudsdksa/v2/model/create_relation.py +0 -3
- huaweicloudsdksa/v2/model/create_rule_info.py +0 -3
- huaweicloudsdksa/v2/model/data_class_ref_pojo.py +0 -3
- huaweicloudsdksa/v2/model/data_class_type_detail_info.py +0 -3
- huaweicloudsdksa/v2/model/data_response.py +0 -3
- huaweicloudsdksa/v2/model/dataclass_info_ref.py +0 -3
- huaweicloudsdksa/v2/model/dataobject_info.py +0 -3
- huaweicloudsdksa/v2/model/dataobject_search.py +0 -3
- huaweicloudsdksa/v2/model/dataobject_search_condition.py +0 -3
- huaweicloudsdksa/v2/model/delete_alert.py +0 -3
- huaweicloudsdksa/v2/model/delete_alert_request.py +0 -3
- huaweicloudsdksa/v2/model/delete_alert_response.py +0 -2
- huaweicloudsdksa/v2/model/delete_alert_rule_request.py +0 -3
- huaweicloudsdksa/v2/model/delete_alert_rule_response.py +0 -2
- huaweicloudsdksa/v2/model/delete_dataobject_relation_request.py +0 -3
- huaweicloudsdksa/v2/model/delete_dataobject_relation_response.py +0 -2
- huaweicloudsdksa/v2/model/delete_incident.py +0 -3
- huaweicloudsdksa/v2/model/delete_incident_request.py +0 -3
- huaweicloudsdksa/v2/model/delete_incident_response.py +0 -2
- huaweicloudsdksa/v2/model/delete_indicator_request.py +0 -3
- huaweicloudsdksa/v2/model/delete_indicator_request_body.py +0 -3
- huaweicloudsdksa/v2/model/delete_indicator_response.py +0 -2
- huaweicloudsdksa/v2/model/delete_playbook_action_request.py +0 -3
- huaweicloudsdksa/v2/model/delete_playbook_action_response.py +0 -2
- huaweicloudsdksa/v2/model/delete_playbook_request.py +0 -3
- huaweicloudsdksa/v2/model/delete_playbook_response.py +0 -2
- huaweicloudsdksa/v2/model/delete_playbook_rule_request.py +0 -3
- huaweicloudsdksa/v2/model/delete_playbook_rule_response.py +0 -2
- huaweicloudsdksa/v2/model/delete_playbook_version_request.py +0 -3
- huaweicloudsdksa/v2/model/delete_playbook_version_response.py +0 -2
- huaweicloudsdksa/v2/model/disable_alert_rule_request.py +0 -3
- huaweicloudsdksa/v2/model/disable_alert_rule_response.py +0 -2
- huaweicloudsdksa/v2/model/enable_alert_rule_request.py +0 -3
- huaweicloudsdksa/v2/model/enable_alert_rule_response.py +0 -2
- huaweicloudsdksa/v2/model/incident.py +0 -3
- huaweicloudsdksa/v2/model/incident_datasource.py +0 -3
- huaweicloudsdksa/v2/model/incident_detail.py +0 -3
- huaweicloudsdksa/v2/model/incident_environment.py +0 -3
- huaweicloudsdksa/v2/model/indicator_batch_operate_response.py +0 -3
- huaweicloudsdksa/v2/model/indicator_create_request.py +0 -3
- huaweicloudsdksa/v2/model/indicator_data_object_detail.py +0 -3
- huaweicloudsdksa/v2/model/indicator_detail.py +0 -3
- huaweicloudsdksa/v2/model/indicator_list_search_request.py +0 -3
- huaweicloudsdksa/v2/model/list_alert_detail.py +0 -3
- huaweicloudsdksa/v2/model/list_alert_rsp.py +0 -3
- huaweicloudsdksa/v2/model/list_alert_rule_metrics_request.py +0 -3
- huaweicloudsdksa/v2/model/list_alert_rule_metrics_response.py +0 -2
- huaweicloudsdksa/v2/model/list_alert_rule_templates_request.py +0 -3
- huaweicloudsdksa/v2/model/list_alert_rule_templates_response.py +0 -2
- huaweicloudsdksa/v2/model/list_alert_rules_request.py +0 -3
- huaweicloudsdksa/v2/model/list_alert_rules_response.py +0 -2
- huaweicloudsdksa/v2/model/list_alerts_request.py +0 -3
- huaweicloudsdksa/v2/model/list_alerts_response.py +0 -2
- huaweicloudsdksa/v2/model/list_dataobject_relation_request.py +0 -3
- huaweicloudsdksa/v2/model/list_dataobject_relation_response.py +0 -2
- huaweicloudsdksa/v2/model/list_incident_detail.py +0 -3
- huaweicloudsdksa/v2/model/list_incident_types_request.py +0 -3
- huaweicloudsdksa/v2/model/list_incident_types_response.py +0 -2
- huaweicloudsdksa/v2/model/list_incidents_request.py +0 -3
- huaweicloudsdksa/v2/model/list_incidents_response.py +0 -2
- huaweicloudsdksa/v2/model/list_indicators_request.py +0 -3
- huaweicloudsdksa/v2/model/list_indicators_response.py +0 -2
- huaweicloudsdksa/v2/model/list_playbook_actions_request.py +0 -3
- huaweicloudsdksa/v2/model/list_playbook_actions_response.py +0 -2
- huaweicloudsdksa/v2/model/list_playbook_approves_request.py +0 -3
- huaweicloudsdksa/v2/model/list_playbook_approves_response.py +0 -2
- huaweicloudsdksa/v2/model/list_playbook_audit_logs_request.py +0 -3
- huaweicloudsdksa/v2/model/list_playbook_audit_logs_response.py +0 -2
- huaweicloudsdksa/v2/model/list_playbook_instances_request.py +0 -3
- huaweicloudsdksa/v2/model/list_playbook_instances_response.py +0 -2
- huaweicloudsdksa/v2/model/list_playbook_versions_request.py +0 -3
- huaweicloudsdksa/v2/model/list_playbook_versions_response.py +0 -2
- huaweicloudsdksa/v2/model/list_playbooks_request.py +0 -3
- huaweicloudsdksa/v2/model/list_playbooks_response.py +0 -2
- huaweicloudsdksa/v2/model/modify_action_info.py +0 -3
- huaweicloudsdksa/v2/model/modify_playbook_info.py +0 -3
- huaweicloudsdksa/v2/model/modify_playbook_version_info.py +0 -3
- huaweicloudsdksa/v2/model/modify_rule_info.py +0 -3
- huaweicloudsdksa/v2/model/operation_playbook_info.py +0 -3
- huaweicloudsdksa/v2/model/order_alert.py +0 -3
- huaweicloudsdksa/v2/model/order_alert_event_content.py +0 -3
- huaweicloudsdksa/v2/model/order_alert_incident_content.py +0 -3
- huaweicloudsdksa/v2/model/order_alert_incident_content_incident_type.py +0 -3
- huaweicloudsdksa/v2/model/playbook_info.py +0 -3
- huaweicloudsdksa/v2/model/playbook_info_ref.py +0 -3
- huaweicloudsdksa/v2/model/playbook_instance_info.py +0 -3
- huaweicloudsdksa/v2/model/playbook_instance_monitor_detail.py +0 -3
- huaweicloudsdksa/v2/model/playbook_instance_run_statistics.py +0 -3
- huaweicloudsdksa/v2/model/playbook_statistic_detail.py +0 -3
- huaweicloudsdksa/v2/model/playbook_version_info.py +0 -3
- huaweicloudsdksa/v2/model/playbook_version_list_entity.py +0 -3
- huaweicloudsdksa/v2/model/rule_info.py +0 -3
- huaweicloudsdksa/v2/model/schedule.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_detail.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_detail_dataclass_ref.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_request.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_response.py +0 -2
- huaweicloudsdksa/v2/model/show_alert_rsp.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rsp_datasource.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rsp_environment.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rsp_file_info.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rsp_malware.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rsp_network_list.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rsp_process.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rsp_remediation.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rsp_resource_list.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rsp_user_info.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rule_request.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rule_response.py +0 -2
- huaweicloudsdksa/v2/model/show_alert_rule_template_request.py +0 -3
- huaweicloudsdksa/v2/model/show_alert_rule_template_response.py +0 -2
- huaweicloudsdksa/v2/model/show_incident.py +0 -3
- huaweicloudsdksa/v2/model/show_incident_detail.py +0 -3
- huaweicloudsdksa/v2/model/show_incident_request.py +0 -3
- huaweicloudsdksa/v2/model/show_incident_response.py +0 -2
- huaweicloudsdksa/v2/model/show_indicator_detail_request.py +0 -3
- huaweicloudsdksa/v2/model/show_indicator_detail_response.py +0 -2
- huaweicloudsdksa/v2/model/show_playbook_instance_request.py +0 -3
- huaweicloudsdksa/v2/model/show_playbook_instance_response.py +0 -2
- huaweicloudsdksa/v2/model/show_playbook_monitors_request.py +0 -3
- huaweicloudsdksa/v2/model/show_playbook_monitors_response.py +0 -2
- huaweicloudsdksa/v2/model/show_playbook_request.py +0 -3
- huaweicloudsdksa/v2/model/show_playbook_response.py +0 -2
- huaweicloudsdksa/v2/model/show_playbook_rule_request.py +0 -3
- huaweicloudsdksa/v2/model/show_playbook_rule_response.py +0 -2
- huaweicloudsdksa/v2/model/show_playbook_statistics_request.py +0 -3
- huaweicloudsdksa/v2/model/show_playbook_statistics_response.py +0 -2
- huaweicloudsdksa/v2/model/show_playbook_topology_request.py +0 -3
- huaweicloudsdksa/v2/model/show_playbook_topology_response.py +0 -2
- huaweicloudsdksa/v2/model/show_playbook_version_request.py +0 -3
- huaweicloudsdksa/v2/model/show_playbook_version_response.py +0 -2
- huaweicloudsdksa/v2/model/update_alert_rule_request.py +0 -3
- huaweicloudsdksa/v2/model/update_alert_rule_request_body.py +0 -3
- huaweicloudsdksa/v2/model/update_alert_rule_response.py +0 -2
- huaweicloudsdksa/v2/model/update_indicator_request.py +0 -3
- huaweicloudsdksa/v2/model/update_indicator_request_body.py +0 -3
- huaweicloudsdksa/v2/model/update_indicator_response.py +0 -2
- huaweicloudsdksa/v2/model/update_playbook_action_request.py +0 -3
- huaweicloudsdksa/v2/model/update_playbook_action_response.py +0 -2
- huaweicloudsdksa/v2/model/update_playbook_request.py +0 -3
- huaweicloudsdksa/v2/model/update_playbook_response.py +0 -2
- huaweicloudsdksa/v2/model/update_playbook_rule_request.py +0 -3
- huaweicloudsdksa/v2/model/update_playbook_rule_response.py +0 -2
- huaweicloudsdksa/v2/model/update_playbook_version_request.py +0 -3
- huaweicloudsdksa/v2/model/update_playbook_version_response.py +0 -2
- huaweicloudsdksa/v2/sa_async_client.py +178 -432
- huaweicloudsdksa/v2/sa_client.py +178 -432
- {huaweicloudsdksa-3.1.34.dist-info → huaweicloudsdksa-3.1.42.dist-info}/METADATA +2 -2
- huaweicloudsdksa-3.1.42.dist-info/RECORD +252 -0
- huaweicloudsdksa-3.1.34.dist-info/RECORD +0 -252
- {huaweicloudsdksa-3.1.34.dist-info → huaweicloudsdksa-3.1.42.dist-info}/LICENSE +0 -0
- {huaweicloudsdksa-3.1.34.dist-info → huaweicloudsdksa-3.1.42.dist-info}/WHEEL +0 -0
- {huaweicloudsdksa-3.1.34.dist-info → huaweicloudsdksa-3.1.42.dist-info}/top_level.txt +0 -0
huaweicloudsdksa/v1/model/geo.py
CHANGED
@@ -2,35 +2,17 @@
|
|
2
2
|
|
3
3
|
from __future__ import absolute_import
|
4
4
|
|
5
|
-
import datetime
|
6
|
-
import re
|
7
5
|
import importlib
|
8
6
|
|
9
|
-
import six
|
10
|
-
|
11
7
|
from huaweicloudsdkcore.client import Client, ClientBuilder
|
12
|
-
from huaweicloudsdkcore.exceptions import exceptions
|
13
8
|
from huaweicloudsdkcore.utils import http_utils
|
14
9
|
from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest
|
15
10
|
|
16
11
|
|
17
12
|
class SaAsyncClient(Client):
|
18
|
-
PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types
|
19
|
-
NATIVE_TYPES_MAPPING = {
|
20
|
-
'int': int,
|
21
|
-
'long': int if six.PY3 else long,
|
22
|
-
'float': float,
|
23
|
-
'str': str,
|
24
|
-
'bool': bool,
|
25
|
-
'date': datetime.date,
|
26
|
-
'datetime': datetime.datetime,
|
27
|
-
'object': object,
|
28
|
-
}
|
29
|
-
|
30
13
|
def __init__(self):
|
31
14
|
super(SaAsyncClient, self).__init__()
|
32
15
|
self.model_package = importlib.import_module("huaweicloudsdksa.v1.model")
|
33
|
-
self.preset_headers = {'User-Agent': 'HuaweiCloud-SDK-Python'}
|
34
16
|
|
35
17
|
@classmethod
|
36
18
|
def new_builder(cls, clazz=None):
|
@@ -54,14 +36,10 @@ class SaAsyncClient(Client):
|
|
54
36
|
:type request: :class:`huaweicloudsdksa.v1.CheckProductHealthyRequest`
|
55
37
|
:rtype: :class:`huaweicloudsdksa.v1.CheckProductHealthyResponse`
|
56
38
|
"""
|
57
|
-
return self.
|
39
|
+
return self._check_product_healthy_with_http_info(request)
|
58
40
|
|
59
|
-
def
|
60
|
-
|
61
|
-
local_var_params = {}
|
62
|
-
for attr in request.attribute_map:
|
63
|
-
if hasattr(request, attr):
|
64
|
-
local_var_params[attr] = getattr(request, attr)
|
41
|
+
def _check_product_healthy_with_http_info(self, request):
|
42
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
65
43
|
|
66
44
|
cname = None
|
67
45
|
|
@@ -119,14 +97,10 @@ class SaAsyncClient(Client):
|
|
119
97
|
:type request: :class:`huaweicloudsdksa.v1.ImportEventsRequest`
|
120
98
|
:rtype: :class:`huaweicloudsdksa.v1.ImportEventsResponse`
|
121
99
|
"""
|
122
|
-
return self.
|
123
|
-
|
124
|
-
def
|
125
|
-
|
126
|
-
local_var_params = {}
|
127
|
-
for attr in request.attribute_map:
|
128
|
-
if hasattr(request, attr):
|
129
|
-
local_var_params[attr] = getattr(request, attr)
|
100
|
+
return self._import_events_with_http_info(request)
|
101
|
+
|
102
|
+
def _import_events_with_http_info(self, request):
|
103
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
130
104
|
|
131
105
|
cname = None
|
132
106
|
|
huaweicloudsdksa/v1/sa_client.py
CHANGED
@@ -2,35 +2,17 @@
|
|
2
2
|
|
3
3
|
from __future__ import absolute_import
|
4
4
|
|
5
|
-
import datetime
|
6
|
-
import re
|
7
5
|
import importlib
|
8
6
|
|
9
|
-
import six
|
10
|
-
|
11
7
|
from huaweicloudsdkcore.client import Client, ClientBuilder
|
12
|
-
from huaweicloudsdkcore.exceptions import exceptions
|
13
8
|
from huaweicloudsdkcore.utils import http_utils
|
14
9
|
from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest
|
15
10
|
|
16
11
|
|
17
12
|
class SaClient(Client):
|
18
|
-
PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types
|
19
|
-
NATIVE_TYPES_MAPPING = {
|
20
|
-
'int': int,
|
21
|
-
'long': int if six.PY3 else long,
|
22
|
-
'float': float,
|
23
|
-
'str': str,
|
24
|
-
'bool': bool,
|
25
|
-
'date': datetime.date,
|
26
|
-
'datetime': datetime.datetime,
|
27
|
-
'object': object,
|
28
|
-
}
|
29
|
-
|
30
13
|
def __init__(self):
|
31
14
|
super(SaClient, self).__init__()
|
32
15
|
self.model_package = importlib.import_module("huaweicloudsdksa.v1.model")
|
33
|
-
self.preset_headers = {'User-Agent': 'HuaweiCloud-SDK-Python'}
|
34
16
|
|
35
17
|
@classmethod
|
36
18
|
def new_builder(cls, clazz=None):
|
@@ -53,14 +35,10 @@ class SaClient(Client):
|
|
53
35
|
:type request: :class:`huaweicloudsdksa.v1.CheckProductHealthyRequest`
|
54
36
|
:rtype: :class:`huaweicloudsdksa.v1.CheckProductHealthyResponse`
|
55
37
|
"""
|
56
|
-
return self.
|
38
|
+
return self._check_product_healthy_with_http_info(request)
|
57
39
|
|
58
|
-
def
|
59
|
-
|
60
|
-
local_var_params = {}
|
61
|
-
for attr in request.attribute_map:
|
62
|
-
if hasattr(request, attr):
|
63
|
-
local_var_params[attr] = getattr(request, attr)
|
40
|
+
def _check_product_healthy_with_http_info(self, request):
|
41
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
64
42
|
|
65
43
|
cname = None
|
66
44
|
|
@@ -117,14 +95,10 @@ class SaClient(Client):
|
|
117
95
|
:type request: :class:`huaweicloudsdksa.v1.ImportEventsRequest`
|
118
96
|
:rtype: :class:`huaweicloudsdksa.v1.ImportEventsResponse`
|
119
97
|
"""
|
120
|
-
return self.
|
121
|
-
|
122
|
-
def
|
123
|
-
|
124
|
-
local_var_params = {}
|
125
|
-
for attr in request.attribute_map:
|
126
|
-
if hasattr(request, attr):
|
127
|
-
local_var_params[attr] = getattr(request, attr)
|
98
|
+
return self._import_events_with_http_info(request)
|
99
|
+
|
100
|
+
def _import_events_with_http_info(self, request):
|
101
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
128
102
|
|
129
103
|
cname = None
|
130
104
|
|