huaweicloudsdkgaussdb 3.1.143__py2.py3-none-any.whl → 3.1.145__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.
- huaweicloudsdkgaussdb/v3/__init__.py +6 -0
- huaweicloudsdkgaussdb/v3/gaussdb_async_client.py +549 -405
- huaweicloudsdkgaussdb/v3/gaussdb_client.py +549 -405
- huaweicloudsdkgaussdb/v3/model/__init__.py +6 -0
- huaweicloudsdkgaussdb/v3/model/delete_taurus_db_node_processes_request.py +196 -0
- huaweicloudsdkgaussdb/v3/model/delete_taurus_db_node_processes_request_body.py +114 -0
- huaweicloudsdkgaussdb/v3/model/delete_taurus_db_node_processes_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/list_taurus_db_node_processes_request.py +229 -0
- huaweicloudsdkgaussdb/v3/model/list_taurus_db_node_processes_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/taurus_db_process_info.py +310 -0
- {huaweicloudsdkgaussdb-3.1.143.dist-info → huaweicloudsdkgaussdb-3.1.145.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdb-3.1.143.dist-info → huaweicloudsdkgaussdb-3.1.145.dist-info}/RECORD +15 -9
- {huaweicloudsdkgaussdb-3.1.143.dist-info → huaweicloudsdkgaussdb-3.1.145.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdb-3.1.143.dist-info → huaweicloudsdkgaussdb-3.1.145.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdb-3.1.143.dist-info → huaweicloudsdkgaussdb-3.1.145.dist-info}/top_level.txt +0 -0
@@ -207,6 +207,9 @@ from huaweicloudsdkgaussdb.v3.model.delete_starrocks_instance_request import Del
|
|
207
207
|
from huaweicloudsdkgaussdb.v3.model.delete_starrocks_instance_response import DeleteStarrocksInstanceResponse
|
208
208
|
from huaweicloudsdkgaussdb.v3.model.delete_task_record_request import DeleteTaskRecordRequest
|
209
209
|
from huaweicloudsdkgaussdb.v3.model.delete_task_record_response import DeleteTaskRecordResponse
|
210
|
+
from huaweicloudsdkgaussdb.v3.model.delete_taurus_db_node_processes_request import DeleteTaurusDbNodeProcessesRequest
|
211
|
+
from huaweicloudsdkgaussdb.v3.model.delete_taurus_db_node_processes_request_body import DeleteTaurusDbNodeProcessesRequestBody
|
212
|
+
from huaweicloudsdkgaussdb.v3.model.delete_taurus_db_node_processes_response import DeleteTaurusDbNodeProcessesResponse
|
210
213
|
from huaweicloudsdkgaussdb.v3.model.describe_backup_encrypt_status_request import DescribeBackupEncryptStatusRequest
|
211
214
|
from huaweicloudsdkgaussdb.v3.model.describe_backup_encrypt_status_response import DescribeBackupEncryptStatusResponse
|
212
215
|
from huaweicloudsdkgaussdb.v3.model.diagnosis_info import DiagnosisInfo
|
@@ -326,6 +329,8 @@ from huaweicloudsdkgaussdb.v3.model.list_star_rocks_db_parameters_request import
|
|
326
329
|
from huaweicloudsdkgaussdb.v3.model.list_star_rocks_db_parameters_response import ListStarRocksDbParametersResponse
|
327
330
|
from huaweicloudsdkgaussdb.v3.model.list_starrocks_instance_info_request import ListStarrocksInstanceInfoRequest
|
328
331
|
from huaweicloudsdkgaussdb.v3.model.list_starrocks_instance_info_response import ListStarrocksInstanceInfoResponse
|
332
|
+
from huaweicloudsdkgaussdb.v3.model.list_taurus_db_node_processes_request import ListTaurusDbNodeProcessesRequest
|
333
|
+
from huaweicloudsdkgaussdb.v3.model.list_taurus_db_node_processes_response import ListTaurusDbNodeProcessesResponse
|
329
334
|
from huaweicloudsdkgaussdb.v3.model.lts_config import LtsConfig
|
330
335
|
from huaweicloudsdkgaussdb.v3.model.lts_configs_v3 import LtsConfigsV3
|
331
336
|
from huaweicloudsdkgaussdb.v3.model.lts_log_error_detail import LtsLogErrorDetail
|
@@ -621,6 +626,7 @@ from huaweicloudsdkgaussdb.v3.model.table_repl_config import TableReplConfig
|
|
621
626
|
from huaweicloudsdkgaussdb.v3.model.tables_config import TablesConfig
|
622
627
|
from huaweicloudsdkgaussdb.v3.model.tag_item import TagItem
|
623
628
|
from huaweicloudsdkgaussdb.v3.model.task_detail_info import TaskDetailInfo
|
629
|
+
from huaweicloudsdkgaussdb.v3.model.taurus_db_process_info import TaurusDbProcessInfo
|
624
630
|
from huaweicloudsdkgaussdb.v3.model.taurus_modify_instance_monitor_request_body import TaurusModifyInstanceMonitorRequestBody
|
625
631
|
from huaweicloudsdkgaussdb.v3.model.taurus_modify_proxy_weight_request import TaurusModifyProxyWeightRequest
|
626
632
|
from huaweicloudsdkgaussdb.v3.model.taurus_proxy_scale_request import TaurusProxyScaleRequest
|
@@ -0,0 +1,196 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class DeleteTaurusDbNodeProcessesRequest:
|
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
|
+
'x_language': 'str',
|
21
|
+
'instance_id': 'str',
|
22
|
+
'node_id': 'str',
|
23
|
+
'body': 'DeleteTaurusDbNodeProcessesRequestBody'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'x_language': 'X-Language',
|
28
|
+
'instance_id': 'instance_id',
|
29
|
+
'node_id': 'node_id',
|
30
|
+
'body': 'body'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, x_language=None, instance_id=None, node_id=None, body=None):
|
34
|
+
r"""DeleteTaurusDbNodeProcessesRequest
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param x_language: **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认值**: en-us
|
39
|
+
:type x_language: str
|
40
|
+
:param instance_id: **参数解释**: 实例ID,此参数是实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in07,长度为36个字符。 **默认取值**: 不涉及。
|
41
|
+
:type instance_id: str
|
42
|
+
:param node_id: **参数解释**: 节点ID,此参数是节点的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为no07,长度为36个字符。 **默认取值**: 不涉及。
|
43
|
+
:type node_id: str
|
44
|
+
:param body: Body of the DeleteTaurusDbNodeProcessesRequest
|
45
|
+
:type body: :class:`huaweicloudsdkgaussdb.v3.DeleteTaurusDbNodeProcessesRequestBody`
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._x_language = None
|
51
|
+
self._instance_id = None
|
52
|
+
self._node_id = None
|
53
|
+
self._body = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
if x_language is not None:
|
57
|
+
self.x_language = x_language
|
58
|
+
self.instance_id = instance_id
|
59
|
+
self.node_id = node_id
|
60
|
+
if body is not None:
|
61
|
+
self.body = body
|
62
|
+
|
63
|
+
@property
|
64
|
+
def x_language(self):
|
65
|
+
r"""Gets the x_language of this DeleteTaurusDbNodeProcessesRequest.
|
66
|
+
|
67
|
+
**参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认值**: en-us
|
68
|
+
|
69
|
+
:return: The x_language of this DeleteTaurusDbNodeProcessesRequest.
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._x_language
|
73
|
+
|
74
|
+
@x_language.setter
|
75
|
+
def x_language(self, x_language):
|
76
|
+
r"""Sets the x_language of this DeleteTaurusDbNodeProcessesRequest.
|
77
|
+
|
78
|
+
**参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认值**: en-us
|
79
|
+
|
80
|
+
:param x_language: The x_language of this DeleteTaurusDbNodeProcessesRequest.
|
81
|
+
:type x_language: str
|
82
|
+
"""
|
83
|
+
self._x_language = x_language
|
84
|
+
|
85
|
+
@property
|
86
|
+
def instance_id(self):
|
87
|
+
r"""Gets the instance_id of this DeleteTaurusDbNodeProcessesRequest.
|
88
|
+
|
89
|
+
**参数解释**: 实例ID,此参数是实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in07,长度为36个字符。 **默认取值**: 不涉及。
|
90
|
+
|
91
|
+
:return: The instance_id of this DeleteTaurusDbNodeProcessesRequest.
|
92
|
+
:rtype: str
|
93
|
+
"""
|
94
|
+
return self._instance_id
|
95
|
+
|
96
|
+
@instance_id.setter
|
97
|
+
def instance_id(self, instance_id):
|
98
|
+
r"""Sets the instance_id of this DeleteTaurusDbNodeProcessesRequest.
|
99
|
+
|
100
|
+
**参数解释**: 实例ID,此参数是实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in07,长度为36个字符。 **默认取值**: 不涉及。
|
101
|
+
|
102
|
+
:param instance_id: The instance_id of this DeleteTaurusDbNodeProcessesRequest.
|
103
|
+
:type instance_id: str
|
104
|
+
"""
|
105
|
+
self._instance_id = instance_id
|
106
|
+
|
107
|
+
@property
|
108
|
+
def node_id(self):
|
109
|
+
r"""Gets the node_id of this DeleteTaurusDbNodeProcessesRequest.
|
110
|
+
|
111
|
+
**参数解释**: 节点ID,此参数是节点的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为no07,长度为36个字符。 **默认取值**: 不涉及。
|
112
|
+
|
113
|
+
:return: The node_id of this DeleteTaurusDbNodeProcessesRequest.
|
114
|
+
:rtype: str
|
115
|
+
"""
|
116
|
+
return self._node_id
|
117
|
+
|
118
|
+
@node_id.setter
|
119
|
+
def node_id(self, node_id):
|
120
|
+
r"""Sets the node_id of this DeleteTaurusDbNodeProcessesRequest.
|
121
|
+
|
122
|
+
**参数解释**: 节点ID,此参数是节点的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为no07,长度为36个字符。 **默认取值**: 不涉及。
|
123
|
+
|
124
|
+
:param node_id: The node_id of this DeleteTaurusDbNodeProcessesRequest.
|
125
|
+
:type node_id: str
|
126
|
+
"""
|
127
|
+
self._node_id = node_id
|
128
|
+
|
129
|
+
@property
|
130
|
+
def body(self):
|
131
|
+
r"""Gets the body of this DeleteTaurusDbNodeProcessesRequest.
|
132
|
+
|
133
|
+
:return: The body of this DeleteTaurusDbNodeProcessesRequest.
|
134
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.DeleteTaurusDbNodeProcessesRequestBody`
|
135
|
+
"""
|
136
|
+
return self._body
|
137
|
+
|
138
|
+
@body.setter
|
139
|
+
def body(self, body):
|
140
|
+
r"""Sets the body of this DeleteTaurusDbNodeProcessesRequest.
|
141
|
+
|
142
|
+
:param body: The body of this DeleteTaurusDbNodeProcessesRequest.
|
143
|
+
:type body: :class:`huaweicloudsdkgaussdb.v3.DeleteTaurusDbNodeProcessesRequestBody`
|
144
|
+
"""
|
145
|
+
self._body = body
|
146
|
+
|
147
|
+
def to_dict(self):
|
148
|
+
"""Returns the model properties as a dict"""
|
149
|
+
result = {}
|
150
|
+
|
151
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
152
|
+
value = getattr(self, attr)
|
153
|
+
if isinstance(value, list):
|
154
|
+
result[attr] = list(map(
|
155
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
156
|
+
value
|
157
|
+
))
|
158
|
+
elif hasattr(value, "to_dict"):
|
159
|
+
result[attr] = value.to_dict()
|
160
|
+
elif isinstance(value, dict):
|
161
|
+
result[attr] = dict(map(
|
162
|
+
lambda item: (item[0], item[1].to_dict())
|
163
|
+
if hasattr(item[1], "to_dict") else item,
|
164
|
+
value.items()
|
165
|
+
))
|
166
|
+
else:
|
167
|
+
if attr in self.sensitive_list:
|
168
|
+
result[attr] = "****"
|
169
|
+
else:
|
170
|
+
result[attr] = value
|
171
|
+
|
172
|
+
return result
|
173
|
+
|
174
|
+
def to_str(self):
|
175
|
+
"""Returns the string representation of the model"""
|
176
|
+
import simplejson as json
|
177
|
+
if six.PY2:
|
178
|
+
import sys
|
179
|
+
reload(sys)
|
180
|
+
sys.setdefaultencoding("utf-8")
|
181
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
182
|
+
|
183
|
+
def __repr__(self):
|
184
|
+
"""For `print`"""
|
185
|
+
return self.to_str()
|
186
|
+
|
187
|
+
def __eq__(self, other):
|
188
|
+
"""Returns true if both objects are equal"""
|
189
|
+
if not isinstance(other, DeleteTaurusDbNodeProcessesRequest):
|
190
|
+
return False
|
191
|
+
|
192
|
+
return self.__dict__ == other.__dict__
|
193
|
+
|
194
|
+
def __ne__(self, other):
|
195
|
+
"""Returns true if both objects are not equal"""
|
196
|
+
return not self == other
|
@@ -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 DeleteTaurusDbNodeProcessesRequestBody:
|
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
|
+
'processes': 'list[int]'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'processes': 'processes'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, processes=None):
|
28
|
+
r"""DeleteTaurusDbNodeProcessesRequestBody
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param processes: **参数解释**: 待终止用户会话线程ID列表。 通过查询节点用户会话线程接口,或show processlist命令获取。
|
33
|
+
:type processes: list[int]
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._processes = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.processes = processes
|
42
|
+
|
43
|
+
@property
|
44
|
+
def processes(self):
|
45
|
+
r"""Gets the processes of this DeleteTaurusDbNodeProcessesRequestBody.
|
46
|
+
|
47
|
+
**参数解释**: 待终止用户会话线程ID列表。 通过查询节点用户会话线程接口,或show processlist命令获取。
|
48
|
+
|
49
|
+
:return: The processes of this DeleteTaurusDbNodeProcessesRequestBody.
|
50
|
+
:rtype: list[int]
|
51
|
+
"""
|
52
|
+
return self._processes
|
53
|
+
|
54
|
+
@processes.setter
|
55
|
+
def processes(self, processes):
|
56
|
+
r"""Sets the processes of this DeleteTaurusDbNodeProcessesRequestBody.
|
57
|
+
|
58
|
+
**参数解释**: 待终止用户会话线程ID列表。 通过查询节点用户会话线程接口,或show processlist命令获取。
|
59
|
+
|
60
|
+
:param processes: The processes of this DeleteTaurusDbNodeProcessesRequestBody.
|
61
|
+
:type processes: list[int]
|
62
|
+
"""
|
63
|
+
self._processes = processes
|
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, DeleteTaurusDbNodeProcessesRequestBody):
|
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,145 @@
|
|
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 DeleteTaurusDbNodeProcessesResponse(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
|
+
'processes_killed': 'list[int]',
|
22
|
+
'processes_not_found': 'list[int]'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'processes_killed': 'processes_killed',
|
27
|
+
'processes_not_found': 'processes_not_found'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, processes_killed=None, processes_not_found=None):
|
31
|
+
r"""DeleteTaurusDbNodeProcessesResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param processes_killed: **参数解释**: 已终止的用户会话线程ID列表。
|
36
|
+
:type processes_killed: list[int]
|
37
|
+
:param processes_not_found: **参数解释**: 不存在的用户会话线程ID列表。
|
38
|
+
:type processes_not_found: list[int]
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(DeleteTaurusDbNodeProcessesResponse, self).__init__()
|
42
|
+
|
43
|
+
self._processes_killed = None
|
44
|
+
self._processes_not_found = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if processes_killed is not None:
|
48
|
+
self.processes_killed = processes_killed
|
49
|
+
if processes_not_found is not None:
|
50
|
+
self.processes_not_found = processes_not_found
|
51
|
+
|
52
|
+
@property
|
53
|
+
def processes_killed(self):
|
54
|
+
r"""Gets the processes_killed of this DeleteTaurusDbNodeProcessesResponse.
|
55
|
+
|
56
|
+
**参数解释**: 已终止的用户会话线程ID列表。
|
57
|
+
|
58
|
+
:return: The processes_killed of this DeleteTaurusDbNodeProcessesResponse.
|
59
|
+
:rtype: list[int]
|
60
|
+
"""
|
61
|
+
return self._processes_killed
|
62
|
+
|
63
|
+
@processes_killed.setter
|
64
|
+
def processes_killed(self, processes_killed):
|
65
|
+
r"""Sets the processes_killed of this DeleteTaurusDbNodeProcessesResponse.
|
66
|
+
|
67
|
+
**参数解释**: 已终止的用户会话线程ID列表。
|
68
|
+
|
69
|
+
:param processes_killed: The processes_killed of this DeleteTaurusDbNodeProcessesResponse.
|
70
|
+
:type processes_killed: list[int]
|
71
|
+
"""
|
72
|
+
self._processes_killed = processes_killed
|
73
|
+
|
74
|
+
@property
|
75
|
+
def processes_not_found(self):
|
76
|
+
r"""Gets the processes_not_found of this DeleteTaurusDbNodeProcessesResponse.
|
77
|
+
|
78
|
+
**参数解释**: 不存在的用户会话线程ID列表。
|
79
|
+
|
80
|
+
:return: The processes_not_found of this DeleteTaurusDbNodeProcessesResponse.
|
81
|
+
:rtype: list[int]
|
82
|
+
"""
|
83
|
+
return self._processes_not_found
|
84
|
+
|
85
|
+
@processes_not_found.setter
|
86
|
+
def processes_not_found(self, processes_not_found):
|
87
|
+
r"""Sets the processes_not_found of this DeleteTaurusDbNodeProcessesResponse.
|
88
|
+
|
89
|
+
**参数解释**: 不存在的用户会话线程ID列表。
|
90
|
+
|
91
|
+
:param processes_not_found: The processes_not_found of this DeleteTaurusDbNodeProcessesResponse.
|
92
|
+
:type processes_not_found: list[int]
|
93
|
+
"""
|
94
|
+
self._processes_not_found = processes_not_found
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
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
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, DeleteTaurusDbNodeProcessesResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
return not self == other
|