huaweicloudsdkgaussdbforopengauss 3.1.146__py2.py3-none-any.whl → 3.1.148__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.
@@ -288,8 +288,6 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.list_support_kernel_plugins_requ
288
288
  from huaweicloudsdkgaussdbforopengauss.v3.model.list_support_kernel_plugins_response import ListSupportKernelPluginsResponse
289
289
  from huaweicloudsdkgaussdbforopengauss.v3.model.list_tasks_request import ListTasksRequest
290
290
  from huaweicloudsdkgaussdbforopengauss.v3.model.list_tasks_response import ListTasksResponse
291
- from huaweicloudsdkgaussdbforopengauss.v3.model.list_top_io_traffics_request import ListTopIoTrafficsRequest
292
- from huaweicloudsdkgaussdbforopengauss.v3.model.list_top_io_traffics_response import ListTopIoTrafficsResponse
293
291
  from huaweicloudsdkgaussdbforopengauss.v3.model.list_volume import ListVolume
294
292
  from huaweicloudsdkgaussdbforopengauss.v3.model.modify_eps_quota_request import ModifyEpsQuotaRequest
295
293
  from huaweicloudsdkgaussdbforopengauss.v3.model.modify_eps_quota_request_body import ModifyEpsQuotaRequestBody
@@ -459,7 +457,6 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.tag_result import TagResult
459
457
  from huaweicloudsdkgaussdbforopengauss.v3.model.tags_option import TagsOption
460
458
  from huaweicloudsdkgaussdbforopengauss.v3.model.tags_result import TagsResult
461
459
  from huaweicloudsdkgaussdbforopengauss.v3.model.task_detail_result import TaskDetailResult
462
- from huaweicloudsdkgaussdbforopengauss.v3.model.top_io_info import TopIoInfo
463
460
  from huaweicloudsdkgaussdbforopengauss.v3.model.update_features_request import UpdateFeaturesRequest
464
461
  from huaweicloudsdkgaussdbforopengauss.v3.model.update_features_request_body import UpdateFeaturesRequestBody
465
462
  from huaweicloudsdkgaussdbforopengauss.v3.model.update_features_response import UpdateFeaturesResponse
@@ -6161,81 +6161,6 @@ class GaussDBforopenGaussAsyncClient(Client):
6161
6161
 
6162
6162
  return http_info
6163
6163
 
6164
- def list_top_io_traffics_async(self, request):
6165
- r"""查询Top IO列表
6166
-
6167
- 查询实例数据库进程下的Top IO流量数据,返回与会话信息相关联后的结果
6168
-
6169
- Please refer to HUAWEI cloud API Explorer for details.
6170
-
6171
-
6172
- :param request: Request instance for ListTopIoTraffics
6173
- :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListTopIoTrafficsRequest`
6174
- :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListTopIoTrafficsResponse`
6175
- """
6176
- http_info = self._list_top_io_traffics_http_info(request)
6177
- return self._call_api(**http_info)
6178
-
6179
- def list_top_io_traffics_async_invoker(self, request):
6180
- http_info = self._list_top_io_traffics_http_info(request)
6181
- return AsyncInvoker(self, http_info)
6182
-
6183
- def _list_top_io_traffics_http_info(self, request):
6184
- http_info = {
6185
- "method": "GET",
6186
- "resource_path": "/v3/{project_id}/instances/{instance_id}/top-io-traffics",
6187
- "request_type": request.__class__.__name__,
6188
- "response_type": "ListTopIoTrafficsResponse"
6189
- }
6190
-
6191
- local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
6192
-
6193
- cname = None
6194
-
6195
- collection_formats = {}
6196
-
6197
- path_params = {}
6198
- if 'instance_id' in local_var_params:
6199
- path_params['instance_id'] = local_var_params['instance_id']
6200
-
6201
- query_params = []
6202
- if 'node_id' in local_var_params:
6203
- query_params.append(('node_id', local_var_params['node_id']))
6204
- if 'component_id' in local_var_params:
6205
- query_params.append(('component_id', local_var_params['component_id']))
6206
- if 'top_io_num' in local_var_params:
6207
- query_params.append(('top_io_num', local_var_params['top_io_num']))
6208
- if 'sort_condition' in local_var_params:
6209
- query_params.append(('sort_condition', local_var_params['sort_condition']))
6210
-
6211
- header_params = {}
6212
- if 'x_language' in local_var_params:
6213
- header_params['X-Language'] = local_var_params['x_language']
6214
-
6215
- form_params = {}
6216
-
6217
- body = None
6218
- if isinstance(request, SdkStreamRequest):
6219
- body = request.get_file_stream()
6220
-
6221
- response_headers = []
6222
-
6223
- header_params['Content-Type'] = http_utils.select_header_content_type(
6224
- ['application/json'])
6225
-
6226
- auth_settings = []
6227
-
6228
- http_info["cname"] = cname
6229
- http_info["collection_formats"] = collection_formats
6230
- http_info["path_params"] = path_params
6231
- http_info["query_params"] = query_params
6232
- http_info["header_params"] = header_params
6233
- http_info["post_params"] = form_params
6234
- http_info["body"] = body
6235
- http_info["response_headers"] = response_headers
6236
-
6237
- return http_info
6238
-
6239
6164
  def modify_eps_quota_async(self, request):
