huaweicloudsdkdcs 3.1.74__py2.py3-none-any.whl → 3.1.76__py2.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.

Potentially problematic release.


This version of huaweicloudsdkdcs might be problematic. Click here for more details.

@@ -0,0 +1,114 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class UpdateSSLSwitchRequestBody:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'enabled': 'bool'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'enabled': 'enabled'
25
+ }
26
+
27
+ def __init__(self, enabled=None):
28
+ """UpdateSSLSwitchRequestBody
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param enabled: 开启或关闭SSL。true:开启/false:关闭
33
+ :type enabled: bool
34
+ """
35
+
36
+
37
+
38
+ self._enabled = None
39
+ self.discriminator = None
40
+
41
+ self.enabled = enabled
42
+
43
+ @property
44
+ def enabled(self):
45
+ """Gets the enabled of this UpdateSSLSwitchRequestBody.
46
+
47
+ 开启或关闭SSL。true:开启/false:关闭
48
+
49
+ :return: The enabled of this UpdateSSLSwitchRequestBody.
50
+ :rtype: bool
51
+ """
52
+ return self._enabled
53
+
54
+ @enabled.setter
55
+ def enabled(self, enabled):
56
+ """Sets the enabled of this UpdateSSLSwitchRequestBody.
57
+
58
+ 开启或关闭SSL。true:开启/false:关闭
59
+
60
+ :param enabled: The enabled of this UpdateSSLSwitchRequestBody.
61
+ :type enabled: bool
62
+ """
63
+ self._enabled = enabled
64
+
65
+ def to_dict(self):
66
+ """Returns the model properties as a dict"""
67
+ result = {}
68
+
69
+ for attr, _ in six.iteritems(self.openapi_types):
70
+ value = getattr(self, attr)
71
+ if isinstance(value, list):
72
+ result[attr] = list(map(
73
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
74
+ value
75
+ ))
76
+ elif hasattr(value, "to_dict"):
77
+ result[attr] = value.to_dict()
78
+ elif isinstance(value, dict):
79
+ result[attr] = dict(map(
80
+ lambda item: (item[0], item[1].to_dict())
81
+ if hasattr(item[1], "to_dict") else item,
82
+ value.items()
83
+ ))
84
+ else:
85
+ if attr in self.sensitive_list:
86
+ result[attr] = "****"
87
+ else:
88
+ result[attr] = value
89
+
90
+ return result
91
+
92
+ def to_str(self):
93
+ """Returns the string representation of the model"""
94
+ import simplejson as json
95
+ if six.PY2:
96
+ import sys
97
+ reload(sys)
98
+ sys.setdefaultencoding("utf-8")
99
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
100
+
101
+ def __repr__(self):
102
+ """For `print`"""
103
+ return self.to_str()
104
+
105
+ def __eq__(self, other):
106
+ """Returns true if both objects are equal"""
107
+ if not isinstance(other, UpdateSSLSwitchRequestBody):
108
+ return False
109
+
110
+ return self.__dict__ == other.__dict__
111
+
112
+ def __ne__(self, other):
113
+ """Returns true if both objects are not equal"""
114
+ return not self == other
@@ -0,0 +1,116 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class UpdateSslSwitchResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'job_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'job_id': 'job_id'
26
+ }
27
+
28
+ def __init__(self, job_id=None):
29
+ """UpdateSslSwitchResponse
30
+
31
+ The model defined in huaweicloud sdk
32
+
33
+ :param job_id: DCS任务ID。
34
+ :type job_id: str
35
+ """
36
+
37
+ super(UpdateSslSwitchResponse, self).__init__()
38
+
39
+ self._job_id = None
40
+ self.discriminator = None
41
+
42
+ if job_id is not None:
43
+ self.job_id = job_id
44
+
45
+ @property
46
+ def job_id(self):
47
+ """Gets the job_id of this UpdateSslSwitchResponse.
48
+
49
+ DCS任务ID。
50
+
51
+ :return: The job_id of this UpdateSslSwitchResponse.
52
+ :rtype: str
53
+ """
54
+ return self._job_id
55
+
56
+ @job_id.setter
57
+ def job_id(self, job_id):
58
+ """Sets the job_id of this UpdateSslSwitchResponse.
59
+
60
+ DCS任务ID。
61
+
62
+ :param job_id: The job_id of this UpdateSslSwitchResponse.
63
+ :type job_id: str
64
+ """
65
+ self._job_id = job_id
66
+
67
+ def to_dict(self):
68
+ """Returns the model properties as a dict"""
69
+ result = {}
70
+
71
+ for attr, _ in six.iteritems(self.openapi_types):
72
+ value = getattr(self, attr)
73
+ if isinstance(value, list):
74
+ result[attr] = list(map(
75
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
76
+ value
77
+ ))
78
+ elif hasattr(value, "to_dict"):
79
+ result[attr] = value.to_dict()
80
+ elif isinstance(value, dict):
81
+ result[attr] = dict(map(
82
+ lambda item: (item[0], item[1].to_dict())
83
+ if hasattr(item[1], "to_dict") else item,
84
+ value.items()
85
+ ))
86
+ else:
87
+ if attr in self.sensitive_list:
88
+ result[attr] = "****"
89
+ else:
90
+ result[attr] = value
91
+
92
+ return result
93
+
94
+ def to_str(self):
95
+ """Returns the string representation of the model"""
96
+ import simplejson as json
97
+ if six.PY2:
98
+ import sys
99
+ reload(sys)
100
+ sys.setdefaultencoding("utf-8")
101
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
102
+
103
+ def __repr__(self):
104
+ """For `print`"""
105
+ return self.to_str()
106
+
107
+ def __eq__(self, other):
108
+ """Returns true if both objects are equal"""
109
+ if not isinstance(other, UpdateSslSwitchResponse):
110
+ return False
111
+
112
+ return self.__dict__ == other.__dict__
113
+
114
+ def __ne__(self, other):
115
+ """Returns true if both objects are not equal"""
116
+ return not self == other
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkdcs
3
- Version: 3.1.74
3
+ Version: 3.1.76
4
4
  Summary: DCS
