huaweicloudsdkgaussdb 3.1.165__py3-none-any.whl → 3.1.167__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 (63) hide show
  1. huaweicloudsdkgaussdb/v3/__init__.py +54 -0
  2. huaweicloudsdkgaussdb/v3/gaussdb_async_client.py +1239 -48
  3. huaweicloudsdkgaussdb/v3/gaussdb_client.py +1239 -48
  4. huaweicloudsdkgaussdb/v3/model/__init__.py +54 -0
  5. huaweicloudsdkgaussdb/v3/model/audit_log_detail.py +231 -0
  6. huaweicloudsdkgaussdb/v3/model/audit_log_download_link_request_body.py +114 -0
  7. huaweicloudsdkgaussdb/v3/model/batch_upgrade_databases_request.py +140 -0
  8. huaweicloudsdkgaussdb/v3/model/batch_upgrade_databases_request_body.py +171 -0
  9. huaweicloudsdkgaussdb/v3/model/batch_upgrade_databases_response.py +116 -0
  10. huaweicloudsdkgaussdb/v3/model/create_proxy_dns_name_request.py +171 -0
  11. huaweicloudsdkgaussdb/v3/model/create_proxy_dns_name_response.py +116 -0
  12. huaweicloudsdkgaussdb/v3/model/database_tables_info.py +144 -0
  13. huaweicloudsdkgaussdb/v3/model/delete_proxy_private_dns_name_request.py +171 -0
  14. huaweicloudsdkgaussdb/v3/model/delete_proxy_private_dns_name_response.py +116 -0
  15. huaweicloudsdkgaussdb/v3/model/htap_error_log_detail_response_error_log_list.py +226 -0
  16. huaweicloudsdkgaussdb/v3/model/htap_error_log_query_request_body.py +255 -0
  17. huaweicloudsdkgaussdb/v3/model/htap_lts_config_response_instance.py +284 -0
  18. huaweicloudsdkgaussdb/v3/model/htap_lts_config_response_instance_lts_configs.py +138 -0
  19. huaweicloudsdkgaussdb/v3/model/htap_lts_config_response_lts_configs.py +198 -0
  20. huaweicloudsdkgaussdb/v3/model/htap_node_info_response_body_node_list.py +170 -0
  21. huaweicloudsdkgaussdb/v3/model/list_audit_logs_request.py +255 -0
  22. huaweicloudsdkgaussdb/v3/model/list_audit_logs_response.py +145 -0
  23. huaweicloudsdkgaussdb/v3/model/list_instance_node_request.py +142 -0
  24. huaweicloudsdkgaussdb/v3/model/list_instance_node_response.py +116 -0
  25. huaweicloudsdkgaussdb/v3/model/modify_star_rocks_security_group_req.py +114 -0
  26. huaweicloudsdkgaussdb/v3/model/modify_star_rocks_security_group_request.py +168 -0
  27. huaweicloudsdkgaussdb/v3/model/modify_star_rocks_security_group_response.py +116 -0
  28. huaweicloudsdkgaussdb/v3/model/proxy_flavor.py +260 -0
  29. huaweicloudsdkgaussdb/v3/model/proxy_flavor_group.py +144 -0
  30. huaweicloudsdkgaussdb/v3/model/query_data_base_request_v3.py +144 -0
  31. huaweicloudsdkgaussdb/v3/model/query_table_request_v3.py +202 -0
  32. huaweicloudsdkgaussdb/v3/model/rds_error_log_download.py +289 -0
  33. huaweicloudsdkgaussdb/v3/model/set_audit_log_policy_request.py +168 -0
  34. huaweicloudsdkgaussdb/v3/model/set_audit_log_policy_request_body.py +172 -0
  35. huaweicloudsdkgaussdb/v3/model/set_audit_log_policy_response.py +145 -0
  36. huaweicloudsdkgaussdb/v3/model/show_audit_log_download_link_request.py +168 -0
  37. huaweicloudsdkgaussdb/v3/model/show_audit_log_download_link_response.py +116 -0
  38. huaweicloudsdkgaussdb/v3/model/show_audit_log_policy_request.py +143 -0
  39. huaweicloudsdkgaussdb/v3/model/show_audit_log_policy_response.py +174 -0
  40. huaweicloudsdkgaussdb/v3/model/show_error_log_download_link_request.py +171 -0
  41. huaweicloudsdkgaussdb/v3/model/show_error_log_download_link_response.py +145 -0
  42. huaweicloudsdkgaussdb/v3/model/show_htap_error_log_detail_request.py +167 -0
  43. huaweicloudsdkgaussdb/v3/model/show_htap_error_log_detail_response.py +116 -0
  44. huaweicloudsdkgaussdb/v3/model/show_htap_lts_config_request.py +259 -0
  45. huaweicloudsdkgaussdb/v3/model/show_htap_lts_config_response.py +145 -0
  46. huaweicloudsdkgaussdb/v3/model/show_instance_databases_for_htap_request.py +225 -0
  47. huaweicloudsdkgaussdb/v3/model/show_instance_databases_for_htap_response.py +174 -0
  48. huaweicloudsdkgaussdb/v3/model/show_instance_tables_for_htap_request.py +225 -0
  49. huaweicloudsdkgaussdb/v3/model/show_instance_tables_for_htap_response.py +145 -0
  50. huaweicloudsdkgaussdb/v3/model/show_proxy_flavors_by_az_code_request.py +171 -0
  51. huaweicloudsdkgaussdb/v3/model/show_proxy_flavors_by_az_code_response.py +116 -0
  52. huaweicloudsdkgaussdb/v3/model/show_table_meta_info_request.py +201 -0
  53. huaweicloudsdkgaussdb/v3/model/show_table_meta_info_response.py +174 -0
  54. huaweicloudsdkgaussdb/v3/model/table_meta_info.py +260 -0
  55. huaweicloudsdkgaussdb/v3/model/update_proxy_private_dns_name.py +142 -0
  56. huaweicloudsdkgaussdb/v3/model/update_proxy_private_dns_name_request.py +196 -0
  57. huaweicloudsdkgaussdb/v3/model/update_proxy_private_dns_name_response.py +116 -0
  58. huaweicloudsdkgaussdb/v3/model/upgrade_databases_single_instance.py +142 -0
  59. {huaweicloudsdkgaussdb-3.1.165.dist-info → huaweicloudsdkgaussdb-3.1.167.dist-info}/METADATA +9 -10
  60. {huaweicloudsdkgaussdb-3.1.165.dist-info → huaweicloudsdkgaussdb-3.1.167.dist-info}/RECORD +62 -9
  61. {huaweicloudsdkgaussdb-3.1.165.dist-info → huaweicloudsdkgaussdb-3.1.167.dist-info}/WHEEL +1 -2
  62. huaweicloudsdkgaussdb-3.1.165.dist-info/top_level.txt +0 -1
  63. {huaweicloudsdkgaussdb-3.1.165.dist-info → huaweicloudsdkgaussdb-3.1.167.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,284 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class HtapLTSConfigResponseInstance:
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
+ 'id': 'str',
21
+ 'name': 'str',
22
+ 'engine_name': 'str',
23
+ 'engine_version': 'str',
24
+ 'status': 'str',
25
+ 'enterprise_project_id': 'str',
26
+ 'enterprise_project_name': 'str'
27
+ }
28
+
29
+ attribute_map = {
30
+ 'id': 'id',
31
+ 'name': 'name',
32
+ 'engine_name': 'engine_name',
33
+ 'engine_version': 'engine_version',
34
+ 'status': 'status',
35
+ 'enterprise_project_id': 'enterprise_project_id',
36
+ 'enterprise_project_name': 'enterprise_project_name'
37
+ }
38
+
39
+ def __init__(self, id=None, name=None, engine_name=None, engine_version=None, status=None, enterprise_project_id=None, enterprise_project_name=None):
40
+ r"""HtapLTSConfigResponseInstance
41
+
42
+ The model defined in huaweicloud sdk
43
+
44
+ :param id: **参数解释**: HTAP标准版实例ID,此参数是实例的唯一标识。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,长度为36个字符。
45
+ :type id: str
46
+ :param name: **参数解释**: HTAP标准版实例名称。 **取值范围**: 不涉及。
47
+ :type name: str
48
+ :param engine_name: **参数解释**: 引擎类型。 **取值范围**: 不涉及。
49
+ :type engine_name: str
50
+ :param engine_version: **参数解释**: 引擎版本。 **取值范围**: 不涉及。
51
+ :type engine_version: str
52
+ :param status: **参数解释**: HTAP标准版实例状态。 **取值范围**: 不涉及。
53
+ :type status: str
54
+ :param enterprise_project_id: **参数解释**: 企业project ID。 **取值范围**: 不涉及。
55
+ :type enterprise_project_id: str
56
+ :param enterprise_project_name: **参数解释**: 企业project名称。 **取值范围**: 不涉及。
57
+ :type enterprise_project_name: str
58
+ """
59
+
60
+
61
+
62
+ self._id = None
63
+ self._name = None
64
+ self._engine_name = None
65
+ self._engine_version = None
66
+ self._status = None
67
+ self._enterprise_project_id = None
68
+ self._enterprise_project_name = None
69
+ self.discriminator = None
70
+
71
+ self.id = id
72
+ self.name = name
73
+ self.engine_name = engine_name
74
+ self.engine_version = engine_version
75
+ self.status = status
76
+ if enterprise_project_id is not None:
77
+ self.enterprise_project_id = enterprise_project_id
78
+ if enterprise_project_name is not None:
79
+ self.enterprise_project_name = enterprise_project_name
80
+
81
+ @property
82
+ def id(self):
83
+ r"""Gets the id of this HtapLTSConfigResponseInstance.
84
+
85
+ **参数解释**: HTAP标准版实例ID,此参数是实例的唯一标识。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,长度为36个字符。
86
+
87
+ :return: The id of this HtapLTSConfigResponseInstance.
88
+ :rtype: str
89
+ """
90
+ return self._id
91
+
92
+ @id.setter
93
+ def id(self, id):
94
+ r"""Sets the id of this HtapLTSConfigResponseInstance.
95
+
96
+ **参数解释**: HTAP标准版实例ID,此参数是实例的唯一标识。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,长度为36个字符。
97
+
98
+ :param id: The id of this HtapLTSConfigResponseInstance.
99
+ :type id: str
100
+ """
101
+ self._id = id
102
+
103
+ @property
104
+ def name(self):
105
+ r"""Gets the name of this HtapLTSConfigResponseInstance.
106
+
107
+ **参数解释**: HTAP标准版实例名称。 **取值范围**: 不涉及。
108
+
109
+ :return: The name of this HtapLTSConfigResponseInstance.
110
+ :rtype: str
111
+ """
112
+ return self._name
113
+
114
+ @name.setter
115
+ def name(self, name):
116
+ r"""Sets the name of this HtapLTSConfigResponseInstance.
117
+
118
+ **参数解释**: HTAP标准版实例名称。 **取值范围**: 不涉及。
119
+
120
+ :param name: The name of this HtapLTSConfigResponseInstance.
121
+ :type name: str
122
+ """
123
+ self._name = name
124
+
125
+ @property
126
+ def engine_name(self):
127
+ r"""Gets the engine_name of this HtapLTSConfigResponseInstance.
128
+
129
+ **参数解释**: 引擎类型。 **取值范围**: 不涉及。
130
+
131
+ :return: The engine_name of this HtapLTSConfigResponseInstance.
132
+ :rtype: str
133
+ """
134
+ return self._engine_name
135
+
136
+ @engine_name.setter
137
+ def engine_name(self, engine_name):
138
+ r"""Sets the engine_name of this HtapLTSConfigResponseInstance.
139
+
140
+ **参数解释**: 引擎类型。 **取值范围**: 不涉及。
141
+
142
+ :param engine_name: The engine_name of this HtapLTSConfigResponseInstance.
143
+ :type engine_name: str
144
+ """
145
+ self._engine_name = engine_name
146
+
147
+ @property
148
+ def engine_version(self):
149
+ r"""Gets the engine_version of this HtapLTSConfigResponseInstance.
150
+
151
+ **参数解释**: 引擎版本。 **取值范围**: 不涉及。
152
+
153
+ :return: The engine_version of this HtapLTSConfigResponseInstance.
154
+ :rtype: str
155
+ """
156
+ return self._engine_version
157
+
158
+ @engine_version.setter
159
+ def engine_version(self, engine_version):
160
+ r"""Sets the engine_version of this HtapLTSConfigResponseInstance.
161
+
162
+ **参数解释**: 引擎版本。 **取值范围**: 不涉及。
163
+
164
+ :param engine_version: The engine_version of this HtapLTSConfigResponseInstance.
165
+ :type engine_version: str
166
+ """
167
+ self._engine_version = engine_version
168
+
169
+ @property
170
+ def status(self):
171
+ r"""Gets the status of this HtapLTSConfigResponseInstance.
172
+
173
+ **参数解释**: HTAP标准版实例状态。 **取值范围**: 不涉及。
174
+
175
+ :return: The status of this HtapLTSConfigResponseInstance.
176
+ :rtype: str
177
+ """
178
+ return self._status
179
+
180
+ @status.setter
181
+ def status(self, status):
182
+ r"""Sets the status of this HtapLTSConfigResponseInstance.
183
+
184
+ **参数解释**: HTAP标准版实例状态。 **取值范围**: 不涉及。
185
+
186
+ :param status: The status of this HtapLTSConfigResponseInstance.
187
+ :type status: str
188
+ """
189
+ self._status = status
190
+
191
+ @property
192
+ def enterprise_project_id(self):
193
+ r"""Gets the enterprise_project_id of this HtapLTSConfigResponseInstance.
194
+
195
+ **参数解释**: 企业project ID。 **取值范围**: 不涉及。
196
+
197
+ :return: The enterprise_project_id of this HtapLTSConfigResponseInstance.
198
+ :rtype: str
199
+ """
200
+ return self._enterprise_project_id
201
+
202
+ @enterprise_project_id.setter
203
+ def enterprise_project_id(self, enterprise_project_id):
204
+ r"""Sets the enterprise_project_id of this HtapLTSConfigResponseInstance.
205
+
206
+ **参数解释**: 企业project ID。 **取值范围**: 不涉及。
207
+
208
+ :param enterprise_project_id: The enterprise_project_id of this HtapLTSConfigResponseInstance.
209
+ :type enterprise_project_id: str
210
+ """
211
+ self._enterprise_project_id = enterprise_project_id
212
+
213
+ @property
214
+ def enterprise_project_name(self):
215
+ r"""Gets the enterprise_project_name of this HtapLTSConfigResponseInstance.
216
+
217
+ **参数解释**: 企业project名称。 **取值范围**: 不涉及。
218
+
219
+ :return: The enterprise_project_name of this HtapLTSConfigResponseInstance.
220
+ :rtype: str
221
+ """
222
+ return self._enterprise_project_name
223
+
224
+ @enterprise_project_name.setter
225
+ def enterprise_project_name(self, enterprise_project_name):
226
+ r"""Sets the enterprise_project_name of this HtapLTSConfigResponseInstance.
227
+
228
+ **参数解释**: 企业project名称。 **取值范围**: 不涉及。
229
+
230
+ :param enterprise_project_name: The enterprise_project_name of this HtapLTSConfigResponseInstance.
231
+ :type enterprise_project_name: str
232
+ """
233
+ self._enterprise_project_name = enterprise_project_name
234
+
235
+ def to_dict(self):
236
+ """Returns the model properties as a dict"""
237
+ result = {}
238
+
239
+ for attr, _ in six.iteritems(self.openapi_types):
240
+ value = getattr(self, attr)
241
+ if isinstance(value, list):
242
+ result[attr] = list(map(
243
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
244
+ value
245
+ ))
246
+ elif hasattr(value, "to_dict"):
247
+ result[attr] = value.to_dict()
248
+ elif isinstance(value, dict):
249
+ result[attr] = dict(map(
250
+ lambda item: (item[0], item[1].to_dict())
251
+ if hasattr(item[1], "to_dict") else item,
252
+ value.items()
253
+ ))
254
+ else:
255
+ if attr in self.sensitive_list:
256
+ result[attr] = "****"
257
+ else:
258
+ result[attr] = value
259
+
260
+ return result
261
+
262
+ def to_str(self):
263
+ """Returns the string representation of the model"""
264
+ import simplejson as json
265
+ if six.PY2:
266
+ import sys
267
+ reload(sys)
268
+ sys.setdefaultencoding("utf-8")
269
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
270
+
271
+ def __repr__(self):
272
+ """For `print`"""
273
+ return self.to_str()
274
+
275
+ def __eq__(self, other):
276
+ """Returns true if both objects are equal"""
277
+ if not isinstance(other, HtapLTSConfigResponseInstance):
278
+ return False
279
+
280
+ return self.__dict__ == other.__dict__
281
+
282
+ def __ne__(self, other):
283
+ """Returns true if both objects are not equal"""
284
+ return not self == other
@@ -0,0 +1,138 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class HtapLTSConfigResponseInstanceLtsConfigs:
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
+ 'lts_configs': 'list[HtapLTSConfigResponseLtsConfigs]',
21
+ 'instance': 'HtapLTSConfigResponseInstance'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'lts_configs': 'lts_configs',
26
+ 'instance': 'instance'
27
+ }
28
+
29
+ def __init__(self, lts_configs=None, instance=None):
30
+ r"""HtapLTSConfigResponseInstanceLtsConfigs
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param lts_configs: **参数解释**: LTS配置信息。 **约束限制**: 不涉及。
35
+ :type lts_configs: list[:class:`huaweicloudsdkgaussdb.v3.HtapLTSConfigResponseLtsConfigs`]
36
+ :param instance:
37
+ :type instance: :class:`huaweicloudsdkgaussdb.v3.HtapLTSConfigResponseInstance`
38
+ """
39
+
40
+
41
+
42
+ self._lts_configs = None
43
+ self._instance = None
44
+ self.discriminator = None
45
+
46
+ self.lts_configs = lts_configs
47
+ self.instance = instance
48
+
49
+ @property
50
+ def lts_configs(self):
51
+ r"""Gets the lts_configs of this HtapLTSConfigResponseInstanceLtsConfigs.
52
+
53
+ **参数解释**: LTS配置信息。 **约束限制**: 不涉及。
54
+
55
+ :return: The lts_configs of this HtapLTSConfigResponseInstanceLtsConfigs.
56
+ :rtype: list[:class:`huaweicloudsdkgaussdb.v3.HtapLTSConfigResponseLtsConfigs`]
57
+ """
58
+ return self._lts_configs
59
+
60
+ @lts_configs.setter
61
+ def lts_configs(self, lts_configs):
62
+ r"""Sets the lts_configs of this HtapLTSConfigResponseInstanceLtsConfigs.
63
+
64
+ **参数解释**: LTS配置信息。 **约束限制**: 不涉及。
65
+
66
+ :param lts_configs: The lts_configs of this HtapLTSConfigResponseInstanceLtsConfigs.
67
+ :type lts_configs: list[:class:`huaweicloudsdkgaussdb.v3.HtapLTSConfigResponseLtsConfigs`]
68
+ """
69
+ self._lts_configs = lts_configs
70
+
71
+ @property
72
+ def instance(self):
73
+ r"""Gets the instance of this HtapLTSConfigResponseInstanceLtsConfigs.
74
+
75
+ :return: The instance of this HtapLTSConfigResponseInstanceLtsConfigs.
76
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.HtapLTSConfigResponseInstance`
77
+ """
78
+ return self._instance
79
+
80
+ @instance.setter
81
+ def instance(self, instance):
82
+ r"""Sets the instance of this HtapLTSConfigResponseInstanceLtsConfigs.
83
+
84
+ :param instance: The instance of this HtapLTSConfigResponseInstanceLtsConfigs.
85
+ :type instance: :class:`huaweicloudsdkgaussdb.v3.HtapLTSConfigResponseInstance`
86
+ """
87
+ self._instance = instance
88
+
89
+ def to_dict(self):
90
+ """Returns the model properties as a dict"""
91
+ result = {}
92
+
93
+ for attr, _ in six.iteritems(self.openapi_types):
94
+ value = getattr(self, attr)
95
+ if isinstance(value, list):
96
+ result[attr] = list(map(
97
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
98
+ value
99
+ ))
100
+ elif hasattr(value, "to_dict"):
101
+ result[attr] = value.to_dict()
102
+ elif isinstance(value, dict):
103
+ result[attr] = dict(map(
104
+ lambda item: (item[0], item[1].to_dict())
105
+ if hasattr(item[1], "to_dict") else item,
106
+ value.items()
107
+ ))
108
+ else:
109
+ if attr in self.sensitive_list:
110
+ result[attr] = "****"
111
+ else:
112
+ result[attr] = value
113
+
114
+ return result
115
+
116
+ def to_str(self):
117
+ """Returns the string representation of the model"""
118
+ import simplejson as json
119
+ if six.PY2:
120
+ import sys
121
+ reload(sys)
122
+ sys.setdefaultencoding("utf-8")
123
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
124
+
125
+ def __repr__(self):
126
+ """For `print`"""
127
+ return self.to_str()
128
+
129
+ def __eq__(self, other):
130
+ """Returns true if both objects are equal"""
131
+ if not isinstance(other, HtapLTSConfigResponseInstanceLtsConfigs):
132
+ return False
133
+
134
+ return self.__dict__ == other.__dict__
135
+
136
+ def __ne__(self, other):
137
+ """Returns true if both objects are not equal"""
138
+ return not self == other
@@ -0,0 +1,198 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class HtapLTSConfigResponseLtsConfigs:
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
+ 'log_type': 'str',
21
+ 'lts_group_id': 'str',
22
+ 'lts_stream_id': 'str',
23
+ 'enabled': 'str'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'log_type': 'log_type',
28
+ 'lts_group_id': 'lts_group_id',
29
+ 'lts_stream_id': 'lts_stream_id',
30
+ 'enabled': 'enabled'
31
+ }
32
+
33
+ def __init__(self, log_type=None, lts_group_id=None, lts_stream_id=None, enabled=None):
34
+ r"""HtapLTSConfigResponseLtsConfigs
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param log_type: **参数解释**: 日志类型。 **取值范围**: 不涉及。
39
+ :type log_type: str
40
+ :param lts_group_id: **参数解释**: LTS日志组ID。 **取值范围**: 不涉及。
41
+ :type lts_group_id: str
42
+ :param lts_stream_id: **参数解释**: LTS日志流ID。 **取值范围**: 不涉及。
43
+ :type lts_stream_id: str
44
+ :param enabled: **参数解释**: LTS配置开关状态。 **取值范围**: 不涉及。
45
+ :type enabled: str
46
+ """
47
+
48
+
49
+
50
+ self._log_type = None
51
+ self._lts_group_id = None
52
+ self._lts_stream_id = None
53
+ self._enabled = None
54
+ self.discriminator = None
55
+
56
+ self.log_type = log_type
57
+ self.lts_group_id = lts_group_id
58
+ self.lts_stream_id = lts_stream_id
59
+ self.enabled = enabled
60
+
61
+ @property
62
+ def log_type(self):
63
+ r"""Gets the log_type of this HtapLTSConfigResponseLtsConfigs.
64
+
65
+ **参数解释**: 日志类型。 **取值范围**: 不涉及。
66
+
67
+ :return: The log_type of this HtapLTSConfigResponseLtsConfigs.
68
+ :rtype: str
69
+ """
70
+ return self._log_type
71
+
72
+ @log_type.setter
73
+ def log_type(self, log_type):
74
+ r"""Sets the log_type of this HtapLTSConfigResponseLtsConfigs.
75
+
76
+ **参数解释**: 日志类型。 **取值范围**: 不涉及。
77
+
78
+ :param log_type: The log_type of this HtapLTSConfigResponseLtsConfigs.
79
+ :type log_type: str
80
+ """
81
+ self._log_type = log_type
82
+
83
+ @property
84
+ def lts_group_id(self):
85
+ r"""Gets the lts_group_id of this HtapLTSConfigResponseLtsConfigs.
86
+
87
+ **参数解释**: LTS日志组ID。 **取值范围**: 不涉及。
88
+
89
+ :return: The lts_group_id of this HtapLTSConfigResponseLtsConfigs.
90
+ :rtype: str
91
+ """
92
+ return self._lts_group_id
93
+
94
+ @lts_group_id.setter
95
+ def lts_group_id(self, lts_group_id):
96
+ r"""Sets the lts_group_id of this HtapLTSConfigResponseLtsConfigs.
97
+
98
+ **参数解释**: LTS日志组ID。 **取值范围**: 不涉及。
99
+
100
+ :param lts_group_id: The lts_group_id of this HtapLTSConfigResponseLtsConfigs.
101
+ :type lts_group_id: str
102
+ """
103
+ self._lts_group_id = lts_group_id
104
+
105
+ @property
106
+ def lts_stream_id(self):
107
+ r"""Gets the lts_stream_id of this HtapLTSConfigResponseLtsConfigs.
108
+
109
+ **参数解释**: LTS日志流ID。 **取值范围**: 不涉及。
110
+
111
+ :return: The lts_stream_id of this HtapLTSConfigResponseLtsConfigs.
112
+ :rtype: str
113
+ """
114
+ return self._lts_stream_id
115
+
116
+ @lts_stream_id.setter
117
+ def lts_stream_id(self, lts_stream_id):
118
+ r"""Sets the lts_stream_id of this HtapLTSConfigResponseLtsConfigs.
119
+
120
+ **参数解释**: LTS日志流ID。 **取值范围**: 不涉及。
121
+
122
+ :param lts_stream_id: The lts_stream_id of this HtapLTSConfigResponseLtsConfigs.
123
+ :type lts_stream_id: str
124
+ """
125
+ self._lts_stream_id = lts_stream_id
126
+
127
+ @property
128
+ def enabled(self):
129
+ r"""Gets the enabled of this HtapLTSConfigResponseLtsConfigs.
130
+
131
+ **参数解释**: LTS配置开关状态。 **取值范围**: 不涉及。
132
+
133
+ :return: The enabled of this HtapLTSConfigResponseLtsConfigs.
134
+ :rtype: str
135
+ """
136
+ return self._enabled
137
+
138
+ @enabled.setter
139
+ def enabled(self, enabled):
140
+ r"""Sets the enabled of this HtapLTSConfigResponseLtsConfigs.
141
+
142
+ **参数解释**: LTS配置开关状态。 **取值范围**: 不涉及。
143
+
144
+ :param enabled: The enabled of this HtapLTSConfigResponseLtsConfigs.
145
+ :type enabled: str
146
+ """
147
+ self._enabled = enabled
148
+
149
+ def to_dict(self):
150
+ """Returns the model properties as a dict"""
151
+ result = {}
152
+
153
+ for attr, _ in six.iteritems(self.openapi_types):
154
+ value = getattr(self, attr)
155
+ if isinstance(value, list):
156
+ result[attr] = list(map(
157
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
158
+ value
159
+ ))
160
+ elif hasattr(value, "to_dict"):
161
+ result[attr] = value.to_dict()
162
+ elif isinstance(value, dict):
163
+ result[attr] = dict(map(
164
+ lambda item: (item[0], item[1].to_dict())
165
+ if hasattr(item[1], "to_dict") else item,
166
+ value.items()
167
+ ))
168
+ else:
169
+ if attr in self.sensitive_list:
170
+ result[attr] = "****"
171
+ else:
172
+ result[attr] = value
173
+
174
+ return result
175
+
176
+ def to_str(self):
177
+ """Returns the string representation of the model"""
178
+ import simplejson as json
179
+ if six.PY2:
180
+ import sys
181
+ reload(sys)
182
+ sys.setdefaultencoding("utf-8")
183
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
184
+
185
+ def __repr__(self):
186
+ """For `print`"""
187
+ return self.to_str()
188
+
189
+ def __eq__(self, other):
190
+ """Returns true if both objects are equal"""
191
+ if not isinstance(other, HtapLTSConfigResponseLtsConfigs):
192
+ return False
193
+
194
+ return self.__dict__ == other.__dict__
195
+
196
+ def __ne__(self, other):
197
+ """Returns true if both objects are not equal"""
198
+ return not self == other