6240
6165
  r"""修改企业项目配额
6241
6166
 
@@ -6161,81 +6161,6 @@ class GaussDBforopenGaussClient(Client):
6161
6161
 
6162
6162
  return http_info
6163
6163
 
6164
- def list_top_io_traffics(self, request):
6165
- r"""查询Top IO列表
6166
-
6167
- 查询实例数据库进程下的Top IO流量数据,返回与会话信息相关联后的结果
6168
-
6169
- Please refer to HUAWEI cloud API Explorer for details.
6170
-
6171
- :param request: Request instance for ListTopIoTraffics
6172
- :type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListTopIoTrafficsRequest`
6173
- :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListTopIoTrafficsResponse`
6174
- """
6175
- http_info = self._list_top_io_traffics_http_info(request)
6176
- return self._call_api(**http_info)
6177
-
6178
- def list_top_io_traffics_invoker(self, request):
6179
- http_info = self._list_top_io_traffics_http_info(request)
6180
- return SyncInvoker(self, http_info)
6181
-
6182
- @classmethod
6183
- def _list_top_io_traffics_http_info(cls, request):
6184
- http_info = {
6185
- "method": "GET",
6186
- "resource_path": "/v3/{project_id}/instances/{instance_id}/top-io-traffics",
6187
- "request_type": request.__class__.__name__,
6188
- "response_type": "ListTopIoTrafficsResponse"
6189
- }
6190
-
6191
- local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
6192
-
6193
- cname = None
6194
-
6195
- collection_formats = {}
6196
-
6197
- path_params = {}
6198
- if 'instance_id' in local_var_params:
6199
- path_params['instance_id'] = local_var_params['instance_id']
6200
-
6201
- query_params = []
6202
- if 'node_id' in local_var_params:
6203
- query_params.append(('node_id', local_var_params['node_id']))
6204
- if 'component_id' in local_var_params:
6205
- query_params.append(('component_id', local_var_params['component_id']))
6206
- if 'top_io_num' in local_var_params:
6207
- query_params.append(('top_io_num', local_var_params['top_io_num']))
6208
- if 'sort_condition' in local_var_params:
6209
- query_params.append(('sort_condition', local_var_params['sort_condition']))
6210
-
6211
- header_params = {}
6212
- if 'x_language' in local_var_params:
6213
- header_params['X-Language'] = local_var_params['x_language']
6214
-
6215
- form_params = {}
6216
-
6217
- body = None
6218
- if isinstance(request, SdkStreamRequest):
6219
- body = request.get_file_stream()
6220
-
6221
- response_headers = []
6222
-
6223
- header_params['Content-Type'] = http_utils.select_header_content_type(
6224
- ['application/json'])
6225
-
6226
- auth_settings = []
6227
-
6228
- http_info["cname"] = cname
6229
- http_info["collection_formats"] = collection_formats
6230
- http_info["path_params"] = path_params
6231
- http_info["query_params"] = query_params
6232
- http_info["header_params"] = header_params
6233
- http_info["post_params"] = form_params
6234
- http_info["body"] = body
6235
- http_info["response_headers"] = response_headers
6236
-
6237
- return http_info
6238
-
6239
6164
  def modify_eps_quota(self, request):
6240
6165
  r"""修改企业项目配额
6241
6166
 
@@ -286,8 +286,6 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.list_support_kernel_plugins_requ
286
286
  from huaweicloudsdkgaussdbforopengauss.v3.model.list_support_kernel_plugins_response import ListSupportKernelPluginsResponse
287
287
  from huaweicloudsdkgaussdbforopengauss.v3.model.list_tasks_request import ListTasksRequest
288
288
  from huaweicloudsdkgaussdbforopengauss.v3.model.list_tasks_response import ListTasksResponse
289
- from huaweicloudsdkgaussdbforopengauss.v3.model.list_top_io_traffics_request import ListTopIoTrafficsRequest
290
- from huaweicloudsdkgaussdbforopengauss.v3.model.list_top_io_traffics_response import ListTopIoTrafficsResponse
291
289
  from huaweicloudsdkgaussdbforopengauss.v3.model.list_volume import ListVolume
292
290
  from huaweicloudsdkgaussdbforopengauss.v3.model.modify_eps_quota_request import ModifyEpsQuotaRequest
293
291
  from huaweicloudsdkgaussdbforopengauss.v3.model.modify_eps_quota_request_body import ModifyEpsQuotaRequestBody
@@ -457,7 +455,6 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.tag_result import TagResult
457
455
  from huaweicloudsdkgaussdbforopengauss.v3.model.tags_option import TagsOption
458
456
  from huaweicloudsdkgaussdbforopengauss.v3.model.tags_result import TagsResult
459
457
  from huaweicloudsdkgaussdbforopengauss.v3.model.task_detail_result import TaskDetailResult
460
- from huaweicloudsdkgaussdbforopengauss.v3.model.top_io_info import TopIoInfo
461
458
  from huaweicloudsdkgaussdbforopengauss.v3.model.update_features_request import UpdateFeaturesRequest
462
459
  from huaweicloudsdkgaussdbforopengauss.v3.model.update_features_request_body import UpdateFeaturesRequestBody
463
460
  from huaweicloudsdkgaussdbforopengauss.v3.model.update_features_response import UpdateFeaturesResponse
@@ -21,8 +21,7 @@ class ConstructReq:
21
21
  'dr_ip': 'str',
22
22
  'dr_user_name': 'str',
23
23
  'dr_user_password': 'str',
24
- 'dr_task_name': 'str',
25
- 'lite_dr_mode': 'str'
24
+ 'dr_task_name': 'str'
26
25
  }
27
26
 
28
27
  attribute_map = {
@@ -30,11 +29,10 @@ class ConstructReq:
30
29
  'dr_ip': 'dr_ip',
31
30
  'dr_user_name': 'dr_user_name',
32
31
  'dr_user_password': 'dr_user_password',
33
- 'dr_task_name': 'dr_task_name',
34
- 'lite_dr_mode': 'lite_dr_mode'
32
+ 'dr_task_name': 'dr_task_name'
35
33
  }
36
34
 