5
5
  Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
6
6
  Author: HuaweiCloud SDK
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
22
22
  Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
- Requires-Dist: huaweicloudsdkcore >=3.1.74
25
+ Requires-Dist: huaweicloudsdkcore >=3.1.76
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
@@ -1,8 +1,8 @@
1
1
  huaweicloudsdkdcs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- huaweicloudsdkdcs/v2/__init__.py,sha256=6s8nH2drlnnGSwQT5Ckcx9EkZW-FL_UTsS7kCGUrqQY,30678
3
- huaweicloudsdkdcs/v2/dcs_async_client.py,sha256=xzUYrjtAc6bV-x5ak4DLvarVWikBOIna4W7xSp2wVRI,253795
4
- huaweicloudsdkdcs/v2/dcs_client.py,sha256=c0iZo2Fag02jtz3dJY_DgkvEiEOENwaMEwO-1jZvkbg,253908
5
- huaweicloudsdkdcs/v2/model/__init__.py,sha256=a2RdNADDbrfCIY3slc4rZxuNb__veQtkUw0iv6mz4Jc,30592
2
+ huaweicloudsdkdcs/v2/__init__.py,sha256=ge3dBB4osXR-FZqpM89pqy9aDTVEWHySEPt1GUD-EZ4,31335
3
+ huaweicloudsdkdcs/v2/dcs_async_client.py,sha256=2qBVtEZzO6VMY0rF46UdSfuyjlkh2a1lpZTJ1PdjHfQ,260431
4
+ huaweicloudsdkdcs/v2/dcs_client.py,sha256=RoWsHDkJGB1iCVGRN-0LyubfimxzY0_FhhiyWKcNkGM,260550
5
+ huaweicloudsdkdcs/v2/model/__init__.py,sha256=HGTSGpZQaQx8MAcYA9EoXJMNUdkYbNTT7vYREyZ7WLA,31249
6
6
  huaweicloudsdkdcs/v2/model/acl_account_modify_password_body.py,sha256=p6mihEwiG7Z2bmDBNsZzvvUDYrZCrD72jTtTzjb1lp4,4910
