huaweicloudsdkgaussdb 3.1.164__py3-none-any.whl → 3.1.166__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.164.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info}/METADATA +9 -10
  60. {huaweicloudsdkgaussdb-3.1.164.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info}/RECORD +62 -9
  61. {huaweicloudsdkgaussdb-3.1.164.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info}/WHEEL +1 -2
  62. huaweicloudsdkgaussdb-3.1.164.dist-info/top_level.txt +0 -1
  63. {huaweicloudsdkgaussdb-3.1.164.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,225 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowInstanceDatabasesForHtapRequest:
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
+ 'limit': 'str',
23
+ 'offset': 'str',
24
+ 'body': 'QueryDataBaseRequestV3'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'x_language': 'X-Language',
29
+ 'instance_id': 'instance_id',
30
+ 'limit': 'limit',
31
+ 'offset': 'offset',
32
+ 'body': 'body'
33
+ }
34
+
35
+ def __init__(self, x_language=None, instance_id=None, limit=None, offset=None, body=None):
36
+ r"""ShowInstanceDatabasesForHtapRequest
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param x_language: **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
41
+ :type x_language: str
42
+ :param instance_id: **参数解释**: HTAP标准版实例ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,且长度为36个字符。 **默认取值**: 不涉及。
43
+ :type instance_id: str
44
+ :param limit: **参数解释**: 查询记录数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 100。
45
+ :type limit: str
46
+ :param offset: **参数解释**: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 0。
47
+ :type offset: str
48
+ :param body: Body of the ShowInstanceDatabasesForHtapRequest
49
+ :type body: :class:`huaweicloudsdkgaussdb.v3.QueryDataBaseRequestV3`
50
+ """
51
+
52
+
53
+
54
+ self._x_language = None
55
+ self._instance_id = None
56
+ self._limit = None
57
+ self._offset = None
58
+ self._body = None
59
+ self.discriminator = None
60
+
61
+ self.x_language = x_language
62
+ self.instance_id = instance_id
63
+ if limit is not None:
64
+ self.limit = limit
65
+ if offset is not None:
66
+ self.offset = offset
67
+ if body is not None:
68
+ self.body = body
69
+
70
+ @property
71
+ def x_language(self):
72
+ r"""Gets the x_language of this ShowInstanceDatabasesForHtapRequest.
73
+
74
+ **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
75
+
76
+ :return: The x_language of this ShowInstanceDatabasesForHtapRequest.
77
+ :rtype: str
78
+ """
79
+ return self._x_language
80
+
81
+ @x_language.setter
82
+ def x_language(self, x_language):
83
+ r"""Sets the x_language of this ShowInstanceDatabasesForHtapRequest.
84
+
85
+ **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
86
+
87
+ :param x_language: The x_language of this ShowInstanceDatabasesForHtapRequest.
88
+ :type x_language: str
89
+ """
90
+ self._x_language = x_language
91
+
92
+ @property
93
+ def instance_id(self):
94
+ r"""Gets the instance_id of this ShowInstanceDatabasesForHtapRequest.
95
+
96
+ **参数解释**: HTAP标准版实例ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,且长度为36个字符。 **默认取值**: 不涉及。
97
+
98
+ :return: The instance_id of this ShowInstanceDatabasesForHtapRequest.
99
+ :rtype: str
100
+ """
101
+ return self._instance_id
102
+
103
+ @instance_id.setter
104
+ def instance_id(self, instance_id):
105
+ r"""Sets the instance_id of this ShowInstanceDatabasesForHtapRequest.
106
+
107
+ **参数解释**: HTAP标准版实例ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,且长度为36个字符。 **默认取值**: 不涉及。
108
+
109
+ :param instance_id: The instance_id of this ShowInstanceDatabasesForHtapRequest.
110
+ :type instance_id: str
111
+ """
112
+ self._instance_id = instance_id
113
+
114
+ @property
115
+ def limit(self):
116
+ r"""Gets the limit of this ShowInstanceDatabasesForHtapRequest.
117
+
118
+ **参数解释**: 查询记录数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 100。
119
+
120
+ :return: The limit of this ShowInstanceDatabasesForHtapRequest.
121
+ :rtype: str
122
+ """
123
+ return self._limit
124
+
125
+ @limit.setter
126
+ def limit(self, limit):
127
+ r"""Sets the limit of this ShowInstanceDatabasesForHtapRequest.
128
+
129
+ **参数解释**: 查询记录数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 100。
130
+
131
+ :param limit: The limit of this ShowInstanceDatabasesForHtapRequest.
132
+ :type limit: str
133
+ """
134
+ self._limit = limit
135
+
136
+ @property
137
+ def offset(self):
138
+ r"""Gets the offset of this ShowInstanceDatabasesForHtapRequest.
139
+
140
+ **参数解释**: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 0。
141
+
142
+ :return: The offset of this ShowInstanceDatabasesForHtapRequest.
143
+ :rtype: str
144
+ """
145
+ return self._offset
146
+
147
+ @offset.setter
148
+ def offset(self, offset):
149
+ r"""Sets the offset of this ShowInstanceDatabasesForHtapRequest.
150
+
151
+ **参数解释**: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 0。
152
+
153
+ :param offset: The offset of this ShowInstanceDatabasesForHtapRequest.
154
+ :type offset: str
155
+ """
156
+ self._offset = offset
157
+
158
+ @property
159
+ def body(self):
160
+ r"""Gets the body of this ShowInstanceDatabasesForHtapRequest.
161
+
162
+ :return: The body of this ShowInstanceDatabasesForHtapRequest.
163
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.QueryDataBaseRequestV3`
164
+ """
165
+ return self._body
166
+
167
+ @body.setter
168
+ def body(self, body):
169
+ r"""Sets the body of this ShowInstanceDatabasesForHtapRequest.
170
+
171
+ :param body: The body of this ShowInstanceDatabasesForHtapRequest.
172
+ :type body: :class:`huaweicloudsdkgaussdb.v3.QueryDataBaseRequestV3`
173
+ """
174
+ self._body = body
175
+
176
+ def to_dict(self):
177
+ """Returns the model properties as a dict"""
178
+ result = {}
179
+
180
+ for attr, _ in six.iteritems(self.openapi_types):
181
+ value = getattr(self, attr)
182
+ if isinstance(value, list):
183
+ result[attr] = list(map(
184
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
185
+ value
186
+ ))
187
+ elif hasattr(value, "to_dict"):
188
+ result[attr] = value.to_dict()
189
+ elif isinstance(value, dict):
190
+ result[attr] = dict(map(
191
+ lambda item: (item[0], item[1].to_dict())
192
+ if hasattr(item[1], "to_dict") else item,
193
+ value.items()
194
+ ))
195
+ else:
196
+ if attr in self.sensitive_list:
197
+ result[attr] = "****"
198
+ else:
199
+ result[attr] = value
200
+
201
+ return result
202
+
203
+ def to_str(self):
204
+ """Returns the string representation of the model"""
205
+ import simplejson as json
206
+ if six.PY2:
207
+ import sys
208
+ reload(sys)
209
+ sys.setdefaultencoding("utf-8")
210
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
211
+
212
+ def __repr__(self):
213
+ """For `print`"""
214
+ return self.to_str()
215
+
216
+ def __eq__(self, other):
217
+ """Returns true if both objects are equal"""
218
+ if not isinstance(other, ShowInstanceDatabasesForHtapRequest):
219
+ return False
220
+
221
+ return self.__dict__ == other.__dict__
222
+
223
+ def __ne__(self, other):
224
+ """Returns true if both objects are not equal"""
225
+ return not self == other
@@ -0,0 +1,174 @@
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 ShowInstanceDatabasesForHtapResponse(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
+ 'databases': 'list[str]',
22
+ 'total_count': 'int',
23
+ 'timestamp': 'int'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'databases': 'databases',
28
+ 'total_count': 'total_count',
29
+ 'timestamp': 'timestamp'
30
+ }
31
+
32
+ def __init__(self, databases=None, total_count=None, timestamp=None):
33
+ r"""ShowInstanceDatabasesForHtapResponse
34
+
35
+ The model defined in huaweicloud sdk
36
+
37
+ :param databases: 数据库名称。
38
+ :type databases: list[str]
39
+ :param total_count: 数据库数量。
40
+ :type total_count: int
41
+ :param timestamp: 查询时间戳。
42
+ :type timestamp: int
43
+ """
44
+
45
+ super(ShowInstanceDatabasesForHtapResponse, self).__init__()
46
+
47
+ self._databases = None
48
+ self._total_count = None
49
+ self._timestamp = None
50
+ self.discriminator = None
51
+
52
+ if databases is not None:
53
+ self.databases = databases
54
+ if total_count is not None:
55
+ self.total_count = total_count
56
+ if timestamp is not None:
57
+ self.timestamp = timestamp
58
+
59
+ @property
60
+ def databases(self):
61
+ r"""Gets the databases of this ShowInstanceDatabasesForHtapResponse.
62
+
63
+ 数据库名称。
64
+
65
+ :return: The databases of this ShowInstanceDatabasesForHtapResponse.
66
+ :rtype: list[str]
67
+ """
68
+ return self._databases
69
+
70
+ @databases.setter
71
+ def databases(self, databases):
72
+ r"""Sets the databases of this ShowInstanceDatabasesForHtapResponse.
73
+
74
+ 数据库名称。
75
+
76
+ :param databases: The databases of this ShowInstanceDatabasesForHtapResponse.
77
+ :type databases: list[str]
78
+ """
79
+ self._databases = databases
80
+
81
+ @property
82
+ def total_count(self):
83
+ r"""Gets the total_count of this ShowInstanceDatabasesForHtapResponse.
84
+
85
+ 数据库数量。
86
+
87
+ :return: The total_count of this ShowInstanceDatabasesForHtapResponse.
88
+ :rtype: int
89
+ """
90
+ return self._total_count
91
+
92
+ @total_count.setter
93
+ def total_count(self, total_count):
94
+ r"""Sets the total_count of this ShowInstanceDatabasesForHtapResponse.
95
+
96
+ 数据库数量。
97
+
98
+ :param total_count: The total_count of this ShowInstanceDatabasesForHtapResponse.
99
+ :type total_count: int
100
+ """
101
+ self._total_count = total_count
102
+
103
+ @property
104
+ def timestamp(self):
105
+ r"""Gets the timestamp of this ShowInstanceDatabasesForHtapResponse.
106
+
107
+ 查询时间戳。
108
+
109
+ :return: The timestamp of this ShowInstanceDatabasesForHtapResponse.
110
+ :rtype: int
111
+ """
112
+ return self._timestamp
113
+
114
+ @timestamp.setter
115
+ def timestamp(self, timestamp):
116
+ r"""Sets the timestamp of this ShowInstanceDatabasesForHtapResponse.
117
+
118
+ 查询时间戳。
119
+
120
+ :param timestamp: The timestamp of this ShowInstanceDatabasesForHtapResponse.
121
+ :type timestamp: int
122
+ """
123
+ self._timestamp = timestamp
124
+
125
+ def to_dict(self):
126
+ """Returns the model properties as a dict"""
127
+ result = {}
128
+
129
+ for attr, _ in six.iteritems(self.openapi_types):
130
+ value = getattr(self, attr)
131
+ if isinstance(value, list):
132
+ result[attr] = list(map(
133
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
134
+ value
135
+ ))
136
+ elif hasattr(value, "to_dict"):
137
+ result[attr] = value.to_dict()
138
+ elif isinstance(value, dict):
139
+ result[attr] = dict(map(
140
+ lambda item: (item[0], item[1].to_dict())
141
+ if hasattr(item[1], "to_dict") else item,
142
+ value.items()
143
+ ))
144
+ else:
145
+ if attr in self.sensitive_list:
146
+ result[attr] = "****"
147
+ else:
148
+ result[attr] = value
149
+
150
+ return result
151
+
152
+ def to_str(self):
153
+ """Returns the string representation of the model"""
154
+ import simplejson as json
155
+ if six.PY2:
156
+ import sys
157
+ reload(sys)
158
+ sys.setdefaultencoding("utf-8")
159
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
160
+
161
+ def __repr__(self):
162
+ """For `print`"""
163
+ return self.to_str()
164
+
165
+ def __eq__(self, other):
166
+ """Returns true if both objects are equal"""
167
+ if not isinstance(other, ShowInstanceDatabasesForHtapResponse):
168
+ return False
169
+
170
+ return self.__dict__ == other.__dict__
171
+
172
+ def __ne__(self, other):
173
+ """Returns true if both objects are not equal"""
174
+ return not self == other
@@ -0,0 +1,225 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowInstanceTablesForHtapRequest:
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
+ 'limit': 'str',
23
+ 'offset': 'str',
24
+ 'body': 'QueryTableRequestV3'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'x_language': 'X-Language',
29
+ 'instance_id': 'instance_id',
30
+ 'limit': 'limit',
31
+ 'offset': 'offset',
32
+ 'body': 'body'
33
+ }
34
+
35
+ def __init__(self, x_language=None, instance_id=None, limit=None, offset=None, body=None):
36
+ r"""ShowInstanceTablesForHtapRequest
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param x_language: **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
41
+ :type x_language: str
42
+ :param instance_id: **参数解释**: HTAP标准版实例ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,且长度为36个字符。 **默认取值**: 不涉及。
43
+ :type instance_id: str
44
+ :param limit: **参数解释**: 查询记录数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 100。
45
+ :type limit: str
46
+ :param offset: **参数解释**: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 0。
47
+ :type offset: str
48
+ :param body: Body of the ShowInstanceTablesForHtapRequest
49
+ :type body: :class:`huaweicloudsdkgaussdb.v3.QueryTableRequestV3`
50
+ """
51
+
52
+
53
+
54
+ self._x_language = None
55
+ self._instance_id = None
56
+ self._limit = None
57
+ self._offset = None
58
+ self._body = None
59
+ self.discriminator = None
60
+
61
+ self.x_language = x_language
62
+ self.instance_id = instance_id
63
+ if limit is not None:
64
+ self.limit = limit
65
+ if offset is not None:
66
+ self.offset = offset
67
+ if body is not None:
68
+ self.body = body
69
+
70
+ @property
71
+ def x_language(self):
72
+ r"""Gets the x_language of this ShowInstanceTablesForHtapRequest.
73
+
74
+ **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
75
+
76
+ :return: The x_language of this ShowInstanceTablesForHtapRequest.
77
+ :rtype: str
78
+ """
79
+ return self._x_language
80
+
81
+ @x_language.setter
82
+ def x_language(self, x_language):
83
+ r"""Sets the x_language of this ShowInstanceTablesForHtapRequest.
84
+
85
+ **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
86
+
87
+ :param x_language: The x_language of this ShowInstanceTablesForHtapRequest.
88
+ :type x_language: str
89
+ """
90
+ self._x_language = x_language
91
+
92
+ @property
93
+ def instance_id(self):
94
+ r"""Gets the instance_id of this ShowInstanceTablesForHtapRequest.
95
+
96
+ **参数解释**: HTAP标准版实例ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,且长度为36个字符。 **默认取值**: 不涉及。
97
+
98
+ :return: The instance_id of this ShowInstanceTablesForHtapRequest.
99
+ :rtype: str
100
+ """
101
+ return self._instance_id
102
+
103
+ @instance_id.setter
104
+ def instance_id(self, instance_id):
105
+ r"""Sets the instance_id of this ShowInstanceTablesForHtapRequest.
106
+
107
+ **参数解释**: HTAP标准版实例ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,且长度为36个字符。 **默认取值**: 不涉及。
108
+
109
+ :param instance_id: The instance_id of this ShowInstanceTablesForHtapRequest.
110
+ :type instance_id: str
111
+ """
112
+ self._instance_id = instance_id
113
+
114
+ @property
115
+ def limit(self):
116
+ r"""Gets the limit of this ShowInstanceTablesForHtapRequest.
117
+
118
+ **参数解释**: 查询记录数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 100。
119
+
120
+ :return: The limit of this ShowInstanceTablesForHtapRequest.
121
+ :rtype: str
122
+ """
123
+ return self._limit
124
+
125
+ @limit.setter
126
+ def limit(self, limit):
127
+ r"""Sets the limit of this ShowInstanceTablesForHtapRequest.
128
+
129
+ **参数解释**: 查询记录数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 100。
130
+
131
+ :param limit: The limit of this ShowInstanceTablesForHtapRequest.
132
+ :type limit: str
133
+ """
134
+ self._limit = limit
135
+
136
+ @property
137
+ def offset(self):
138
+ r"""Gets the offset of this ShowInstanceTablesForHtapRequest.
139
+
140
+ **参数解释**: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 0。
141
+
142
+ :return: The offset of this ShowInstanceTablesForHtapRequest.
143
+ :rtype: str
144
+ """
145
+ return self._offset
146
+
147
+ @offset.setter
148
+ def offset(self, offset):
149
+ r"""Sets the offset of this ShowInstanceTablesForHtapRequest.
150
+
151
+ **参数解释**: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 0。
152
+
153
+ :param offset: The offset of this ShowInstanceTablesForHtapRequest.
154
+ :type offset: str
155
+ """
156
+ self._offset = offset
157
+
158
+ @property
159
+ def body(self):
160
+ r"""Gets the body of this ShowInstanceTablesForHtapRequest.
161
+
162
+ :return: The body of this ShowInstanceTablesForHtapRequest.
163
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.QueryTableRequestV3`
164
+ """
165
+ return self._body
166
+
167
+ @body.setter
168
+ def body(self, body):
169
+ r"""Sets the body of this ShowInstanceTablesForHtapRequest.
170
+
171
+ :param body: The body of this ShowInstanceTablesForHtapRequest.
172
+ :type body: :class:`huaweicloudsdkgaussdb.v3.QueryTableRequestV3`
173
+ """
174
+ self._body = body
175
+
176
+ def to_dict(self):
177
+ """Returns the model properties as a dict"""
178
+ result = {}
179
+
180
+ for attr, _ in six.iteritems(self.openapi_types):
181
+ value = getattr(self, attr)
182
+ if isinstance(value, list):
183
+ result[attr] = list(map(
184
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
185
+ value
186
+ ))
187
+ elif hasattr(value, "to_dict"):
188
+ result[attr] = value.to_dict()
189
+ elif isinstance(value, dict):
190
+ result[attr] = dict(map(
191
+ lambda item: (item[0], item[1].to_dict())
192
+ if hasattr(item[1], "to_dict") else item,
193
+ value.items()
194
+ ))
195
+ else:
196
+ if attr in self.sensitive_list:
197
+ result[attr] = "****"
198
+ else:
199
+ result[attr] = value
200
+
201
+ return result
202
+
203
+ def to_str(self):
204
+ """Returns the string representation of the model"""
205
+ import simplejson as json
206
+ if six.PY2:
207
+ import sys
208
+ reload(sys)
209
+ sys.setdefaultencoding("utf-8")
210
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
211
+
212
+ def __repr__(self):
213
+ """For `print`"""
214
+ return self.to_str()
215
+
216
+ def __eq__(self, other):
217
+ """Returns true if both objects are equal"""
218
+ if not isinstance(other, ShowInstanceTablesForHtapRequest):
219
+ return False
220
+
221
+ return self.__dict__ == other.__dict__
222
+
223
+ def __ne__(self, other):
224
+ """Returns true if both objects are not equal"""
225
+ return not self == other