37
- def __init__(self, disaster_type=None, dr_ip=None, dr_user_name=None, dr_user_password=None, dr_task_name=None, lite_dr_mode=None):
35
+ def __init__(self, disaster_type=None, dr_ip=None, dr_user_name=None, dr_user_password=None, dr_task_name=None):
38
36
  r"""ConstructReq
39
37
 
40
38
  The model defined in huaweicloud sdk
@@ -49,8 +47,6 @@ class ConstructReq:
49
47
  :type dr_user_password: str
50
48
  :param dr_task_name: 容灾任务名称
51
49
  :type dr_task_name: str
52
- :param lite_dr_mode: 灾备实例为轻量化部署.
53
- :type lite_dr_mode: str
54
50
  """
55
51
 
56
52
 
@@ -60,7 +56,6 @@ class ConstructReq:
60
56
  self._dr_user_name = None
61
57
  self._dr_user_password = None
62
58
  self._dr_task_name = None
63
- self._lite_dr_mode = None
64
59
  self.discriminator = None
65
60
 
66
61
  self.disaster_type = disaster_type
@@ -69,8 +64,6 @@ class ConstructReq:
69
64
  self.dr_user_password = dr_user_password
70
65
  if dr_task_name is not None:
71
66
  self.dr_task_name = dr_task_name
72
- if lite_dr_mode is not None:
73
- self.lite_dr_mode = lite_dr_mode
74
67
 
75
68
  @property
76
69
  def disaster_type(self):