7
7
  huaweicloudsdkdcs/v2/model/acl_account_reset_password_body.py,sha256=IZraI7aX_yNLjJTPwrpFafYf3r2IhEshftZQJ1RaQwY,4899
8
8
  huaweicloudsdkdcs/v2/model/acl_account_resp.py,sha256=0cp9aqjHifvcJyl31XSHX5L6z2Ot5_CXu2BxJmg7abM,9611
@@ -107,6 +107,8 @@ huaweicloudsdkdcs/v2/model/dim_child.py,sha256=jToCO9Ak5w-E_oBeoAvGO6wbyntPe62IT
107
107
  huaweicloudsdkdcs/v2/model/domain_name_entity.py,sha256=4i75BO5rdcAjcju7SXJ15ux-svOuThW-KpRwC75ySAo,4071
108
108
  huaweicloudsdkdcs/v2/model/domain_name_info.py,sha256=dQ5GD6RDbzlkOq_7jIeHn8QMndq_j5u3A_gCs82BJMs,6596
109
109
  huaweicloudsdkdcs/v2/model/download_backup_files_req.py,sha256=9gzj_qcw3vPIkKR4wbicbZATzTOsZGBhKNi1zhwDk_g,3291
110
+ huaweicloudsdkdcs/v2/model/download_ssl_cert_request.py,sha256=5_52x_1P69UxLodF9u7qhgFM-C2-GSKe8eoxVbzK53c,3121
111
+ huaweicloudsdkdcs/v2/model/download_ssl_cert_response.py,sha256=41bTVzFPkQoGpWLl19uzy-98io3QfP4j7_mRIeGUKiI,4885
110
112
  huaweicloudsdkdcs/v2/model/exchange_instance_ip_request.py,sha256=3053NTXPy1Hejen0zxmkiVjGG5Bcq6jASUOQBeIvofE,3863
111
113
  huaweicloudsdkdcs/v2/model/exchange_instance_ip_response.py,sha256=OVuXMNonqYIbGVjDjFMkUi_OjEunPlpBmiONgf3CruU,2455
112
114
  huaweicloudsdkdcs/v2/model/execute_cluster_switchover_request.py,sha256=nY0mxSkZ0lSjCDQGfnND86rYoMJ7jxm5vY8w4DhfN6I,4732
@@ -261,6 +263,8 @@ huaweicloudsdkdcs/v2/model/show_hotkey_task_details_request.py,sha256=HJX0FI_Of-
261
263
  huaweicloudsdkdcs/v2/model/show_hotkey_task_details_response.py,sha256=qdDBHTy8Nckrr0-tGDZp9SrwfQpL8T0f803gzKu8VEY,10212
262
264
  huaweicloudsdkdcs/v2/model/show_instance_request.py,sha256=35JBZAz4wYNtYz9JJusxPMdg2JV_dHnHXX6ofZFoRG0,3100
263
265
  huaweicloudsdkdcs/v2/model/show_instance_response.py,sha256=Ey4o7pePcc3AxZOjSdXBtB5nn7tdzVvStpa31QfwVEk,61945
266
+ huaweicloudsdkdcs/v2/model/show_instance_ssl_detail_request.py,sha256=fA8gaxN68SgH_-2ihl09A2O5jhtUOAvLmpl3TTuW2_U,3163
267
+ huaweicloudsdkdcs/v2/model/show_instance_ssl_detail_response.py,sha256=WOxQvuUehAYstbM6am98pmqnqM5veocpZGKrNSclnIU,7599
264
268
  huaweicloudsdkdcs/v2/model/show_ip_whitelist_request.py,sha256=8_C78mKumKAsURX7C__bestWkWH7UsjeTsYwKQOIRSk,3121
