huaweicloudsdkrocketmq 3.1.146__py2.py3-none-any.whl → 3.1.147__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.
- huaweicloudsdkrocketmq/v2/__init__.py +13 -1
- huaweicloudsdkrocketmq/v2/model/__init__.py +13 -1
- huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group.py +260 -0
- huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_req.py +4 -4
- huaweicloudsdkrocketmq/v2/model/brokers.py +6 -6
- huaweicloudsdkrocketmq/v2/model/consumer_detail_resp.py +12 -12
- huaweicloudsdkrocketmq/v2/model/consumer_group.py +27 -27
- huaweicloudsdkrocketmq/v2/model/consumer_list.py +6 -6
- huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py +6 -6
- huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py +9 -9
- huaweicloudsdkrocketmq/v2/model/create_user_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_user_response.py +24 -24
- huaweicloudsdkrocketmq/v2/model/enable_dns_request.py +114 -0
- huaweicloudsdkrocketmq/v2/model/enable_dns_response.py +85 -0
- huaweicloudsdkrocketmq/v2/model/instance_detail.py +1942 -0
- huaweicloudsdkrocketmq/v2/model/list_available_zones_resp_available_zones.py +27 -27
- huaweicloudsdkrocketmq/v2/model/list_available_zones_response.py +6 -6
- huaweicloudsdkrocketmq/v2/model/list_brokers_request.py +61 -3
- huaweicloudsdkrocketmq/v2/model/list_brokers_response.py +88 -1
- huaweicloudsdkrocketmq/v2/model/list_engine_products_request.py +228 -0
- huaweicloudsdkrocketmq/v2/model/list_engine_products_response.py +261 -0
- huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_request.py +12 -12
- huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_response.py +18 -18
- huaweicloudsdkrocketmq/v2/model/list_instances_request.py +27 -27
- huaweicloudsdkrocketmq/v2/model/list_instances_response.py +10 -10
- huaweicloudsdkrocketmq/v2/model/list_message_trace_request.py +61 -3
- huaweicloudsdkrocketmq/v2/model/list_message_trace_response.py +88 -1
- huaweicloudsdkrocketmq/v2/model/list_rocket_instance_topics_request.py +9 -9
- huaweicloudsdkrocketmq/v2/model/list_rocket_instance_topics_response.py +18 -18
- huaweicloudsdkrocketmq/v2/model/product_entity.py +434 -0
- huaweicloudsdkrocketmq/v2/model/queue.py +15 -15
- huaweicloudsdkrocketmq/v2/model/quota_resource_entity.py +173 -0
- huaweicloudsdkrocketmq/v2/model/quotas_resp_quotas.py +115 -0
- huaweicloudsdkrocketmq/v2/model/resend_req.py +2 -4
- huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py +6 -6
- huaweicloudsdkrocketmq/v2/model/restart_instance_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/restart_instance_response.py +174 -0
- huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_request.py +15 -15
- huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_response.py +18 -18
- huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_request.py +61 -3
- huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_response.py +88 -1
- huaweicloudsdkrocketmq/v2/model/show_instance_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/show_instance_response.py +458 -168
- huaweicloudsdkrocketmq/v2/model/show_one_topic_response.py +15 -15
- huaweicloudsdkrocketmq/v2/model/show_quotas_request.py +84 -0
- huaweicloudsdkrocketmq/v2/model/show_quotas_response.py +112 -0
- huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_request.py +61 -3
- huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_response.py +88 -1
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_project_tags_request.py +61 -1
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_project_tags_response.py +91 -4
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_tags_request.py +61 -3
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_tags_response.py +88 -1
- huaweicloudsdkrocketmq/v2/model/show_user_response.py +24 -24
- huaweicloudsdkrocketmq/v2/model/tag_multy_value_entity.py +6 -6
- huaweicloudsdkrocketmq/v2/model/topic.py +15 -15
- huaweicloudsdkrocketmq/v2/model/topic_brokers.py +9 -9
- huaweicloudsdkrocketmq/v2/model/update_user_request.py +6 -6
- huaweicloudsdkrocketmq/v2/model/update_user_response.py +24 -24
- huaweicloudsdkrocketmq/v2/model/user.py +24 -24
- huaweicloudsdkrocketmq/v2/model/user_group_perms.py +6 -6
- huaweicloudsdkrocketmq/v2/model/user_topic_perms.py +6 -6
- huaweicloudsdkrocketmq/v2/region/rocketmq_region.py +9 -0
- huaweicloudsdkrocketmq/v2/rocketmq_async_client.py +292 -0
- huaweicloudsdkrocketmq/v2/rocketmq_client.py +292 -0
- {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/METADATA +2 -2
- {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/RECORD +69 -57
- huaweicloudsdkrocketmq/v2/model/show_instance_resp.py +0 -1681
- {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/LICENSE +0 -0
- {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/WHEEL +0 -0
- {huaweicloudsdkrocketmq-3.1.146.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/top_level.txt +0 -0
@@ -45,23 +45,23 @@ class ListAvailableZonesRespAvailableZones:
|
|
45
45
|
|
46
46
|
The model defined in huaweicloud sdk
|
47
47
|
|
48
|
-
:param sold_out: 是否售罄。
|
48
|
+
:param sold_out: **参数解释**: 是否售罄。 **取值范围**: - true:售罄。 - false:未售罄。
|
49
49
|
:type sold_out: bool
|
50
|
-
:param id: 可用区ID。
|
50
|
+
:param id: **参数解释**: 可用区ID。 **取值范围**: 不涉及。
|
51
51
|
:type id: str
|
52
|
-
:param code: 可用区编码。
|
52
|
+
:param code: **参数解释**: 可用区编码。 **取值范围**: 不涉及。
|
53
53
|
:type code: str
|
54
|
-
:param name: 可用区名称。
|
54
|
+
:param name: **参数解释**: 可用区名称。 **取值范围**: 不涉及。
|
55
55
|
:type name: str
|
56
|
-
:param port: 可用区端口号。
|
56
|
+
:param port: **参数解释**: 可用区端口号。 **取值范围**: 不涉及。
|
57
57
|
:type port: str
|
58
|
-
:param resource_availability: 分区上是否还有可用资源。
|
58
|
+
:param resource_availability: **参数解释**: 分区上是否还有可用资源。 **取值范围**: 不涉及。
|
59
59
|
:type resource_availability: str
|
60
|
-
:param default_az: 是否为默认可用区。
|
60
|
+
:param default_az: **参数解释**: 是否为默认可用区。 **取值范围**: - true:默认可用区 - false:不是默认可用区
|
61
61
|
:type default_az: bool
|
62
|
-
:param remain_time: 剩余时间。
|
62
|
+
:param remain_time: **参数解释**: 剩余时间。 **取值范围**: 不涉及。
|
63
63
|
:type remain_time: int
|
64
|
-
:param ipv6_enable: 是否支持IPv6。
|
64
|
+
:param ipv6_enable: **参数解释**: 是否支持IPv6。 **取值范围**: - true:支持 - false:不支持
|
65
65
|
:type ipv6_enable: bool
|
66
66
|
"""
|
67
67
|
|
@@ -101,7 +101,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
101
101
|
def sold_out(self):
|
102
102
|
r"""Gets the sold_out of this ListAvailableZonesRespAvailableZones.
|
103
103
|
|
104
|
-
是否售罄。
|
104
|
+
**参数解释**: 是否售罄。 **取值范围**: - true:售罄。 - false:未售罄。
|
105
105
|
|
106
106
|
:return: The sold_out of this ListAvailableZonesRespAvailableZones.
|
107
107
|
:rtype: bool
|
@@ -112,7 +112,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
112
112
|
def sold_out(self, sold_out):
|
113
113
|
r"""Sets the sold_out of this ListAvailableZonesRespAvailableZones.
|
114
114
|
|
115
|
-
是否售罄。
|
115
|
+
**参数解释**: 是否售罄。 **取值范围**: - true:售罄。 - false:未售罄。
|
116
116
|
|
117
117
|
:param sold_out: The sold_out of this ListAvailableZonesRespAvailableZones.
|
118
118
|
:type sold_out: bool
|
@@ -123,7 +123,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
123
123
|
def id(self):
|
124
124
|
r"""Gets the id of this ListAvailableZonesRespAvailableZones.
|
125
125
|
|
126
|
-
可用区ID。
|
126
|
+
**参数解释**: 可用区ID。 **取值范围**: 不涉及。
|
127
127
|
|
128
128
|
:return: The id of this ListAvailableZonesRespAvailableZones.
|
129
129
|
:rtype: str
|
@@ -134,7 +134,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
134
134
|
def id(self, id):
|
135
135
|
r"""Sets the id of this ListAvailableZonesRespAvailableZones.
|
136
136
|
|
137
|
-
可用区ID。
|
137
|
+
**参数解释**: 可用区ID。 **取值范围**: 不涉及。
|
138
138
|
|
139
139
|
:param id: The id of this ListAvailableZonesRespAvailableZones.
|
140
140
|
:type id: str
|
@@ -145,7 +145,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
145
145
|
def code(self):
|
146
146
|
r"""Gets the code of this ListAvailableZonesRespAvailableZones.
|
147
147
|
|
148
|
-
可用区编码。
|
148
|
+
**参数解释**: 可用区编码。 **取值范围**: 不涉及。
|
149
149
|
|
150
150
|
:return: The code of this ListAvailableZonesRespAvailableZones.
|
151
151
|
:rtype: str
|
@@ -156,7 +156,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
156
156
|
def code(self, code):
|
157
157
|
r"""Sets the code of this ListAvailableZonesRespAvailableZones.
|
158
158
|
|
159
|
-
可用区编码。
|
159
|
+
**参数解释**: 可用区编码。 **取值范围**: 不涉及。
|
160
160
|
|
161
161
|
:param code: The code of this ListAvailableZonesRespAvailableZones.
|
162
162
|
:type code: str
|
@@ -167,7 +167,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
167
167
|
def name(self):
|
168
168
|
r"""Gets the name of this ListAvailableZonesRespAvailableZones.
|
169
169
|
|
170
|
-
可用区名称。
|
170
|
+
**参数解释**: 可用区名称。 **取值范围**: 不涉及。
|
171
171
|
|
172
172
|
:return: The name of this ListAvailableZonesRespAvailableZones.
|
173
173
|
:rtype: str
|
@@ -178,7 +178,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
178
178
|
def name(self, name):
|
179
179
|
r"""Sets the name of this ListAvailableZonesRespAvailableZones.
|
180
180
|
|
181
|
-
可用区名称。
|
181
|
+
**参数解释**: 可用区名称。 **取值范围**: 不涉及。
|
182
182
|
|
183
183
|
:param name: The name of this ListAvailableZonesRespAvailableZones.
|
184
184
|
:type name: str
|
@@ -189,7 +189,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
189
189
|
def port(self):
|
190
190
|
r"""Gets the port of this ListAvailableZonesRespAvailableZones.
|
191
191
|
|
192
|
-
可用区端口号。
|
192
|
+
**参数解释**: 可用区端口号。 **取值范围**: 不涉及。
|
193
193
|
|
194
194
|
:return: The port of this ListAvailableZonesRespAvailableZones.
|
195
195
|
:rtype: str
|
@@ -200,7 +200,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
200
200
|
def port(self, port):
|
201
201
|
r"""Sets the port of this ListAvailableZonesRespAvailableZones.
|
202
202
|
|
203
|
-
可用区端口号。
|
203
|
+
**参数解释**: 可用区端口号。 **取值范围**: 不涉及。
|
204
204
|
|
205
205
|
:param port: The port of this ListAvailableZonesRespAvailableZones.
|
206
206
|
:type port: str
|
@@ -211,7 +211,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
211
211
|
def resource_availability(self):
|
212
212
|
r"""Gets the resource_availability of this ListAvailableZonesRespAvailableZones.
|
213
213
|
|
214
|
-
分区上是否还有可用资源。
|
214
|
+
**参数解释**: 分区上是否还有可用资源。 **取值范围**: 不涉及。
|
215
215
|
|
216
216
|
:return: The resource_availability of this ListAvailableZonesRespAvailableZones.
|
217
217
|
:rtype: str
|
@@ -222,7 +222,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
222
222
|
def resource_availability(self, resource_availability):
|
223
223
|
r"""Sets the resource_availability of this ListAvailableZonesRespAvailableZones.
|
224
224
|
|
225
|
-
分区上是否还有可用资源。
|
225
|
+
**参数解释**: 分区上是否还有可用资源。 **取值范围**: 不涉及。
|
226
226
|
|
227
227
|
:param resource_availability: The resource_availability of this ListAvailableZonesRespAvailableZones.
|
228
228
|
:type resource_availability: str
|
@@ -233,7 +233,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
233
233
|
def default_az(self):
|
234
234
|
r"""Gets the default_az of this ListAvailableZonesRespAvailableZones.
|
235
235
|
|
236
|
-
是否为默认可用区。
|
236
|
+
**参数解释**: 是否为默认可用区。 **取值范围**: - true:默认可用区 - false:不是默认可用区
|
237
237
|
|
238
238
|
:return: The default_az of this ListAvailableZonesRespAvailableZones.
|
239
239
|
:rtype: bool
|
@@ -244,7 +244,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
244
244
|
def default_az(self, default_az):
|
245
245
|
r"""Sets the default_az of this ListAvailableZonesRespAvailableZones.
|
246
246
|
|
247
|
-
是否为默认可用区。
|
247
|
+
**参数解释**: 是否为默认可用区。 **取值范围**: - true:默认可用区 - false:不是默认可用区
|
248
248
|
|
249
249
|
:param default_az: The default_az of this ListAvailableZonesRespAvailableZones.
|
250
250
|
:type default_az: bool
|
@@ -255,7 +255,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
255
255
|
def remain_time(self):
|
256
256
|
r"""Gets the remain_time of this ListAvailableZonesRespAvailableZones.
|
257
257
|
|
258
|
-
剩余时间。
|
258
|
+
**参数解释**: 剩余时间。 **取值范围**: 不涉及。
|
259
259
|
|
260
260
|
:return: The remain_time of this ListAvailableZonesRespAvailableZones.
|
261
261
|
:rtype: int
|
@@ -266,7 +266,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
266
266
|
def remain_time(self, remain_time):
|
267
267
|
r"""Sets the remain_time of this ListAvailableZonesRespAvailableZones.
|
268
268
|
|
269
|
-
剩余时间。
|
269
|
+
**参数解释**: 剩余时间。 **取值范围**: 不涉及。
|
270
270
|
|
271
271
|
:param remain_time: The remain_time of this ListAvailableZonesRespAvailableZones.
|
272
272
|
:type remain_time: int
|
@@ -277,7 +277,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
277
277
|
def ipv6_enable(self):
|
278
278
|
r"""Gets the ipv6_enable of this ListAvailableZonesRespAvailableZones.
|
279
279
|
|
280
|
-
是否支持IPv6。
|
280
|
+
**参数解释**: 是否支持IPv6。 **取值范围**: - true:支持 - false:不支持
|
281
281
|
|
282
282
|
:return: The ipv6_enable of this ListAvailableZonesRespAvailableZones.
|
283
283
|
:rtype: bool
|
@@ -288,7 +288,7 @@ class ListAvailableZonesRespAvailableZones:
|
|
288
288
|
def ipv6_enable(self, ipv6_enable):
|
289
289
|
r"""Sets the ipv6_enable of this ListAvailableZonesRespAvailableZones.
|
290
290
|
|
291
|
-
是否支持IPv6。
|
291
|
+
**参数解释**: 是否支持IPv6。 **取值范围**: - true:支持 - false:不支持
|
292
292
|
|
293
293
|
:param ipv6_enable: The ipv6_enable of this ListAvailableZonesRespAvailableZones.
|
294
294
|
:type ipv6_enable: bool
|
@@ -32,9 +32,9 @@ class ListAvailableZonesResponse(SdkResponse):
|
|
32
32
|
|
33
33
|
The model defined in huaweicloud sdk
|
34
34
|
|
35
|
-
:param region_id: 区域ID。
|
35
|
+
:param region_id: **参数解释**: 区域ID。 **取值范围**: 不涉及。
|
36
36
|
:type region_id: str
|
37
|
-
:param available_zones: 可用区数组。
|
37
|
+
:param available_zones: **参数解释**: 可用区数组。
|
38
38
|
:type available_zones: list[:class:`huaweicloudsdkrocketmq.v2.ListAvailableZonesRespAvailableZones`]
|
39
39
|
"""
|
40
40
|
|
@@ -53,7 +53,7 @@ class ListAvailableZonesResponse(SdkResponse):
|
|
53
53
|
def region_id(self):
|
54
54
|
r"""Gets the region_id of this ListAvailableZonesResponse.
|
55
55
|
|
56
|
-
区域ID。
|
56
|
+
**参数解释**: 区域ID。 **取值范围**: 不涉及。
|
57
57
|
|
58
58
|
:return: The region_id of this ListAvailableZonesResponse.
|
59
59
|
:rtype: str
|
@@ -64,7 +64,7 @@ class ListAvailableZonesResponse(SdkResponse):
|
|
64
64
|
def region_id(self, region_id):
|
65
65
|
r"""Sets the region_id of this ListAvailableZonesResponse.
|
66
66
|
|
67
|
-
区域ID。
|
67
|
+
**参数解释**: 区域ID。 **取值范围**: 不涉及。
|
68
68
|
|
69
69
|
:param region_id: The region_id of this ListAvailableZonesResponse.
|
70
70
|
:type region_id: str
|
@@ -75,7 +75,7 @@ class ListAvailableZonesResponse(SdkResponse):
|
|
75
75
|
def available_zones(self):
|
76
76
|
r"""Gets the available_zones of this ListAvailableZonesResponse.
|
77
77
|
|
78
|
-
可用区数组。
|
78
|
+
**参数解释**: 可用区数组。
|
79
79
|
|
80
80
|
:return: The available_zones of this ListAvailableZonesResponse.
|
81
81
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.ListAvailableZonesRespAvailableZones`]
|
@@ -86,7 +86,7 @@ class ListAvailableZonesResponse(SdkResponse):
|
|
86
86
|
def available_zones(self, available_zones):
|
87
87
|
r"""Sets the available_zones of this ListAvailableZonesResponse.
|
88
88
|
|
89
|
-
可用区数组。
|
89
|
+
**参数解释**: 可用区数组。
|
90
90
|
|
91
91
|
:param available_zones: The available_zones of this ListAvailableZonesResponse.
|
92
92
|
:type available_zones: list[:class:`huaweicloudsdkrocketmq.v2.ListAvailableZonesRespAvailableZones`]
|
@@ -17,28 +17,42 @@ class ListBrokersRequest:
|
|
17
17
|
sensitive_list = []
|
18
18
|
|
19
19
|
openapi_types = {
|
20
|
-
'instance_id': 'str'
|
20
|
+
'instance_id': 'str',
|
21
|
+
'limit': 'int',
|
22
|
+
'offset': 'int'
|
21
23
|
}
|
22
24
|
|
23
25
|
attribute_map = {
|
24
|
-
'instance_id': 'instance_id'
|
26
|
+
'instance_id': 'instance_id',
|
27
|
+
'limit': 'limit',
|
28
|
+
'offset': 'offset'
|
25
29
|
}
|
26
30
|
|
27
|
-
def __init__(self, instance_id=None):
|
31
|
+
def __init__(self, instance_id=None, limit=None, offset=None):
|
28
32
|
r"""ListBrokersRequest
|
29
33
|
|
30
34
|
The model defined in huaweicloud sdk
|
31
35
|
|
32
36
|
:param instance_id: 实例ID。
|
33
37
|
:type instance_id: str
|
38
|
+
:param limit: 查询数量。
|
39
|
+
:type limit: int
|
40
|
+
:param offset: 偏移量,表示从此偏移量开始查询,offset大于等于0。
|
41
|
+
:type offset: int
|
34
42
|
"""
|
35
43
|
|
36
44
|
|
37
45
|
|
38
46
|
self._instance_id = None
|
47
|
+
self._limit = None
|
48
|
+
self._offset = None
|
39
49
|
self.discriminator = None
|
40
50
|
|
41
51
|
self.instance_id = instance_id
|
52
|
+
if limit is not None:
|
53
|
+
self.limit = limit
|
54
|
+
if offset is not None:
|
55
|
+
self.offset = offset
|
42
56
|
|
43
57
|
@property
|
44
58
|
def instance_id(self):
|
@@ -62,6 +76,50 @@ class ListBrokersRequest:
|
|
62
76
|
"""
|
63
77
|
self._instance_id = instance_id
|
64
78
|
|
79
|
+
@property
|
80
|
+
def limit(self):
|
81
|
+
r"""Gets the limit of this ListBrokersRequest.
|
82
|
+
|
83
|
+
查询数量。
|
84
|
+
|
85
|
+
:return: The limit of this ListBrokersRequest.
|
86
|
+
:rtype: int
|
87
|
+
"""
|
88
|
+
return self._limit
|
89
|
+
|
90
|
+
@limit.setter
|
91
|
+
def limit(self, limit):
|
92
|
+
r"""Sets the limit of this ListBrokersRequest.
|
93
|
+
|
94
|
+
查询数量。
|
95
|
+
|
96
|
+
:param limit: The limit of this ListBrokersRequest.
|
97
|
+
:type limit: int
|
98
|
+
"""
|
99
|
+
self._limit = limit
|
100
|
+
|
101
|
+
@property
|
102
|
+
def offset(self):
|
103
|
+
r"""Gets the offset of this ListBrokersRequest.
|
104
|
+
|
105
|
+
偏移量,表示从此偏移量开始查询,offset大于等于0。
|
106
|
+
|
107
|
+
:return: The offset of this ListBrokersRequest.
|
108
|
+
:rtype: int
|
109
|
+
"""
|
110
|
+
return self._offset
|
111
|
+
|
112
|
+
@offset.setter
|
113
|
+
def offset(self, offset):
|
114
|
+
r"""Sets the offset of this ListBrokersRequest.
|
115
|
+
|
116
|
+
偏移量,表示从此偏移量开始查询,offset大于等于0。
|
117
|
+
|
118
|
+
:param offset: The offset of this ListBrokersRequest.
|
119
|
+
:type offset: int
|
120
|
+
"""
|
121
|
+
self._offset = offset
|
122
|
+
|
65
123
|
def to_dict(self):
|
66
124
|
"""Returns the model properties as a dict"""
|
67
125
|
result = {}
|
@@ -18,30 +18,117 @@ class ListBrokersResponse(SdkResponse):
|
|
18
18
|
sensitive_list = []
|
19
19
|
|
20
20
|
openapi_types = {
|
21
|
+
'total': 'float',
|
22
|
+
'next_offset': 'int',
|
23
|
+
'previous_offset': 'int',
|
21
24
|
'brokers': 'list[ListBrokersRespBrokers]'
|
22
25
|
}
|
23
26
|
|
24
27
|
attribute_map = {
|
28
|
+
'total': 'total',
|
29
|
+
'next_offset': 'next_offset',
|
30
|
+
'previous_offset': 'previous_offset',
|
25
31
|
'brokers': 'brokers'
|
26
32
|
}
|
27
33
|
|
28
|
-
def __init__(self, brokers=None):
|
34
|
+
def __init__(self, total=None, next_offset=None, previous_offset=None, brokers=None):
|
29
35
|
r"""ListBrokersResponse
|
30
36
|
|
31
37
|
The model defined in huaweicloud sdk
|
32
38
|
|
39
|
+
:param total: 总数。
|
40
|
+
:type total: float
|
41
|
+
:param next_offset: 下个分页的offset。
|
42
|
+
:type next_offset: int
|
43
|
+
:param previous_offset: 上个分页的offset。
|
44
|
+
:type previous_offset: int
|
33
45
|
:param brokers: 代理列表。
|
34
46
|
:type brokers: list[:class:`huaweicloudsdkrocketmq.v2.ListBrokersRespBrokers`]
|
35
47
|
"""
|
36
48
|
|
37
49
|
super(ListBrokersResponse, self).__init__()
|
38
50
|
|
51
|
+
self._total = None
|
52
|
+
self._next_offset = None
|
53
|
+
self._previous_offset = None
|
39
54
|
self._brokers = None
|
40
55
|
self.discriminator = None
|
41
56
|
|
57
|
+
if total is not None:
|
58
|
+
self.total = total
|
59
|
+
if next_offset is not None:
|
60
|
+
self.next_offset = next_offset
|
61
|
+
if previous_offset is not None:
|
62
|
+
self.previous_offset = previous_offset
|
42
63
|
if brokers is not None:
|
43
64
|
self.brokers = brokers
|
44
65
|
|
66
|
+
@property
|
67
|
+
def total(self):
|
68
|
+
r"""Gets the total of this ListBrokersResponse.
|
69
|
+
|
70
|
+
总数。
|
71
|
+
|
72
|
+
:return: The total of this ListBrokersResponse.
|
73
|
+
:rtype: float
|
74
|
+
"""
|
75
|
+
return self._total
|
76
|
+
|
77
|
+
@total.setter
|
78
|
+
def total(self, total):
|
79
|
+
r"""Sets the total of this ListBrokersResponse.
|
80
|
+
|
81
|
+
总数。
|
82
|
+
|
83
|
+
:param total: The total of this ListBrokersResponse.
|
84
|
+
:type total: float
|
85
|
+
"""
|
86
|
+
self._total = total
|
87
|
+
|
88
|
+
@property
|
89
|
+
def next_offset(self):
|
90
|
+
r"""Gets the next_offset of this ListBrokersResponse.
|
91
|
+
|
92
|
+
下个分页的offset。
|
93
|
+
|
94
|
+
:return: The next_offset of this ListBrokersResponse.
|
95
|
+
:rtype: int
|
96
|
+
"""
|
97
|
+
return self._next_offset
|
98
|
+
|
99
|
+
@next_offset.setter
|
100
|
+
def next_offset(self, next_offset):
|
101
|
+
r"""Sets the next_offset of this ListBrokersResponse.
|
102
|
+
|
103
|
+
下个分页的offset。
|
104
|
+
|
105
|
+
:param next_offset: The next_offset of this ListBrokersResponse.
|
106
|
+
:type next_offset: int
|
107
|
+
"""
|
108
|
+
self._next_offset = next_offset
|
109
|
+
|
110
|
+
@property
|
111
|
+
def previous_offset(self):
|
112
|
+
r"""Gets the previous_offset of this ListBrokersResponse.
|
113
|
+
|
114
|
+
上个分页的offset。
|
115
|
+
|
116
|
+
:return: The previous_offset of this ListBrokersResponse.
|
117
|
+
:rtype: int
|
118
|
+
"""
|
119
|
+
return self._previous_offset
|
120
|
+
|
121
|
+
@previous_offset.setter
|
122
|
+
def previous_offset(self, previous_offset):
|
123
|
+
r"""Sets the previous_offset of this ListBrokersResponse.
|
124
|
+
|
125
|
+
上个分页的offset。
|
126
|
+
|
127
|
+
:param previous_offset: The previous_offset of this ListBrokersResponse.
|
128
|
+
:type previous_offset: int
|
129
|
+
"""
|
130
|
+
self._previous_offset = previous_offset
|
131
|
+
|
45
132
|
@property
|
46
133
|
def brokers(self):
|
47
134
|
r"""Gets the brokers of this ListBrokersResponse.
|
@@ -0,0 +1,228 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListEngineProductsRequest:
|
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
|
+
'engine': 'str',
|
21
|
+
'type': 'str',
|
22
|
+
'product_id': 'str',
|
23
|
+
'limit': 'int',
|
24
|
+
'offset': 'int'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'engine': 'engine',
|
29
|
+
'type': 'type',
|
30
|
+
'product_id': 'product_id',
|
31
|
+
'limit': 'limit',
|
32
|
+
'offset': 'offset'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, engine=None, type=None, product_id=None, limit=None, offset=None):
|
36
|
+
r"""ListEngineProductsRequest
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param engine: **参数解释**: 消息引擎的类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
41
|
+
:type engine: str
|
42
|
+
:param type: **参数解释**: 产品类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
43
|
+
:type type: str
|
44
|
+
:param product_id: **参数解释**: 产品ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
45
|
+
:type product_id: str
|
46
|
+
:param limit: **参数解释**: 查询数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10。
|
47
|
+
:type limit: int
|
48
|
+
:param offset: **参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 不涉及。
|
49
|
+
:type offset: int
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._engine = None
|
55
|
+
self._type = None
|
56
|
+
self._product_id = None
|
57
|
+
self._limit = None
|
58
|
+
self._offset = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
self.engine = engine
|
62
|
+
self.type = type
|
63
|
+
self.product_id = product_id
|
64
|
+
if limit is not None:
|
65
|
+
self.limit = limit
|
66
|
+
if offset is not None:
|
67
|
+
self.offset = offset
|
68
|
+
|
69
|
+
@property
|
70
|
+
def engine(self):
|
71
|
+
r"""Gets the engine of this ListEngineProductsRequest.
|
72
|
+
|
73
|
+
**参数解释**: 消息引擎的类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
74
|
+
|
75
|
+
:return: The engine of this ListEngineProductsRequest.
|
76
|
+
:rtype: str
|
77
|
+
"""
|
78
|
+
return self._engine
|
79
|
+
|
80
|
+
@engine.setter
|
81
|
+
def engine(self, engine):
|
82
|
+
r"""Sets the engine of this ListEngineProductsRequest.
|
83
|
+
|
84
|
+
**参数解释**: 消息引擎的类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
85
|
+
|
86
|
+
:param engine: The engine of this ListEngineProductsRequest.
|
87
|
+
:type engine: str
|
88
|
+
"""
|
89
|
+
self._engine = engine
|
90
|
+
|
91
|
+
@property
|
92
|
+
def type(self):
|
93
|
+
r"""Gets the type of this ListEngineProductsRequest.
|
94
|
+
|
95
|
+
**参数解释**: 产品类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
96
|
+
|
97
|
+
:return: The type of this ListEngineProductsRequest.
|
98
|
+
:rtype: str
|
99
|
+
"""
|
100
|
+
return self._type
|
101
|
+
|
102
|
+
@type.setter
|
103
|
+
def type(self, type):
|
104
|
+
r"""Sets the type of this ListEngineProductsRequest.
|
105
|
+
|
106
|
+
**参数解释**: 产品类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
107
|
+
|
108
|
+
:param type: The type of this ListEngineProductsRequest.
|
109
|
+
:type type: str
|
110
|
+
"""
|
111
|
+
self._type = type
|
112
|
+
|
113
|
+
@property
|
114
|
+
def product_id(self):
|
115
|
+
r"""Gets the product_id of this ListEngineProductsRequest.
|
116
|
+
|
117
|
+
**参数解释**: 产品ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
118
|
+
|
119
|
+
:return: The product_id of this ListEngineProductsRequest.
|
120
|
+
:rtype: str
|
121
|
+
"""
|
122
|
+
return self._product_id
|
123
|
+
|
124
|
+
@product_id.setter
|
125
|
+
def product_id(self, product_id):
|
126
|
+
r"""Sets the product_id of this ListEngineProductsRequest.
|
127
|
+
|
128
|
+
**参数解释**: 产品ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
129
|
+
|
130
|
+
:param product_id: The product_id of this ListEngineProductsRequest.
|
131
|
+
:type product_id: str
|
132
|
+
"""
|
133
|
+
self._product_id = product_id
|
134
|
+
|
135
|
+
@property
|
136
|
+
def limit(self):
|
137
|
+
r"""Gets the limit of this ListEngineProductsRequest.
|
138
|
+
|
139
|
+
**参数解释**: 查询数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10。
|
140
|
+
|
141
|
+
:return: The limit of this ListEngineProductsRequest.
|
142
|
+
:rtype: int
|
143
|
+
"""
|
144
|
+
return self._limit
|
145
|
+
|
146
|
+
@limit.setter
|
147
|
+
def limit(self, limit):
|
148
|
+
r"""Sets the limit of this ListEngineProductsRequest.
|
149
|
+
|
150
|
+
**参数解释**: 查询数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10。
|
151
|
+
|
152
|
+
:param limit: The limit of this ListEngineProductsRequest.
|
153
|
+
:type limit: int
|
154
|
+
"""
|
155
|
+
self._limit = limit
|
156
|
+
|
157
|
+
@property
|
158
|
+
def offset(self):
|
159
|
+
r"""Gets the offset of this ListEngineProductsRequest.
|
160
|
+
|
161
|
+
**参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 不涉及。
|
162
|
+
|
163
|
+
:return: The offset of this ListEngineProductsRequest.
|
164
|
+
:rtype: int
|
165
|
+
"""
|
166
|
+
return self._offset
|
167
|
+
|
168
|
+
@offset.setter
|
169
|
+
def offset(self, offset):
|
170
|
+
r"""Sets the offset of this ListEngineProductsRequest.
|
171
|
+
|
172
|
+
**参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 不涉及。
|
173
|
+
|
174
|
+
:param offset: The offset of this ListEngineProductsRequest.
|
175
|
+
:type offset: int
|
176
|
+
"""
|
177
|
+
self._offset = offset
|
178
|
+
|
179
|
+
def to_dict(self):
|
180
|
+
"""Returns the model properties as a dict"""
|
181
|
+
result = {}
|
182
|
+
|
183
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
184
|
+
value = getattr(self, attr)
|
185
|
+
if isinstance(value, list):
|
186
|
+
result[attr] = list(map(
|
187
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
188
|
+
value
|
189
|
+
))
|
190
|
+
elif hasattr(value, "to_dict"):
|
191
|
+
result[attr] = value.to_dict()
|
192
|
+
elif isinstance(value, dict):
|
193
|
+
result[attr] = dict(map(
|
194
|
+
lambda item: (item[0], item[1].to_dict())
|
195
|
+
if hasattr(item[1], "to_dict") else item,
|
196
|
+
value.items()
|
197
|
+
))
|
198
|
+
else:
|
199
|
+
if attr in self.sensitive_list:
|
200
|
+
result[attr] = "****"
|
201
|
+
else:
|
202
|
+
result[attr] = value
|
203
|
+
|
204
|
+
return result
|
205
|
+
|
206
|
+
def to_str(self):
|
207
|
+
"""Returns the string representation of the model"""
|
208
|
+
import simplejson as json
|
209
|
+
if six.PY2:
|
210
|
+
import sys
|
211
|
+
reload(sys)
|
212
|
+
sys.setdefaultencoding("utf-8")
|
213
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
214
|
+
|
215
|
+
def __repr__(self):
|
216
|
+
"""For `print`"""
|
217
|
+
return self.to_str()
|
218
|
+
|
219
|
+
def __eq__(self, other):
|
220
|
+
"""Returns true if both objects are equal"""
|
221
|
+
if not isinstance(other, ListEngineProductsRequest):
|
222
|
+
return False
|
223
|
+
|
224
|
+
return self.__dict__ == other.__dict__
|
225
|
+
|
226
|
+
def __ne__(self, other):
|
227
|
+
"""Returns true if both objects are not equal"""
|
228
|
+
return not self == other
|