@@ -182,28 +175,6 @@ class ConstructReq:
182
175
  """
183
176
  self._dr_task_name = dr_task_name
184
177
 
185
- @property
186
- def lite_dr_mode(self):
187
- r"""Gets the lite_dr_mode of this ConstructReq.
188
-
189
- 灾备实例为轻量化部署.
190
-
191
- :return: The lite_dr_mode of this ConstructReq.
192
- :rtype: str
193
- """
194
- return self._lite_dr_mode
195
-
196
- @lite_dr_mode.setter
197
- def lite_dr_mode(self, lite_dr_mode):
198
- r"""Sets the lite_dr_mode of this ConstructReq.
199
-
200
- 灾备实例为轻量化部署.
201
-
202
- :param lite_dr_mode: The lite_dr_mode of this ConstructReq.
203
- :type lite_dr_mode: str
204
- """
205
- self._lite_dr_mode = lite_dr_mode
206
-
207
178
  def to_dict(self):
208
179
  """Returns the model properties as a dict"""
209
180
  result = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkgaussdbforopengauss
3
- Version: 3.1.146
3
+ Version: 3.1.148
4
4
  Summary: GaussDBforopenGauss
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.146
25
+ Requires-Dist: huaweicloudsdkcore>=3.1.148
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
  huaweicloudsdkgaussdbforopengauss/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- huaweicloudsdkgaussdbforopengauss/v3/__init__.py,sha256=4F-l576-sVhhSqxCh_-IYvHZvl92KRxvZeLKSHt8On4,53474
3
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py,sha256=DvW2uulazFyzR0pc1bcCZSIjpDIiq-xy7FuMimii8pw,364670
4
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py,sha256=T8PALerkwp3uympuyHfr3T3kVpO3dnYYDBInVkjqX24,364857
5
- huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py,sha256=Th7E3tzJsTULHGFW7lvmw4wg8VwOFiaKlnmwhyg27ow,53292
2
+ huaweicloudsdkgaussdbforopengauss/v3/__init__.py,sha256=vaXfbLZ9iq7fUYMGRnGd1qMlP0uWvV44Mhvl6WyJlnY,53177
3
+ huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py,sha256=FP0h1EYiN7Mlrp3pfYo583o9nGwkNPGoaSltc8jKKac,361823
4
+ huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py,sha256=7xC7yi3FUDtZBPoKRPQ31wvvNJk5c4jujHYxzX3Ho2o,362008
5
+ huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py,sha256=tqy6gmnmFS0NcdnaCrvW3mnizBExQqkjCA83ajL1_2s,52995
6
6
  huaweicloudsdkgaussdbforopengauss/v3/model/add_instance_tags_request.py,sha256=MLoyoKI8SkQUV45am1J7oOFdC_icfwtWRNwlTFKly8s,4791
7
7
  huaweicloudsdkgaussdbforopengauss/v3/model/add_instance_tags_response.py,sha256=ldecP3-Nry-oNdnqo16OTAONRKaUdp538p9hz9LXkfk,4278
8
8
  huaweicloudsdkgaussdbforopengauss/v3/model/add_tags_request_body.py,sha256=xeMAzoFKVYb15GYdy5gqNU0Hz_ll_kcsS60y69altsg,3079
@@ -38,7 +38,7 @@ huaweicloudsdkgaussdbforopengauss/v3/model/configuration_summary.py,sha256=sQqTt
38
38
  huaweicloudsdkgaussdbforopengauss/v3/model/configurations_result.py,sha256=-OrUEp9OXu9-eS1mTj_Dmq24cDjQ_PL50vJ4XqkD0Ng,9802
39
39
  huaweicloudsdkgaussdbforopengauss/v3/model/confirm_restored_data_request.py,sha256=Xr7-qgU_5RZuRmC24DLvyKl54_Mi-YTGn1z8GEvosw8,3969
40
40
  huaweicloudsdkgaussdbforopengauss/v3/model/confirm_restored_data_response.py,sha256=tfKOyN0EwYSFDMrOnL29WTkw7LpfesrFwVRqnCu0sDU,3306
41
- huaweicloudsdkgaussdbforopengauss/v3/model/construct_req.py,sha256=JqFdsQjd3KQvKT4mbzlBwOapOH0BV_4g8cLbRKDagm0,7262
41
+ huaweicloudsdkgaussdbforopengauss/v3/model/construct_req.py,sha256=5BFQXySDM8geXZMKGazWDh6NpG7y3mUsXRMnNd6HzTY,6380
42
42
  huaweicloudsdkgaussdbforopengauss/v3/model/copy_configuration_request.py,sha256=4QR5OsLs7l_rPMhYxjvGhMjKyoVEnfz-1hw75QayijY,4861
43
43
  huaweicloudsdkgaussdbforopengauss/v3/model/copy_configuration_response.py,sha256=TZ38jc4vI1DiBfKx38X6Ve4AIBInV93r0R_ks6jAD4M,3311
44
44
  huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_request.py,sha256=0AcoyyfQ_AXqarl1Vl4nQZdiSwZP_N0cUIwR0IW4l6Q,4276
@@ -286,8 +286,6 @@ huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_request.p
286
286
  huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_response.py,sha256=5BGT_QMOcjWNEhoInDGevtPJsrhA1Y2jq0Hfs-ducBA,3225
287
287
  huaweicloudsdkgaussdbforopengauss/v3/model/list_tasks_request.py,sha256=8CTVlGTZZKwDBhmyFUwuHPB8mG3Mgi6zhpjXqaqx7FU,8172
288
288
  huaweicloudsdkgaussdbforopengauss/v3/model/list_tasks_response.py,sha256=MqvkphlWqFgg5kZZPtdR4uyQQdKtIl0WtDn73Y985c8,4158
289
- huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_request.py,sha256=Qb3douHIJ5CAWR5h3voRM0xSaSrWAxv5xnAX1Ko2GEU,8882
290
- huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_response.py,sha256=ok6yLfJnmZYQiV_VMqDoX-VbaVaPICNl7QiYMRkHrLI,3515
291
289
  huaweicloudsdkgaussdbforopengauss/v3/model/list_volume.py,sha256=yMXdhGy4POW2wDugeUYntvnf1zpavrwVNO8Wy_lc2Is,3507
292
290
  huaweicloudsdkgaussdbforopengauss/v3/model/modify_eps_quota_request.py,sha256=AEDuMFsnstnaqTrI2FkHB5gFWtmCIEtYwV2R2aSV06M,4068
293
291
  huaweicloudsdkgaussdbforopengauss/v3/model/modify_eps_quota_request_body.py,sha256=pAYpZvZHrt3PiVWq9R_zyoqIWGcjURw3W22xOoHsmfw,3408
@@ -457,7 +455,6 @@ huaweicloudsdkgaussdbforopengauss/v3/model/tag_result.py,sha256=TRdARuUqwJaxB8Qf
457
455
  huaweicloudsdkgaussdbforopengauss/v3/model/tags_option.py,sha256=txwrpVHuqKlQxAgxXa62tj05Fu-1OL6SlFwhrZ-1Zek,4293
458
456
  huaweicloudsdkgaussdbforopengauss/v3/model/tags_result.py,sha256=Pe-bxhGG_OtvQ1oR7qFAfL_iaFa2Bxz27ODvogwNwEo,4293
459
457
  huaweicloudsdkgaussdbforopengauss/v3/model/task_detail_result.py,sha256=hwxEdL8r3fKZHrRcg_CS7l5S6vcifLQh3zrmAdB-w3w,9382
460
- huaweicloudsdkgaussdbforopengauss/v3/model/top_io_info.py,sha256=Pt71Da_-gOA4sFbfIXz1aTDeGwYPpBLYq4fbJKsjJ5k,11338
461
458
  huaweicloudsdkgaussdbforopengauss/v3/model/update_features_request.py,sha256=8iKhjFTvlhBIGPCjAcu9347Lc5wSgrpoAgseDp1PEfE,4803
462
459
  huaweicloudsdkgaussdbforopengauss/v3/model/update_features_request_body.py,sha256=2cNYjv_rkQVcxgq5MZ5p7Jr1bu-C8DCKOodRltSQqCk,3212
463
460
  huaweicloudsdkgaussdbforopengauss/v3/model/update_features_response.py,sha256=RV74k7_mb53ProLleU11lb6vYGJjpxawqmoc0DHajf0,3173
@@ -487,8 +484,8 @@ huaweicloudsdkgaussdbforopengauss/v3/model/validate_weak_password_response.py,sh
487
484
  huaweicloudsdkgaussdbforopengauss/v3/model/weak_password_request_body.py,sha256=e1GM4_Yu3gkAen5sI6UnUu2Ut04lyMHS8Wg2pwdrjKg,3104
488
485
  huaweicloudsdkgaussdbforopengauss/v3/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
489
486
  huaweicloudsdkgaussdbforopengauss/v3/region/gaussdbforopengauss_region.py,sha256=kjNxya2QAw33C5zMJES9Yj1z83HF7ezACprg_DPDYzg,4456
490
- huaweicloudsdkgaussdbforopengauss-3.1.146.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
491
- huaweicloudsdkgaussdbforopengauss-3.1.146.dist-info/METADATA,sha256=0qwx9zlQEIjaWHVkHCxa81e-PZtYvEvheoXtfPVEEXs,1183
492
- huaweicloudsdkgaussdbforopengauss-3.1.146.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
493
- huaweicloudsdkgaussdbforopengauss-3.1.146.dist-info/top_level.txt,sha256=Eu0Q0tFHFbnL_PjFOY4Uagc9Xd6tEIZWVieOKIvJ5-A,34
494
- huaweicloudsdkgaussdbforopengauss-3.1.146.dist-info/RECORD,,
487
+ huaweicloudsdkgaussdbforopengauss-3.1.148.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
488
+ huaweicloudsdkgaussdbforopengauss-3.1.148.dist-info/METADATA,sha256=zXkwnU9YLGYiswrWfb9q6ca27xkTxqI677ShL447Prk,1183
489
+ huaweicloudsdkgaussdbforopengauss-3.1.148.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
490
+ huaweicloudsdkgaussdbforopengauss-3.1.148.dist-info/top_level.txt,sha256=Eu0Q0tFHFbnL_PjFOY4Uagc9Xd6tEIZWVieOKIvJ5-A,34
491
+ huaweicloudsdkgaussdbforopengauss-3.1.148.dist-info/RECORD,,
@@ -1,257 +0,0 @@
1
- # coding: utf-8
2
-
3
- import six
4
-
5
- from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
-
7
-
8
- class ListTopIoTrafficsRequest:
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
- 'component_id': 'str',
24
- 'top_io_num': 'int',
25
- 'sort_condition': 'str'
26
- }
27
-
28
- attribute_map = {
29
- 'x_language': 'X-Language',
30
- 'instance_id': 'instance_id',
31
- 'node_id': 'node_id',
32
- 'component_id': 'component_id',
33
- 'top_io_num': 'top_io_num',
34
- 'sort_condition': 'sort_condition'
35
- }
36
-
37
- def __init__(self, x_language=None, instance_id=None, node_id=None, component_id=None, top_io_num=None, sort_condition=None):
38
- r"""ListTopIoTrafficsRequest
39
-
40
- The model defined in huaweicloud sdk
41
-
42
- :param x_language: 语言
43
- :type x_language: str
44
- :param instance_id: 实例ID,严格匹配UUID规则。
45
- :type instance_id: str
46
- :param node_id: 节点ID。节点应为CN或者非日志角色的DN节点,并且节点状态为正常。
47
- :type node_id: str
48
- :param component_id: 组件ID。组件应为CN或者非日志角色的DN组件。 DN:Data Node,和CN对应的概念。负责实际执行表数据的存储、查询操作。 CN:Coordinator Node,负责数据库系统元数据存储、查询任务的分解和部分执行,以及将DN中查询结果汇聚在一起。
49
- :type component_id: str
50
- :param top_io_num: 期望查询数据库进程下TOP IO线程数(默认值为20)。接口返回TOP IO线程与会话信息关联后的结果,数量最大不超过该值。
51
- :type top_io_num: int
52
- :param sort_condition: TOP IO排序条件
53
- :type sort_condition: str
54
- """
55
-
56
-
57
-
58
- self._x_language = None
59
- self._instance_id = None
60
- self._node_id = None
61
- self._component_id = None
62
- self._top_io_num = None
63
- self._sort_condition = None
64
- self.discriminator = None
65
-
66
- if x_language is not None:
67
- self.x_language = x_language
68
- self.instance_id = instance_id
69
- self.node_id = node_id
70
- self.component_id = component_id
71
- if top_io_num is not None:
72
- self.top_io_num = top_io_num
73
- if sort_condition is not None:
74
- self.sort_condition = sort_condition
75
-
76
- @property
77
- def x_language(self):
78
- r"""Gets the x_language of this ListTopIoTrafficsRequest.
79
-
80
- 语言
81
-
82
- :return: The x_language of this ListTopIoTrafficsRequest.
83
- :rtype: str
84
- """
85
- return self._x_language
86
-
87
- @x_language.setter
88
- def x_language(self, x_language):
89
- r"""Sets the x_language of this ListTopIoTrafficsRequest.
90
-
91
- 语言
92
-
93
- :param x_language: The x_language of this ListTopIoTrafficsRequest.
94
- :type x_language: str
95
- """
96
- self._x_language = x_language
97
-
98
- @property
99
- def instance_id(self):
100
- r"""Gets the instance_id of this ListTopIoTrafficsRequest.
101
-
102
- 实例ID,严格匹配UUID规则。
103
-
104
- :return: The instance_id of this ListTopIoTrafficsRequest.
105
- :rtype: str
106
- """
107
- return self._instance_id
108
-
109
- @instance_id.setter
110
- def instance_id(self, instance_id):
111
- r"""Sets the instance_id of this ListTopIoTrafficsRequest.
112
-
113
- 实例ID,严格匹配UUID规则。
114
-
115
- :param instance_id: The instance_id of this ListTopIoTrafficsRequest.
116
- :type instance_id: str
117
- """
118
- self._instance_id = instance_id
119
-
120
- @property
121
- def node_id(self):
122
- r"""Gets the node_id of this ListTopIoTrafficsRequest.
123
-
124
- 节点ID。节点应为CN或者非日志角色的DN节点,并且节点状态为正常。
125
-
126
- :return: The node_id of this ListTopIoTrafficsRequest.
127
- :rtype: str
128
- """
129
- return self._node_id
130
-
131
- @node_id.setter
132
- def node_id(self, node_id):
133
- r"""Sets the node_id of this ListTopIoTrafficsRequest.
134
-
135
- 节点ID。节点应为CN或者非日志角色的DN节点,并且节点状态为正常。
136
-
137
- :param node_id: The node_id of this ListTopIoTrafficsRequest.
138
- :type node_id: str
139
- """
140
- self._node_id = node_id
141
-
142
- @property
143
- def component_id(self):
144
- r"""Gets the component_id of this ListTopIoTrafficsRequest.
145
-
146
- 组件ID。组件应为CN或者非日志角色的DN组件。 DN:Data Node,和CN对应的概念。负责实际执行表数据的存储、查询操作。 CN:Coordinator Node,负责数据库系统元数据存储、查询任务的分解和部分执行,以及将DN中查询结果汇聚在一起。
147
-
148
- :return: The component_id of this ListTopIoTrafficsRequest.
149
- :rtype: str
150
- """
151
- return self._component_id
152
-
153
- @component_id.setter
154
- def component_id(self, component_id):
155
- r"""Sets the component_id of this ListTopIoTrafficsRequest.
156
-
157
- 组件ID。组件应为CN或者非日志角色的DN组件。 DN:Data Node,和CN对应的概念。负责实际执行表数据的存储、查询操作。 CN:Coordinator Node,负责数据库系统元数据存储、查询任务的分解和部分执行,以及将DN中查询结果汇聚在一起。
158
-
159
- :param component_id: The component_id of this ListTopIoTrafficsRequest.
160
- :type component_id: str
161
- """
162
- self._component_id = component_id
163
-
164
- @property
165
- def top_io_num(self):
166
- r"""Gets the top_io_num of this ListTopIoTrafficsRequest.
167
-
168
- 期望查询数据库进程下TOP IO线程数(默认值为20)。接口返回TOP IO线程与会话信息关联后的结果,数量最大不超过该值。
169
-
170
- :return: The top_io_num of this ListTopIoTrafficsRequest.
171
- :rtype: int
172
- """
173
- return self._top_io_num
174
-
175
- @top_io_num.setter
176
- def top_io_num(self, top_io_num):
177
- r"""Sets the top_io_num of this ListTopIoTrafficsRequest.
178
-
179
- 期望查询数据库进程下TOP IO线程数(默认值为20)。接口返回TOP IO线程与会话信息关联后的结果,数量最大不超过该值。
180
-
181
- :param top_io_num: The top_io_num of this ListTopIoTrafficsRequest.
182
- :type top_io_num: int
183
- """
184
- self._top_io_num = top_io_num
185
-
186
- @property
187
- def sort_condition(self):
188
- r"""Gets the sort_condition of this ListTopIoTrafficsRequest.
189
-
190
- TOP IO排序条件
191
-
192
- :return: The sort_condition of this ListTopIoTrafficsRequest.
193
- :rtype: str
194
- """
195
- return self._sort_condition
196
-
197
- @sort_condition.setter
198
- def sort_condition(self, sort_condition):
199
- r"""Sets the sort_condition of this ListTopIoTrafficsRequest.
200
-
201
- TOP IO排序条件
202
-
203
- :param sort_condition: The sort_condition of this ListTopIoTrafficsRequest.
204
- :type sort_condition: str
205
- """
206
- self._sort_condition = sort_condition
207
-
208
- def to_dict(self):
209
- """Returns the model properties as a dict"""
210
- result = {}
211
-
212
- for attr, _ in six.iteritems(self.openapi_types):
213
- value = getattr(self, attr)
214
- if isinstance(value, list):
215
- result[attr] = list(map(
216
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
217
- value
218
- ))
219
- elif hasattr(value, "to_dict"):
220
- result[attr] = value.to_dict()
221
- elif isinstance(value, dict):
222
- result[attr] = dict(map(
223
- lambda item: (item[0], item[1].to_dict())
224
- if hasattr(item[1], "to_dict") else item,
225
- value.items()
226
- ))
227
- else:
228
- if attr in self.sensitive_list:
229
- result[attr] = "****"
230
- else:
231
- result[attr] = value
232
-
233
- return result
234
-
235
- def to_str(self):
236
- """Returns the string representation of the model"""
237
- import simplejson as json
238
- if six.PY2:
239
- import sys
240
- reload(sys)
241
- sys.setdefaultencoding("utf-8")
242
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
243
-
244
- def __repr__(self):
245
- """For `print`"""
246
- return self.to_str()
247
-
248
- def __eq__(self, other):
249
- """Returns true if both objects are equal"""
250
- if not isinstance(other, ListTopIoTrafficsRequest):
251
- return False
252
-
253
- return self.__dict__ == other.__dict__
254
-
255
- def __ne__(self, other):
256
- """Returns true if both objects are not equal"""
257
- return not self == other
@@ -1,116 +0,0 @@
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 ListTopIoTrafficsResponse(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
- 'top_io_infos': 'list[TopIoInfo]'
22
- }
23
-
24
- attribute_map = {
25
- 'top_io_infos': 'top_io_infos'
26
- }
27
-
28
- def __init__(self, top_io_infos=None):
29
- r"""ListTopIoTrafficsResponse
30
-
31
- The model defined in huaweicloud sdk
32
-
33
- :param top_io_infos: Top IO列表
34
- :type top_io_infos: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.TopIoInfo`]
35
- """
36
-
37
- super(ListTopIoTrafficsResponse, self).__init__()
38
-
39
- self._top_io_infos = None
40
- self.discriminator = None
41
-
42
- if top_io_infos is not None:
43
- self.top_io_infos = top_io_infos
44
-
45
- @property
46
- def top_io_infos(self):
47
- r"""Gets the top_io_infos of this ListTopIoTrafficsResponse.
48
-
49
- Top IO列表
50
-
51
- :return: The top_io_infos of this ListTopIoTrafficsResponse.
52
- :rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.TopIoInfo`]
53
- """
54
- return self._top_io_infos
55
-
56
- @top_io_infos.setter
57
- def top_io_infos(self, top_io_infos):
58
- r"""Sets the top_io_infos of this ListTopIoTrafficsResponse.
59
-
60
- Top IO列表
61
-
62
- :param top_io_infos: The top_io_infos of this ListTopIoTrafficsResponse.
63
- :type top_io_infos: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.TopIoInfo`]
64
- """
65
- self._top_io_infos = top_io_infos
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, ListTopIoTrafficsResponse):
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,405 +0,0 @@
1
- # coding: utf-8
2
-
3
- import six
4
-
5
- from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
-
7
-
8
- class TopIoInfo:
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
- 'thread_id': 'str',
21
- 'thread_type': 'str',
22
- 'disk_read_rate': 'int',
23
- 'disk_write_rate': 'int',
24
- 'session_id': 'str',
25
- 'unique_sql_id': 'str',
26
- 'database_name': 'str',
27
- 'client_ip': 'str',
28
- 'user_name': 'str',
29
- 'state': 'str',
30
- 'sql_start': 'int'
31
- }
32
-
33
- attribute_map = {
34
- 'thread_id': 'thread_id',
35
- 'thread_type': 'thread_type',
36
- 'disk_read_rate': 'disk_read_rate',
37
- 'disk_write_rate': 'disk_write_rate',
38
- 'session_id': 'session_id',
39
- 'unique_sql_id': 'unique_sql_id',
40
- 'database_name': 'database_name',
41
- 'client_ip': 'client_ip',
42
- 'user_name': 'user_name',
43
- 'state': 'state',
44
- 'sql_start': 'sql_start'
45
- }
46
-
47
- def __init__(self, thread_id=None, thread_type=None, disk_read_rate=None, disk_write_rate=None, session_id=None, unique_sql_id=None, database_name=None, client_ip=None, user_name=None, state=None, sql_start=None):
48
- r"""TopIoInfo
49
-
50
- The model defined in huaweicloud sdk
51
-
52
- :param thread_id: 线程ID
53
- :type thread_id: str
54
- :param thread_type: 线程分类标识,取值:业务(worker)和后台(background)。需将GUC参数\"enable_thread_pool\"设置为on
55
- :type thread_type: str
56
- :param disk_read_rate: 从磁盘读取数据速率, 单位:KB/s
57
- :type disk_read_rate: int
58
- :param disk_write_rate: 写入磁盘数据速率, 单位:KB/s
59
- :type disk_write_rate: int
60
- :param session_id: 会话ID
61
- :type session_id: str
62
- :param unique_sql_id: SQL ID
63
- :type unique_sql_id: str
64
- :param database_name: 数据库
65
- :type database_name: str
66
- :param client_ip: 客户端IP
67
- :type client_ip: str
68
- :param user_name: 用户名
69
- :type user_name: str
70
- :param state: 状态
71
- :type state: str
72
- :param sql_start: 语句开始时间
73
- :type sql_start: int
74
- """
75
-
76
-
77
-
78
- self._thread_id = None
79
- self._thread_type = None
80
- self._disk_read_rate = None
81
- self._disk_write_rate = None
82
- self._session_id = None
83
- self._unique_sql_id = None
84
- self._database_name = None
85
- self._client_ip = None
86
- self._user_name = None
87
- self._state = None
88
- self._sql_start = None
89
- self.discriminator = None
90
-
91
- if thread_id is not None:
92
- self.thread_id = thread_id
93
- if thread_type is not None:
94
- self.thread_type = thread_type
95
- if disk_read_rate is not None:
96
- self.disk_read_rate = disk_read_rate
97
- if disk_write_rate is not None:
98
- self.disk_write_rate = disk_write_rate
99
- if session_id is not None:
100
- self.session_id = session_id
101
- if unique_sql_id is not None:
102
- self.unique_sql_id = unique_sql_id
103
- if database_name is not None:
104
- self.database_name = database_name
105
- if client_ip is not None:
106
- self.client_ip = client_ip
107
- if user_name is not None:
108
- self.user_name = user_name
109
- if state is not None:
110
- self.state = state
111
- if sql_start is not None:
112
- self.sql_start = sql_start
113
-
114
- @property
115
- def thread_id(self):
116
- r"""Gets the thread_id of this TopIoInfo.
117
-
118
- 线程ID
119
-
120
- :return: The thread_id of this TopIoInfo.
121
- :rtype: str
122
- """
123
- return self._thread_id
124
-
125
- @thread_id.setter
126
- def thread_id(self, thread_id):
127
- r"""Sets the thread_id of this TopIoInfo.
128
-
129
- 线程ID
130
-
131
- :param thread_id: The thread_id of this TopIoInfo.
132
- :type thread_id: str
133
- """
134
- self._thread_id = thread_id
135
-
136
- @property
137
- def thread_type(self):
138
- r"""Gets the thread_type of this TopIoInfo.
139
-
140
- 线程分类标识,取值:业务(worker)和后台(background)。需将GUC参数\"enable_thread_pool\"设置为on
141
-
142
- :return: The thread_type of this TopIoInfo.
143
- :rtype: str
144
- """
145
- return self._thread_type
146
-
147
- @thread_type.setter
148
- def thread_type(self, thread_type):
149
- r"""Sets the thread_type of this TopIoInfo.
150
-
151
- 线程分类标识,取值:业务(worker)和后台(background)。需将GUC参数\"enable_thread_pool\"设置为on
152
-
153
- :param thread_type: The thread_type of this TopIoInfo.
154
- :type thread_type: str
155
- """
156
- self._thread_type = thread_type
157
-
158
- @property
159
- def disk_read_rate(self):
160
- r"""Gets the disk_read_rate of this TopIoInfo.
161
-
162
- 从磁盘读取数据速率, 单位:KB/s
163
-
164
- :return: The disk_read_rate of this TopIoInfo.
165
- :rtype: int
166
- """
167
- return self._disk_read_rate
168
-
169
- @disk_read_rate.setter
170
- def disk_read_rate(self, disk_read_rate):
171
- r"""Sets the disk_read_rate of this TopIoInfo.
172
-
173
- 从磁盘读取数据速率, 单位:KB/s
174
-
175
- :param disk_read_rate: The disk_read_rate of this TopIoInfo.
176
- :type disk_read_rate: int
177
- """
178
- self._disk_read_rate = disk_read_rate
179
-
180
- @property
181
- def disk_write_rate(self):
182
- r"""Gets the disk_write_rate of this TopIoInfo.
183
-
184
- 写入磁盘数据速率, 单位:KB/s
185
-
186
- :return: The disk_write_rate of this TopIoInfo.
187
- :rtype: int
188
- """
189
- return self._disk_write_rate
190
-
191
- @disk_write_rate.setter
192
- def disk_write_rate(self, disk_write_rate):
193
- r"""Sets the disk_write_rate of this TopIoInfo.
194
-
195
- 写入磁盘数据速率, 单位:KB/s
196
-
197
- :param disk_write_rate: The disk_write_rate of this TopIoInfo.
198
- :type disk_write_rate: int
199
- """
200
- self._disk_write_rate = disk_write_rate
201
-
202
- @property
203
- def session_id(self):
204
- r"""Gets the session_id of this TopIoInfo.
205
-
206
- 会话ID
207
-
208
- :return: The session_id of this TopIoInfo.
209
- :rtype: str
210
- """
211
- return self._session_id
212
-
213
- @session_id.setter
214
- def session_id(self, session_id):
215
- r"""Sets the session_id of this TopIoInfo.
216
-
217
- 会话ID
218
-
219
- :param session_id: The session_id of this TopIoInfo.
220
- :type session_id: str
221
- """
222
- self._session_id = session_id
223
-
224
- @property
225
- def unique_sql_id(self):
226
- r"""Gets the unique_sql_id of this TopIoInfo.
227
-
228
- SQL ID
229
-
230
- :return: The unique_sql_id of this TopIoInfo.
231
- :rtype: str
232
- """
233
- return self._unique_sql_id
234
-
235
- @unique_sql_id.setter
236
- def unique_sql_id(self, unique_sql_id):
237
- r"""Sets the unique_sql_id of this TopIoInfo.
238
-
239
- SQL ID
240
-
241
- :param unique_sql_id: The unique_sql_id of this TopIoInfo.
242
- :type unique_sql_id: str
243
- """
244
- self._unique_sql_id = unique_sql_id
245
-
246
- @property
247
- def database_name(self):
248
- r"""Gets the database_name of this TopIoInfo.
249
-
250
- 数据库
251
-
252
- :return: The database_name of this TopIoInfo.
253
- :rtype: str
254
- """
255
- return self._database_name
256
-
257
- @database_name.setter
258
- def database_name(self, database_name):
259
- r"""Sets the database_name of this TopIoInfo.
260
-
261
- 数据库
262
-
263
- :param database_name: The database_name of this TopIoInfo.
264
- :type database_name: str
265
- """
266
- self._database_name = database_name
267
-
268
- @property
269
- def client_ip(self):
270
- r"""Gets the client_ip of this TopIoInfo.
271
-
272
- 客户端IP
273
-
274
- :return: The client_ip of this TopIoInfo.
275
- :rtype: str
276
- """
277
- return self._client_ip
278
-
279
- @client_ip.setter
280
- def client_ip(self, client_ip):
281
- r"""Sets the client_ip of this TopIoInfo.
282
-
283
- 客户端IP
284
-
285
- :param client_ip: The client_ip of this TopIoInfo.
286
- :type client_ip: str
287
- """
288
- self._client_ip = client_ip
289
-
290
- @property
291
- def user_name(self):
292
- r"""Gets the user_name of this TopIoInfo.
293
-
294
- 用户名
295
-
296
- :return: The user_name of this TopIoInfo.
297
- :rtype: str
298
- """
299
- return self._user_name
300
-
301
- @user_name.setter
302
- def user_name(self, user_name):
303
- r"""Sets the user_name of this TopIoInfo.
304
-
305
- 用户名
306
-
307
- :param user_name: The user_name of this TopIoInfo.
308
- :type user_name: str
309
- """
310
- self._user_name = user_name
311
-
312
- @property
313
- def state(self):
314
- r"""Gets the state of this TopIoInfo.
315
-
316
- 状态
317
-
318
- :return: The state of this TopIoInfo.
319
- :rtype: str
320
- """
321
- return self._state
322
-
323
- @state.setter
324
- def state(self, state):
325
- r"""Sets the state of this TopIoInfo.
326
-
327
- 状态
328
-
329
- :param state: The state of this TopIoInfo.
330
- :type state: str
331
- """
332
- self._state = state
333
-
334
- @property
335
- def sql_start(self):
336
- r"""Gets the sql_start of this TopIoInfo.
337
-
338
- 语句开始时间
339
-
340
- :return: The sql_start of this TopIoInfo.
341
- :rtype: int
342
- """
343
- return self._sql_start
344
-
345
- @sql_start.setter
346
- def sql_start(self, sql_start):
347
- r"""Sets the sql_start of this TopIoInfo.
348
-
349
- 语句开始时间
350
-
351
- :param sql_start: The sql_start of this TopIoInfo.
352
- :type sql_start: int
353
- """
354
- self._sql_start = sql_start
355
-
356
- def to_dict(self):
357
- """Returns the model properties as a dict"""
358
- result = {}
359
-
360
- for attr, _ in six.iteritems(self.openapi_types):
361
- value = getattr(self, attr)
362
- if isinstance(value, list):
363
- result[attr] = list(map(
364
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
365
- value
366
- ))
367
- elif hasattr(value, "to_dict"):
368
- result[attr] = value.to_dict()
369
- elif isinstance(value, dict):
370
- result[attr] = dict(map(
371
- lambda item: (item[0], item[1].to_dict())
372
- if hasattr(item[1], "to_dict") else item,
373
- value.items()
374
- ))
375
- else:
376
- if attr in self.sensitive_list:
377
- result[attr] = "****"
378
- else:
379
- result[attr] = value
380
-
381
- return result
382
-
383
- def to_str(self):
384
- """Returns the string representation of the model"""
385
- import simplejson as json
386
- if six.PY2:
387
- import sys
388
- reload(sys)
389
- sys.setdefaultencoding("utf-8")
390
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
391
-
392
- def __repr__(self):
393
- """For `print`"""
394
- return self.to_str()
395
-
396
- def __eq__(self, other):
397
- """Returns true if both objects are equal"""
398
- if not isinstance(other, TopIoInfo):
399
- return False
400
-
401
- return self.__dict__ == other.__dict__
402
-
403
- def __ne__(self, other):
404
- """Returns true if both objects are not equal"""
405
- return not self == other