265
269
  huaweicloudsdkdcs/v2/model/show_ip_whitelist_response.py,sha256=LeToT-ziIdX_C8yLf2ehl444vhW3X230pmeTjTKIsg0,5300
266
270
  huaweicloudsdkdcs/v2/model/show_job_info_request.py,sha256=JNqrXxAMrVdreuPcaiZvRCXWe9Q9wjPfEdljz3ODBJk,2992
@@ -330,13 +334,16 @@ huaweicloudsdkdcs/v2/model/update_password_request.py,sha256=JTH6K00KpCi_QQDqAwy
330
334
  huaweicloudsdkdcs/v2/model/update_password_response.py,sha256=YFf4gl8iJ_y5eVGef2TV_4BIhr6EK60Tev-mQyuuiMU,7392
331
335
  huaweicloudsdkdcs/v2/model/update_slave_priority_request.py,sha256=dcEzC2uvQDYvDPtU904xbcuwdohKWRPmEevGJmaAjbw,5424
332
336
  huaweicloudsdkdcs/v2/model/update_slave_priority_response.py,sha256=S388jxueltMGlHyqGhySgbTWgh6paAQV-N9sIPcUgwo,2459
337
+ huaweicloudsdkdcs/v2/model/update_ssl_switch_request.py,sha256=o84Kfne_xL64QA41bX01UflaN57YMCkrYESroMv5Nkk,3960
338
+ huaweicloudsdkdcs/v2/model/update_ssl_switch_request_body.py,sha256=cp1YworW_aaXAJ-qF8S1a-6N-PoNz_OKDzOuRNBfcuU,3179
339
+ huaweicloudsdkdcs/v2/model/update_ssl_switch_response.py,sha256=2DENcmCwsvijBdjVj_445nZKFl5v3czhPeBP-yLPfRE,3178
333
340
  huaweicloudsdkdcs/v2/model/validate_deletable_replica_request.py,sha256=lG8XKqCUFDEjfDdYNkj1X_Cx0-Gkg35zeTroEjV_tqk,3175
334
341
  huaweicloudsdkdcs/v2/model/validate_deletable_replica_response.py,sha256=kadAH-PhZuoFMeCk8eLqi6MVDrZ5FdONCdwrHQRaA-M,5687
335
342
  huaweicloudsdkdcs/v2/model/whitelist.py,sha256=o3qGT2_1ARJ2RG6mEKaqXJHAT4eY9nTa6X_yLMzXdqQ,4334
336
343
  huaweicloudsdkdcs/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
337
344
  huaweicloudsdkdcs/v2/region/dcs_region.py,sha256=jObSikNoK70zgtFiZ2mJTILr4G080rXBRrKfmZWA8Rc,4217
338
- huaweicloudsdkdcs-3.1.74.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
339
- huaweicloudsdkdcs-3.1.74.dist-info/METADATA,sha256=mAhGcDRIZIPuhypTgQu-b7f-kVLQWaERj9t1C821LBE,1134
340
- huaweicloudsdkdcs-3.1.74.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
341
- huaweicloudsdkdcs-3.1.74.dist-info/top_level.txt,sha256=_O-5__fP_OBumTm1dj6NCIbz4-U1qSrYHpdKCWm6Tu8,18
342
- huaweicloudsdkdcs-3.1.74.dist-info/RECORD,,
345
+ huaweicloudsdkdcs-3.1.76.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
346
+ huaweicloudsdkdcs-3.1.76.dist-info/METADATA,sha256=VBiSMiG7gxUV7u-WH6fpHSpy9Q11am5LholUvzOlXBQ,1134
347
+ huaweicloudsdkdcs-3.1.76.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
348
+ huaweicloudsdkdcs-3.1.76.dist-info/top_level.txt,sha256=_O-5__fP_OBumTm1dj6NCIbz4-U1qSrYHpdKCWm6Tu8,18
349
+ huaweicloudsdkdcs-3.1.76.dist-info/RECORD,,