huaweicloudsdkgaussdb 3.1.101__py2.py3-none-any.whl → 3.1.103__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.
Files changed (121) hide show
  1. huaweicloudsdkgaussdb/v3/__init__.py +111 -1
  2. huaweicloudsdkgaussdb/v3/gaussdb_async_client.py +2346 -272
  3. huaweicloudsdkgaussdb/v3/gaussdb_client.py +2346 -272
  4. huaweicloudsdkgaussdb/v3/model/__init__.py +111 -1
  5. huaweicloudsdkgaussdb/v3/model/ch_database_config_check_result.py +170 -0
  6. huaweicloudsdkgaussdb/v3/model/ch_database_config_response.py +142 -0
  7. huaweicloudsdkgaussdb/v3/model/ch_database_configs_info.py +142 -0
  8. huaweicloudsdkgaussdb/v3/model/ch_database_parameter_info.py +226 -0
  9. huaweicloudsdkgaussdb/v3/model/ch_database_replication_info.py +254 -0
  10. huaweicloudsdkgaussdb/v3/model/ch_database_table_config_check_result.py +170 -0
  11. huaweicloudsdkgaussdb/v3/model/ch_database_table_repl_config_info.py +142 -0
  12. huaweicloudsdkgaussdb/v3/model/ch_database_tables_configs_info.py +142 -0
  13. huaweicloudsdkgaussdb/v3/model/ch_enlarge_volume_request_body.py +114 -0
  14. huaweicloudsdkgaussdb/v3/model/ch_instance_lts_configs.py +140 -0
  15. huaweicloudsdkgaussdb/v3/model/ch_instance_lts_configs_instance.py +318 -0
  16. huaweicloudsdkgaussdb/v3/model/ch_instances_info_rsponse_instance.py +1179 -0
  17. huaweicloudsdkgaussdb/v3/model/ch_instances_info_rsponse_instance_groups.py +198 -0
  18. huaweicloudsdkgaussdb/v3/model/ch_instances_info_rsponse_instance_ops_window.py +171 -0
  19. huaweicloudsdkgaussdb/v3/model/ch_instances_info_rsponse_instance_param_group.py +144 -0
  20. huaweicloudsdkgaussdb/v3/model/ch_instances_info_rsponse_instance_port_info.py +226 -0
  21. huaweicloudsdkgaussdb/v3/model/ch_lts_configs.py +202 -0
  22. huaweicloudsdkgaussdb/v3/model/ch_query_action_info.py +318 -0
  23. huaweicloudsdkgaussdb/v3/model/ch_slow_log_detail_response_slow_log_list.py +450 -0
  24. huaweicloudsdkgaussdb/v3/model/ch_slow_log_query_request_body.py +285 -0
  25. huaweicloudsdkgaussdb/v3/model/ch_slowlog_sensitive_response.py +114 -0
  26. huaweicloudsdkgaussdb/v3/model/check_ch_database_config_request_body.py +223 -0
  27. huaweicloudsdkgaussdb/v3/model/check_ch_database_table_config_request_body.py +251 -0
  28. huaweicloudsdkgaussdb/v3/model/check_click_house_data_base_config_request.py +168 -0
  29. huaweicloudsdkgaussdb/v3/model/check_click_house_data_base_config_response.py +145 -0
  30. huaweicloudsdkgaussdb/v3/model/check_click_house_table_config_request.py +168 -0
  31. huaweicloudsdkgaussdb/v3/model/check_click_house_table_config_response.py +145 -0
  32. huaweicloudsdkgaussdb/v3/model/click_house_database_user_info.py +199 -0
  33. huaweicloudsdkgaussdb/v3/model/click_house_database_user_p_sinfo.py +170 -0
  34. huaweicloudsdkgaussdb/v3/model/click_house_database_user_p_winfo.py +142 -0
  35. huaweicloudsdkgaussdb/v3/model/click_house_engine_info.py +142 -0
  36. huaweicloudsdkgaussdb/v3/model/click_house_node_info.py +979 -0
  37. huaweicloudsdkgaussdb/v3/model/click_house_node_info_datastore.py +170 -0
  38. huaweicloudsdkgaussdb/v3/model/click_house_node_info_response_body_node_list.py +170 -0
  39. huaweicloudsdkgaussdb/v3/model/click_house_node_info_volume.py +200 -0
  40. huaweicloudsdkgaussdb/v3/model/click_house_resize_flavor_request_body.py +171 -0
  41. huaweicloudsdkgaussdb/v3/model/create_ch_database_replication_request_body.py +171 -0
  42. huaweicloudsdkgaussdb/v3/model/create_ch_instance_info.py +522 -0
  43. huaweicloudsdkgaussdb/v3/model/create_ch_instance_info_pay_info.py +226 -0
  44. huaweicloudsdkgaussdb/v3/model/create_ch_instance_info_tags_info.py +144 -0
  45. huaweicloudsdkgaussdb/v3/model/{sr_create_instance_rsp_instance_tags_info_tags.py → create_ch_instance_info_tags_info_tags.py} +11 -11
  46. huaweicloudsdkgaussdb/v3/model/create_ch_instance_request_body.py +376 -0
  47. huaweicloudsdkgaussdb/v3/model/create_ch_instance_request_body_ha.py +114 -0
  48. huaweicloudsdkgaussdb/v3/model/create_ch_instance_request_body_pay_info.py +231 -0
  49. huaweicloudsdkgaussdb/v3/model/create_ch_instance_request_body_tags_info.py +114 -0
  50. huaweicloudsdkgaussdb/v3/model/create_ch_instance_request_body_tags_info_sys_tags.py +142 -0
  51. huaweicloudsdkgaussdb/v3/model/create_ch_instance_request_body_volume.py +142 -0
  52. huaweicloudsdkgaussdb/v3/model/create_ch_lts_config_request_body.py +114 -0
  53. huaweicloudsdkgaussdb/v3/model/create_ch_lts_config_request_body_log_configs.py +198 -0
  54. huaweicloudsdkgaussdb/v3/model/create_click_house_data_base_replication_request.py +168 -0
  55. huaweicloudsdkgaussdb/v3/model/create_click_house_data_base_replication_response.py +116 -0
  56. huaweicloudsdkgaussdb/v3/model/create_click_house_database_user_request.py +168 -0
  57. huaweicloudsdkgaussdb/v3/model/create_click_house_database_user_response.py +116 -0
  58. huaweicloudsdkgaussdb/v3/model/create_click_house_instance_request.py +168 -0
  59. huaweicloudsdkgaussdb/v3/model/create_click_house_instance_response.py +141 -0
  60. huaweicloudsdkgaussdb/v3/model/delete_ch_lts_config_request_body.py +114 -0
  61. huaweicloudsdkgaussdb/v3/model/delete_ch_lts_config_request_body_log_configs.py +142 -0
  62. huaweicloudsdkgaussdb/v3/model/delete_click_house_data_base_config_request.py +171 -0
  63. huaweicloudsdkgaussdb/v3/model/delete_click_house_data_base_config_response.py +116 -0
  64. huaweicloudsdkgaussdb/v3/model/delete_click_house_data_base_replication_request.py +171 -0
  65. huaweicloudsdkgaussdb/v3/model/delete_click_house_data_base_replication_response.py +116 -0
  66. huaweicloudsdkgaussdb/v3/model/delete_click_house_database_user_request.py +171 -0
  67. huaweicloudsdkgaussdb/v3/model/delete_click_house_database_user_response.py +116 -0
  68. huaweicloudsdkgaussdb/v3/model/delete_click_house_instance_request.py +171 -0
  69. huaweicloudsdkgaussdb/v3/model/delete_click_house_instance_response.py +116 -0
  70. huaweicloudsdkgaussdb/v3/model/delete_click_house_lts_config_request.py +140 -0
  71. huaweicloudsdkgaussdb/v3/model/delete_click_house_lts_config_response.py +85 -0
  72. huaweicloudsdkgaussdb/v3/model/list_click_house_data_base_parameter_request.py +143 -0
  73. huaweicloudsdkgaussdb/v3/model/list_click_house_data_base_parameter_response.py +116 -0
  74. huaweicloudsdkgaussdb/v3/model/list_click_house_data_base_replication_config_request.py +171 -0
  75. huaweicloudsdkgaussdb/v3/model/list_click_house_data_base_replication_config_response.py +307 -0
  76. huaweicloudsdkgaussdb/v3/model/list_click_house_data_base_replication_request.py +201 -0
  77. huaweicloudsdkgaussdb/v3/model/list_click_house_data_base_replication_response.py +174 -0
  78. huaweicloudsdkgaussdb/v3/model/list_click_house_data_base_request.py +230 -0
  79. huaweicloudsdkgaussdb/v3/model/list_click_house_data_base_response.py +145 -0
  80. huaweicloudsdkgaussdb/v3/model/list_click_house_instance_node_request.py +143 -0
  81. huaweicloudsdkgaussdb/v3/model/list_click_house_instance_node_response.py +116 -0
  82. huaweicloudsdkgaussdb/v3/model/list_click_house_instance_request.py +171 -0
  83. huaweicloudsdkgaussdb/v3/model/list_click_house_instance_response.py +112 -0
  84. huaweicloudsdkgaussdb/v3/model/pause_star_rocks_data_replication.py +114 -0
  85. huaweicloudsdkgaussdb/v3/model/pause_star_rocks_data_replication_request.py +167 -0
  86. huaweicloudsdkgaussdb/v3/model/pause_star_rocks_data_replication_response.py +116 -0
  87. huaweicloudsdkgaussdb/v3/model/reboot_click_house_instance_request.py +143 -0
  88. huaweicloudsdkgaussdb/v3/model/reboot_click_house_instance_response.py +116 -0
  89. huaweicloudsdkgaussdb/v3/model/resize_click_house_flavor_request.py +168 -0
  90. huaweicloudsdkgaussdb/v3/model/resize_click_house_flavor_response.py +116 -0
  91. huaweicloudsdkgaussdb/v3/model/resize_click_house_instance_request.py +168 -0
  92. huaweicloudsdkgaussdb/v3/model/resize_click_house_instance_response.py +116 -0
  93. huaweicloudsdkgaussdb/v3/model/resume_star_rocks_data_replication.py +114 -0
  94. huaweicloudsdkgaussdb/v3/model/resume_star_rocks_data_replication_request.py +167 -0
  95. huaweicloudsdkgaussdb/v3/model/resume_star_rocks_data_replication_response.py +116 -0
  96. huaweicloudsdkgaussdb/v3/model/show_click_house_database_user_request.py +230 -0
  97. huaweicloudsdkgaussdb/v3/model/show_click_house_database_user_response.py +145 -0
  98. huaweicloudsdkgaussdb/v3/model/show_click_house_database_users_user_details.py +198 -0
  99. huaweicloudsdkgaussdb/v3/model/show_click_house_lts_config_request.py +260 -0
  100. huaweicloudsdkgaussdb/v3/model/show_click_house_lts_config_response.py +145 -0
  101. huaweicloudsdkgaussdb/v3/model/show_click_house_slow_log_detail_request.py +168 -0
  102. huaweicloudsdkgaussdb/v3/model/show_click_house_slow_log_detail_response.py +116 -0
  103. huaweicloudsdkgaussdb/v3/model/show_click_house_slow_log_sensitive_status_request.py +143 -0
  104. huaweicloudsdkgaussdb/v3/model/show_click_house_slow_log_sensitive_status_response.py +116 -0
  105. huaweicloudsdkgaussdb/v3/model/sr_create_instance_rsp_instance_tags_info.py +4 -4
  106. huaweicloudsdkgaussdb/v3/model/update_ch_database_config_request_body.py +199 -0
  107. huaweicloudsdkgaussdb/v3/model/update_click_house_data_base_config_request.py +168 -0
  108. huaweicloudsdkgaussdb/v3/model/update_click_house_data_base_config_response.py +116 -0
  109. huaweicloudsdkgaussdb/v3/model/update_click_house_database_user_password_request.py +168 -0
  110. huaweicloudsdkgaussdb/v3/model/update_click_house_database_user_password_response.py +116 -0
  111. huaweicloudsdkgaussdb/v3/model/update_click_house_database_user_permission_request.py +168 -0
  112. huaweicloudsdkgaussdb/v3/model/update_click_house_database_user_permission_response.py +116 -0
  113. huaweicloudsdkgaussdb/v3/model/update_click_house_lts_config_request.py +140 -0
  114. huaweicloudsdkgaussdb/v3/model/update_click_house_lts_config_response.py +85 -0
  115. huaweicloudsdkgaussdb/v3/model/update_click_house_slow_log_sensitive_status_request.py +168 -0
  116. huaweicloudsdkgaussdb/v3/model/update_click_house_slow_log_sensitive_status_response.py +116 -0
  117. {huaweicloudsdkgaussdb-3.1.101.dist-info → huaweicloudsdkgaussdb-3.1.103.dist-info}/METADATA +2 -2
  118. {huaweicloudsdkgaussdb-3.1.101.dist-info → huaweicloudsdkgaussdb-3.1.103.dist-info}/RECORD +121 -11
  119. {huaweicloudsdkgaussdb-3.1.101.dist-info → huaweicloudsdkgaussdb-3.1.103.dist-info}/LICENSE +0 -0
  120. {huaweicloudsdkgaussdb-3.1.101.dist-info → huaweicloudsdkgaussdb-3.1.103.dist-info}/WHEEL +0 -0
  121. {huaweicloudsdkgaussdb-3.1.101.dist-info → huaweicloudsdkgaussdb-3.1.103.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,450 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ChSlowLogDetailResponseSlowLogList:
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
+ 'node_id': 'str',
21
+ 'time': 'str',
22
+ 'lock_time': 'str',
23
+ 'rows_sent': 'int',
24
+ 'rows_examined': 'int',
25
+ 'database': 'str',
26
+ 'users': 'str',
27
+ 'query_sample': 'str',
28
+ 'type': 'str',
29
+ 'client_ip': 'str',
30
+ 'start_time': 'str',
31
+ 'line_num': 'str',
32
+ 'count': 'str'
33
+ }
34
+
35
+ attribute_map = {
36
+ 'node_id': 'node_id',
37
+ 'time': 'time',
38
+ 'lock_time': 'lock_time',
39
+ 'rows_sent': 'rows_sent',
40
+ 'rows_examined': 'rows_examined',
41
+ 'database': 'database',
42
+ 'users': 'users',
43
+ 'query_sample': 'query_sample',
44
+ 'type': 'type',
45
+ 'client_ip': 'client_ip',
46
+ 'start_time': 'start_time',
47
+ 'line_num': 'line_num',
48
+ 'count': 'count'
49
+ }
50
+
51
+ def __init__(self, node_id=None, time=None, lock_time=None, rows_sent=None, rows_examined=None, database=None, users=None, query_sample=None, type=None, client_ip=None, start_time=None, line_num=None, count=None):
52
+ """ChSlowLogDetailResponseSlowLogList
53
+
54
+ The model defined in huaweicloud sdk
55
+
56
+ :param node_id: ClickHouse实例节点ID。
57
+ :type node_id: str
58
+ :param time: 数据库语句执行时间。
59
+ :type time: str
60
+ :param lock_time: 数据库语句等待锁时间。
61
+ :type lock_time: str
62
+ :param rows_sent: 数据库语句执行结果行数。
63
+ :type rows_sent: int
64
+ :param rows_examined: 数据库语句扫描行数。
65
+ :type rows_examined: int
66
+ :param database: 所属数据库名。
67
+ :type database: str
68
+ :param users: 执行语句账号。
69
+ :type users: str
70
+ :param query_sample: 数据库执行语句。
71
+ :type query_sample: str
72
+ :param type: 数据库语句类型。
73
+ :type type: str
74
+ :param client_ip: IP地址。
75
+ :type client_ip: str
76
+ :param start_time: 数据库语句发生时间。
77
+ :type start_time: str
78
+ :param line_num: 日志单行序列号,第一次查询时不需要此参数,后续分页查询时需要使用,可从上次查询的返回信息中获取。
79
+ :type line_num: str
80
+ :param count: 慢日志数量。
81
+ :type count: str
82
+ """
83
+
84
+
85
+
86
+ self._node_id = None
87
+ self._time = None
88
+ self._lock_time = None
89
+ self._rows_sent = None
90
+ self._rows_examined = None
91
+ self._database = None
92
+ self._users = None
93
+ self._query_sample = None
94
+ self._type = None
95
+ self._client_ip = None
96
+ self._start_time = None
97
+ self._line_num = None
98
+ self._count = None
99
+ self.discriminator = None
100
+
101
+ self.node_id = node_id
102
+ self.time = time
103
+ self.lock_time = lock_time
104
+ self.rows_sent = rows_sent
105
+ self.rows_examined = rows_examined
106
+ self.database = database
107
+ self.users = users
108
+ self.query_sample = query_sample
109
+ self.type = type
110
+ self.client_ip = client_ip
111
+ self.start_time = start_time
112
+ self.line_num = line_num
113
+ self.count = count
114
+
115
+ @property
116
+ def node_id(self):
117
+ """Gets the node_id of this ChSlowLogDetailResponseSlowLogList.
118
+
119
+ ClickHouse实例节点ID。
120
+
121
+ :return: The node_id of this ChSlowLogDetailResponseSlowLogList.
122
+ :rtype: str
123
+ """
124
+ return self._node_id
125
+
126
+ @node_id.setter
127
+ def node_id(self, node_id):
128
+ """Sets the node_id of this ChSlowLogDetailResponseSlowLogList.
129
+
130
+ ClickHouse实例节点ID。
131
+
132
+ :param node_id: The node_id of this ChSlowLogDetailResponseSlowLogList.
133
+ :type node_id: str
134
+ """
135
+ self._node_id = node_id
136
+
137
+ @property
138
+ def time(self):
139
+ """Gets the time of this ChSlowLogDetailResponseSlowLogList.
140
+
141
+ 数据库语句执行时间。
142
+
143
+ :return: The time of this ChSlowLogDetailResponseSlowLogList.
144
+ :rtype: str
145
+ """
146
+ return self._time
147
+
148
+ @time.setter
149
+ def time(self, time):
150
+ """Sets the time of this ChSlowLogDetailResponseSlowLogList.
151
+
152
+ 数据库语句执行时间。
153
+
154
+ :param time: The time of this ChSlowLogDetailResponseSlowLogList.
155
+ :type time: str
156
+ """
157
+ self._time = time
158
+
159
+ @property
160
+ def lock_time(self):
161
+ """Gets the lock_time of this ChSlowLogDetailResponseSlowLogList.
162
+
163
+ 数据库语句等待锁时间。
164
+
165
+ :return: The lock_time of this ChSlowLogDetailResponseSlowLogList.
166
+ :rtype: str
167
+ """
168
+ return self._lock_time
169
+
170
+ @lock_time.setter
171
+ def lock_time(self, lock_time):
172
+ """Sets the lock_time of this ChSlowLogDetailResponseSlowLogList.
173
+
174
+ 数据库语句等待锁时间。
175
+
176
+ :param lock_time: The lock_time of this ChSlowLogDetailResponseSlowLogList.
177
+ :type lock_time: str
178
+ """
179
+ self._lock_time = lock_time
180
+
181
+ @property
182
+ def rows_sent(self):
183
+ """Gets the rows_sent of this ChSlowLogDetailResponseSlowLogList.
184
+
185
+ 数据库语句执行结果行数。
186
+
187
+ :return: The rows_sent of this ChSlowLogDetailResponseSlowLogList.
188
+ :rtype: int
189
+ """
190
+ return self._rows_sent
191
+
192
+ @rows_sent.setter
193
+ def rows_sent(self, rows_sent):
194
+ """Sets the rows_sent of this ChSlowLogDetailResponseSlowLogList.
195
+
196
+ 数据库语句执行结果行数。
197
+
198
+ :param rows_sent: The rows_sent of this ChSlowLogDetailResponseSlowLogList.
199
+ :type rows_sent: int
200
+ """
201
+ self._rows_sent = rows_sent
202
+
203
+ @property
204
+ def rows_examined(self):
205
+ """Gets the rows_examined of this ChSlowLogDetailResponseSlowLogList.
206
+
207
+ 数据库语句扫描行数。
208
+
209
+ :return: The rows_examined of this ChSlowLogDetailResponseSlowLogList.
210
+ :rtype: int
211
+ """
212
+ return self._rows_examined
213
+
214
+ @rows_examined.setter
215
+ def rows_examined(self, rows_examined):
216
+ """Sets the rows_examined of this ChSlowLogDetailResponseSlowLogList.
217
+
218
+ 数据库语句扫描行数。
219
+
220
+ :param rows_examined: The rows_examined of this ChSlowLogDetailResponseSlowLogList.
221
+ :type rows_examined: int
222
+ """
223
+ self._rows_examined = rows_examined
224
+
225
+ @property
226
+ def database(self):
227
+ """Gets the database of this ChSlowLogDetailResponseSlowLogList.
228
+
229
+ 所属数据库名。
230
+
231
+ :return: The database of this ChSlowLogDetailResponseSlowLogList.
232
+ :rtype: str
233
+ """
234
+ return self._database
235
+
236
+ @database.setter
237
+ def database(self, database):
238
+ """Sets the database of this ChSlowLogDetailResponseSlowLogList.
239
+
240
+ 所属数据库名。
241
+
242
+ :param database: The database of this ChSlowLogDetailResponseSlowLogList.
243
+ :type database: str
244
+ """
245
+ self._database = database
246
+
247
+ @property
248
+ def users(self):
249
+ """Gets the users of this ChSlowLogDetailResponseSlowLogList.
250
+
251
+ 执行语句账号。
252
+
253
+ :return: The users of this ChSlowLogDetailResponseSlowLogList.
254
+ :rtype: str
255
+ """
256
+ return self._users
257
+
258
+ @users.setter
259
+ def users(self, users):
260
+ """Sets the users of this ChSlowLogDetailResponseSlowLogList.
261
+
262
+ 执行语句账号。
263
+
264
+ :param users: The users of this ChSlowLogDetailResponseSlowLogList.
265
+ :type users: str
266
+ """
267
+ self._users = users
268
+
269
+ @property
270
+ def query_sample(self):
271
+ """Gets the query_sample of this ChSlowLogDetailResponseSlowLogList.
272
+
273
+ 数据库执行语句。
274
+
275
+ :return: The query_sample of this ChSlowLogDetailResponseSlowLogList.
276
+ :rtype: str
277
+ """
278
+ return self._query_sample
279
+
280
+ @query_sample.setter
281
+ def query_sample(self, query_sample):
282
+ """Sets the query_sample of this ChSlowLogDetailResponseSlowLogList.
283
+
284
+ 数据库执行语句。
285
+
286
+ :param query_sample: The query_sample of this ChSlowLogDetailResponseSlowLogList.
287
+ :type query_sample: str
288
+ """
289
+ self._query_sample = query_sample
290
+
291
+ @property
292
+ def type(self):
293
+ """Gets the type of this ChSlowLogDetailResponseSlowLogList.
294
+
295
+ 数据库语句类型。
296
+
297
+ :return: The type of this ChSlowLogDetailResponseSlowLogList.
298
+ :rtype: str
299
+ """
300
+ return self._type
301
+
302
+ @type.setter
303
+ def type(self, type):
304
+ """Sets the type of this ChSlowLogDetailResponseSlowLogList.
305
+
306
+ 数据库语句类型。
307
+
308
+ :param type: The type of this ChSlowLogDetailResponseSlowLogList.
309
+ :type type: str
310
+ """
311
+ self._type = type
312
+
313
+ @property
314
+ def client_ip(self):
315
+ """Gets the client_ip of this ChSlowLogDetailResponseSlowLogList.
316
+
317
+ IP地址。
318
+
319
+ :return: The client_ip of this ChSlowLogDetailResponseSlowLogList.
320
+ :rtype: str
321
+ """
322
+ return self._client_ip
323
+
324
+ @client_ip.setter
325
+ def client_ip(self, client_ip):
326
+ """Sets the client_ip of this ChSlowLogDetailResponseSlowLogList.
327
+
328
+ IP地址。
329
+
330
+ :param client_ip: The client_ip of this ChSlowLogDetailResponseSlowLogList.
331
+ :type client_ip: str
332
+ """
333
+ self._client_ip = client_ip
334
+
335
+ @property
336
+ def start_time(self):
337
+ """Gets the start_time of this ChSlowLogDetailResponseSlowLogList.
338
+
339
+ 数据库语句发生时间。
340
+
341
+ :return: The start_time of this ChSlowLogDetailResponseSlowLogList.
342
+ :rtype: str
343
+ """
344
+ return self._start_time
345
+
346
+ @start_time.setter
347
+ def start_time(self, start_time):
348
+ """Sets the start_time of this ChSlowLogDetailResponseSlowLogList.
349
+
350
+ 数据库语句发生时间。
351
+
352
+ :param start_time: The start_time of this ChSlowLogDetailResponseSlowLogList.
353
+ :type start_time: str
354
+ """
355
+ self._start_time = start_time
356
+
357
+ @property
358
+ def line_num(self):
359
+ """Gets the line_num of this ChSlowLogDetailResponseSlowLogList.
360
+
361
+ 日志单行序列号,第一次查询时不需要此参数,后续分页查询时需要使用,可从上次查询的返回信息中获取。
362
+
363
+ :return: The line_num of this ChSlowLogDetailResponseSlowLogList.
364
+ :rtype: str
365
+ """
366
+ return self._line_num
367
+
368
+ @line_num.setter
369
+ def line_num(self, line_num):
370
+ """Sets the line_num of this ChSlowLogDetailResponseSlowLogList.
371
+
372
+ 日志单行序列号,第一次查询时不需要此参数,后续分页查询时需要使用,可从上次查询的返回信息中获取。
373
+
374
+ :param line_num: The line_num of this ChSlowLogDetailResponseSlowLogList.
375
+ :type line_num: str
376
+ """
377
+ self._line_num = line_num
378
+
379
+ @property
380
+ def count(self):
381
+ """Gets the count of this ChSlowLogDetailResponseSlowLogList.
382
+
383
+ 慢日志数量。
384
+
385
+ :return: The count of this ChSlowLogDetailResponseSlowLogList.
386
+ :rtype: str
387
+ """
388
+ return self._count
389
+
390
+ @count.setter
391
+ def count(self, count):
392
+ """Sets the count of this ChSlowLogDetailResponseSlowLogList.
393
+
394
+ 慢日志数量。
395
+
396
+ :param count: The count of this ChSlowLogDetailResponseSlowLogList.
397
+ :type count: str
398
+ """
399
+ self._count = count
400
+
401
+ def to_dict(self):
402
+ """Returns the model properties as a dict"""
403
+ result = {}
404
+
405
+ for attr, _ in six.iteritems(self.openapi_types):
406
+ value = getattr(self, attr)
407
+ if isinstance(value, list):
408
+ result[attr] = list(map(
409
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
410
+ value
411
+ ))
412
+ elif hasattr(value, "to_dict"):
413
+ result[attr] = value.to_dict()
414
+ elif isinstance(value, dict):
415
+ result[attr] = dict(map(
416
+ lambda item: (item[0], item[1].to_dict())
417
+ if hasattr(item[1], "to_dict") else item,
418
+ value.items()
419
+ ))
420
+ else:
421
+ if attr in self.sensitive_list:
422
+ result[attr] = "****"
423
+ else:
424
+ result[attr] = value
425
+
426
+ return result
427
+
428
+ def to_str(self):
429
+ """Returns the string representation of the model"""
430
+ import simplejson as json
431
+ if six.PY2:
432
+ import sys
433
+ reload(sys)
434
+ sys.setdefaultencoding("utf-8")
435
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
436
+
437
+ def __repr__(self):
438
+ """For `print`"""
439
+ return self.to_str()
440
+
441
+ def __eq__(self, other):
442
+ """Returns true if both objects are equal"""
443
+ if not isinstance(other, ChSlowLogDetailResponseSlowLogList):
444
+ return False
445
+
446
+ return self.__dict__ == other.__dict__
447
+
448
+ def __ne__(self, other):
449
+ """Returns true if both objects are not equal"""
450
+ return not self == other