huaweicloudsdkrocketmq 3.1.160__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/__init__.py +0 -0
- huaweicloudsdkrocketmq/v2/__init__.py +208 -0
- huaweicloudsdkrocketmq/v2/model/__init__.py +205 -0
- huaweicloudsdkrocketmq/v2/model/batch_create_or_delete_rocketmq_tag_request.py +139 -0
- huaweicloudsdkrocketmq/v2/model/batch_create_or_delete_rocketmq_tag_response.py +85 -0
- huaweicloudsdkrocketmq/v2/model/batch_create_or_delete_tag_req.py +144 -0
- huaweicloudsdkrocketmq/v2/model/batch_delete_consumer_group_req.py +115 -0
- huaweicloudsdkrocketmq/v2/model/batch_delete_consumer_group_resp.py +115 -0
- huaweicloudsdkrocketmq/v2/model/batch_delete_diagnosis_report_req.py +115 -0
- huaweicloudsdkrocketmq/v2/model/batch_delete_diagnosis_report_request.py +167 -0
- huaweicloudsdkrocketmq/v2/model/batch_delete_diagnosis_report_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/batch_delete_instance_req.py +172 -0
- huaweicloudsdkrocketmq/v2/model/batch_delete_instance_resp_results.py +144 -0
- huaweicloudsdkrocketmq/v2/model/batch_delete_instances_request.py +111 -0
- huaweicloudsdkrocketmq/v2/model/batch_delete_instances_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/batch_delete_topic_req.py +115 -0
- huaweicloudsdkrocketmq/v2/model/batch_delete_topic_resp.py +115 -0
- huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group.py +260 -0
- huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_req.py +115 -0
- huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_request.py +139 -0
- huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/brokers.py +144 -0
- huaweicloudsdkrocketmq/v2/model/bss_param.py +231 -0
- huaweicloudsdkrocketmq/v2/model/client_data.py +231 -0
- huaweicloudsdkrocketmq/v2/model/consumer_detail_resp.py +202 -0
- huaweicloudsdkrocketmq/v2/model/consumer_group.py +347 -0
- huaweicloudsdkrocketmq/v2/model/consumer_list.py +144 -0
- huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_req.py +318 -0
- huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_request.py +168 -0
- huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_response.py +145 -0
- huaweicloudsdkrocketmq/v2/model/create_diagnosis_task_request.py +167 -0
- huaweicloudsdkrocketmq/v2/model/create_diagnosis_task_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/create_group_resp.py +115 -0
- huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py +709 -0
- huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_request.py +139 -0
- huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/create_or_update_consumer_group.py +289 -0
- huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py +684 -0
- huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_request.py +111 -0
- huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_req.py +260 -0
- huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_request.py +223 -0
- huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_req.py +289 -0
- huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_request.py +168 -0
- huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_response.py +145 -0
- huaweicloudsdkrocketmq/v2/model/create_topic_req.py +260 -0
- huaweicloudsdkrocketmq/v2/model/create_topic_req_queues.py +144 -0
- huaweicloudsdkrocketmq/v2/model/create_topic_resp.py +115 -0
- huaweicloudsdkrocketmq/v2/model/create_user_request.py +139 -0
- huaweicloudsdkrocketmq/v2/model/create_user_response.py +319 -0
- huaweicloudsdkrocketmq/v2/model/deadletter_resend_req.py +144 -0
- huaweicloudsdkrocketmq/v2/model/deadletter_resend_resp_resend_results.py +173 -0
- huaweicloudsdkrocketmq/v2/model/delete_background_task_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/delete_background_task_response.py +85 -0
- huaweicloudsdkrocketmq/v2/model/delete_consumer_group_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/delete_consumer_group_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/delete_instance_request.py +114 -0
- huaweicloudsdkrocketmq/v2/model/delete_instance_response.py +85 -0
- huaweicloudsdkrocketmq/v2/model/delete_rocket_mq_migration_task_request.py +139 -0
- huaweicloudsdkrocketmq/v2/model/delete_rocket_mq_migration_task_response.py +85 -0
- huaweicloudsdkrocketmq/v2/model/delete_topic_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/delete_topic_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/delete_user_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/delete_user_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/diagnosis_rep.py +144 -0
- huaweicloudsdkrocketmq/v2/model/diagnosis_report_resp.py +289 -0
- huaweicloudsdkrocketmq/v2/model/enable_dns_request.py +114 -0
- huaweicloudsdkrocketmq/v2/model/enable_dns_response.py +85 -0
- huaweicloudsdkrocketmq/v2/model/export_dlq_message_req.py +173 -0
- huaweicloudsdkrocketmq/v2/model/export_dlq_message_request.py +139 -0
- huaweicloudsdkrocketmq/v2/model/export_dlq_message_response.py +112 -0
- huaweicloudsdkrocketmq/v2/model/instance_detail.py +1942 -0
- huaweicloudsdkrocketmq/v2/model/list_access_policy_resp_policies.py +231 -0
- huaweicloudsdkrocketmq/v2/model/list_available_zones_request.py +84 -0
- huaweicloudsdkrocketmq/v2/model/list_available_zones_resp_available_zones.py +347 -0
- huaweicloudsdkrocketmq/v2/model/list_available_zones_response.py +145 -0
- huaweicloudsdkrocketmq/v2/model/list_background_tasks_request.py +230 -0
- huaweicloudsdkrocketmq/v2/model/list_background_tasks_resp_tasks.py +318 -0
- huaweicloudsdkrocketmq/v2/model/list_background_tasks_response.py +145 -0
- huaweicloudsdkrocketmq/v2/model/list_brokers_request.py +172 -0
- huaweicloudsdkrocketmq/v2/model/list_brokers_resp_brokers.py +144 -0
- huaweicloudsdkrocketmq/v2/model/list_brokers_response.py +203 -0
- huaweicloudsdkrocketmq/v2/model/list_consume_group_access_policy_request.py +228 -0
- huaweicloudsdkrocketmq/v2/model/list_consume_group_access_policy_response.py +174 -0
- huaweicloudsdkrocketmq/v2/model/list_consumer_group_of_topic_request.py +200 -0
- huaweicloudsdkrocketmq/v2/model/list_consumer_group_of_topic_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/list_diagnosis_reports_request.py +200 -0
- huaweicloudsdkrocketmq/v2/model/list_diagnosis_reports_response.py +116 -0
- 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 +201 -0
- huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_response.py +261 -0
- huaweicloudsdkrocketmq/v2/model/list_instances_request.py +346 -0
- huaweicloudsdkrocketmq/v2/model/list_instances_response.py +145 -0
- huaweicloudsdkrocketmq/v2/model/list_message_trace_request.py +228 -0
- huaweicloudsdkrocketmq/v2/model/list_message_trace_resp_trace.py +666 -0
- huaweicloudsdkrocketmq/v2/model/list_message_trace_response.py +203 -0
- huaweicloudsdkrocketmq/v2/model/list_messages_request.py +373 -0
- huaweicloudsdkrocketmq/v2/model/list_messages_response.py +145 -0
- huaweicloudsdkrocketmq/v2/model/list_rocket_instance_topics_request.py +172 -0
- huaweicloudsdkrocketmq/v2/model/list_rocket_instance_topics_response.py +261 -0
- huaweicloudsdkrocketmq/v2/model/list_rocket_mq_migration_task_request.py +259 -0
- huaweicloudsdkrocketmq/v2/model/list_rocket_mq_migration_task_response.py +145 -0
- huaweicloudsdkrocketmq/v2/model/list_topic_access_policy_request.py +200 -0
- huaweicloudsdkrocketmq/v2/model/list_topic_access_policy_response.py +174 -0
- huaweicloudsdkrocketmq/v2/model/list_user_request.py +172 -0
- huaweicloudsdkrocketmq/v2/model/list_user_response.py +145 -0
- huaweicloudsdkrocketmq/v2/model/message.py +492 -0
- huaweicloudsdkrocketmq/v2/model/message_property_list.py +144 -0
- huaweicloudsdkrocketmq/v2/model/metadata_delete_req.py +114 -0
- huaweicloudsdkrocketmq/v2/model/metadata_task.py +231 -0
- huaweicloudsdkrocketmq/v2/model/migration_rabbit_binding_metadata.py +231 -0
- huaweicloudsdkrocketmq/v2/model/migration_rabbit_exchange_metadata.py +202 -0
- huaweicloudsdkrocketmq/v2/model/migration_rabbit_queue_metadata.py +173 -0
- huaweicloudsdkrocketmq/v2/model/migration_rabbit_vhost_metadata.py +115 -0
- huaweicloudsdkrocketmq/v2/model/migration_rocket_mq_subscription_group.py +318 -0
- huaweicloudsdkrocketmq/v2/model/migration_rocket_mq_topic_config.py +289 -0
- huaweicloudsdkrocketmq/v2/model/modify_config_req.py +115 -0
- huaweicloudsdkrocketmq/v2/model/modify_instance_ssl_config_request.py +167 -0
- huaweicloudsdkrocketmq/v2/model/modify_instance_ssl_config_response.py +145 -0
- huaweicloudsdkrocketmq/v2/model/node_context_entity.py +231 -0
- huaweicloudsdkrocketmq/v2/model/plain_ssl_switch_rep.py +115 -0
- huaweicloudsdkrocketmq/v2/model/product_entity.py +434 -0
- huaweicloudsdkrocketmq/v2/model/queue.py +231 -0
- huaweicloudsdkrocketmq/v2/model/quota_resource_entity.py +173 -0
- huaweicloudsdkrocketmq/v2/model/quotas_resp_quotas.py +115 -0
- huaweicloudsdkrocketmq/v2/model/resend_req.py +200 -0
- huaweicloudsdkrocketmq/v2/model/reset_consume_offset_req.py +142 -0
- huaweicloudsdkrocketmq/v2/model/reset_consume_offset_request.py +195 -0
- huaweicloudsdkrocketmq/v2/model/reset_consume_offset_resp_queues.py +173 -0
- huaweicloudsdkrocketmq/v2/model/reset_consume_offset_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py +230 -0
- huaweicloudsdkrocketmq/v2/model/resize_instance_request.py +167 -0
- huaweicloudsdkrocketmq/v2/model/resize_instance_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_config_req.py +144 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_config_resp.py +260 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_info_entity.py +430 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_ios_entity.py +202 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_properties_entity.py +318 -0
- huaweicloudsdkrocketmq/v2/model/rocket_mq_product_support_features_entity.py +144 -0
- huaweicloudsdkrocketmq/v2/model/send_dlq_message_request.py +167 -0
- huaweicloudsdkrocketmq/v2/model/send_dlq_message_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/send_message_properties.py +144 -0
- huaweicloudsdkrocketmq/v2/model/send_message_request.py +167 -0
- huaweicloudsdkrocketmq/v2/model/send_message_resp.py +289 -0
- huaweicloudsdkrocketmq/v2/model/send_message_response.py +290 -0
- huaweicloudsdkrocketmq/v2/model/show_consumer_connections_request.py +229 -0
- huaweicloudsdkrocketmq/v2/model/show_consumer_connections_response.py +290 -0
- huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_request.py +229 -0
- huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_response.py +261 -0
- huaweicloudsdkrocketmq/v2/model/show_diagnosis_report_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/show_diagnosis_report_response.py +435 -0
- huaweicloudsdkrocketmq/v2/model/show_diagnosis_stack_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/show_diagnosis_stack_response.py +145 -0
- huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_request.py +229 -0
- huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_response.py +261 -0
- huaweicloudsdkrocketmq/v2/model/show_group_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/show_group_response.py +348 -0
- huaweicloudsdkrocketmq/v2/model/show_instance_nodes_request.py +200 -0
- huaweicloudsdkrocketmq/v2/model/show_instance_nodes_response.py +203 -0
- huaweicloudsdkrocketmq/v2/model/show_instance_request.py +114 -0
- huaweicloudsdkrocketmq/v2/model/show_instance_response.py +1972 -0
- huaweicloudsdkrocketmq/v2/model/show_one_topic_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/show_one_topic_response.py +261 -0
- 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 +172 -0
- huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_response.py +203 -0
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_project_tags_request.py +144 -0
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_project_tags_response.py +203 -0
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_tags_request.py +172 -0
- huaweicloudsdkrocketmq/v2/model/show_rocketmq_tags_response.py +203 -0
- huaweicloudsdkrocketmq/v2/model/show_topic_status_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/show_topic_status_resp_brokers.py +144 -0
- huaweicloudsdkrocketmq/v2/model/show_topic_status_resp_queues.py +202 -0
- huaweicloudsdkrocketmq/v2/model/show_topic_status_response.py +174 -0
- huaweicloudsdkrocketmq/v2/model/show_user_request.py +142 -0
- huaweicloudsdkrocketmq/v2/model/show_user_response.py +319 -0
- huaweicloudsdkrocketmq/v2/model/subscription.py +173 -0
- huaweicloudsdkrocketmq/v2/model/tag_entity.py +144 -0
- huaweicloudsdkrocketmq/v2/model/tag_multy_value_entity.py +144 -0
- huaweicloudsdkrocketmq/v2/model/topic.py +260 -0
- huaweicloudsdkrocketmq/v2/model/topic_brokers.py +173 -0
- huaweicloudsdkrocketmq/v2/model/update_consumer_group.py +228 -0
- huaweicloudsdkrocketmq/v2/model/update_consumer_group_request.py +167 -0
- huaweicloudsdkrocketmq/v2/model/update_consumer_group_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/update_instance_req.py +260 -0
- huaweicloudsdkrocketmq/v2/model/update_instance_request.py +139 -0
- huaweicloudsdkrocketmq/v2/model/update_instance_response.py +85 -0
- huaweicloudsdkrocketmq/v2/model/update_rocket_mq_configs_request.py +139 -0
- huaweicloudsdkrocketmq/v2/model/update_rocket_mq_configs_response.py +85 -0
- huaweicloudsdkrocketmq/v2/model/update_topic_queue_entity.py +173 -0
- huaweicloudsdkrocketmq/v2/model/update_topic_req.py +231 -0
- huaweicloudsdkrocketmq/v2/model/update_topic_request.py +167 -0
- huaweicloudsdkrocketmq/v2/model/update_topic_response.py +116 -0
- huaweicloudsdkrocketmq/v2/model/update_user_request.py +167 -0
- huaweicloudsdkrocketmq/v2/model/update_user_response.py +319 -0
- huaweicloudsdkrocketmq/v2/model/user.py +318 -0
- huaweicloudsdkrocketmq/v2/model/user_group_perms.py +144 -0
- huaweicloudsdkrocketmq/v2/model/user_topic_perms.py +144 -0
- huaweicloudsdkrocketmq/v2/model/validate_consumed_message_request.py +167 -0
- huaweicloudsdkrocketmq/v2/model/validate_consumed_message_response.py +116 -0
- huaweicloudsdkrocketmq/v2/region/__init__.py +0 -0
- huaweicloudsdkrocketmq/v2/region/rocketmq_region.py +118 -0
- huaweicloudsdkrocketmq/v2/rocketmq_async_client.py +4232 -0
- huaweicloudsdkrocketmq/v2/rocketmq_client.py +4229 -0
- huaweicloudsdkrocketmq-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkrocketmq-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkrocketmq-3.1.160.dist-info/RECORD +212 -0
- huaweicloudsdkrocketmq-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkrocketmq-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,144 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class BatchCreateOrDeleteTagReq:
|
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
|
+
'action': 'str',
|
21
|
+
'tags': 'list[TagEntity]'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'action': 'action',
|
26
|
+
'tags': 'tags'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, action=None, tags=None):
|
30
|
+
r"""BatchCreateOrDeleteTagReq
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param action: 操作标识(仅支持小写): - create(创建) - delete(删除)
|
35
|
+
:type action: str
|
36
|
+
:param tags: 标签列表。
|
37
|
+
:type tags: list[:class:`huaweicloudsdkrocketmq.v2.TagEntity`]
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._action = None
|
43
|
+
self._tags = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
if action is not None:
|
47
|
+
self.action = action
|
48
|
+
if tags is not None:
|
49
|
+
self.tags = tags
|
50
|
+
|
51
|
+
@property
|
52
|
+
def action(self):
|
53
|
+
r"""Gets the action of this BatchCreateOrDeleteTagReq.
|
54
|
+
|
55
|
+
操作标识(仅支持小写): - create(创建) - delete(删除)
|
56
|
+
|
57
|
+
:return: The action of this BatchCreateOrDeleteTagReq.
|
58
|
+
:rtype: str
|
59
|
+
"""
|
60
|
+
return self._action
|
61
|
+
|
62
|
+
@action.setter
|
63
|
+
def action(self, action):
|
64
|
+
r"""Sets the action of this BatchCreateOrDeleteTagReq.
|
65
|
+
|
66
|
+
操作标识(仅支持小写): - create(创建) - delete(删除)
|
67
|
+
|
68
|
+
:param action: The action of this BatchCreateOrDeleteTagReq.
|
69
|
+
:type action: str
|
70
|
+
"""
|
71
|
+
self._action = action
|
72
|
+
|
73
|
+
@property
|
74
|
+
def tags(self):
|
75
|
+
r"""Gets the tags of this BatchCreateOrDeleteTagReq.
|
76
|
+
|
77
|
+
标签列表。
|
78
|
+
|
79
|
+
:return: The tags of this BatchCreateOrDeleteTagReq.
|
80
|
+
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.TagEntity`]
|
81
|
+
"""
|
82
|
+
return self._tags
|
83
|
+
|
84
|
+
@tags.setter
|
85
|
+
def tags(self, tags):
|
86
|
+
r"""Sets the tags of this BatchCreateOrDeleteTagReq.
|
87
|
+
|
88
|
+
标签列表。
|
89
|
+
|
90
|
+
:param tags: The tags of this BatchCreateOrDeleteTagReq.
|
91
|
+
:type tags: list[:class:`huaweicloudsdkrocketmq.v2.TagEntity`]
|
92
|
+
"""
|
93
|
+
self._tags = tags
|
94
|
+
|
95
|
+
def to_dict(self):
|
96
|
+
"""Returns the model properties as a dict"""
|
97
|
+
result = {}
|
98
|
+
|
99
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
100
|
+
value = getattr(self, attr)
|
101
|
+
if isinstance(value, list):
|
102
|
+
result[attr] = list(map(
|
103
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
104
|
+
value
|
105
|
+
))
|
106
|
+
elif hasattr(value, "to_dict"):
|
107
|
+
result[attr] = value.to_dict()
|
108
|
+
elif isinstance(value, dict):
|
109
|
+
result[attr] = dict(map(
|
110
|
+
lambda item: (item[0], item[1].to_dict())
|
111
|
+
if hasattr(item[1], "to_dict") else item,
|
112
|
+
value.items()
|
113
|
+
))
|
114
|
+
else:
|
115
|
+
if attr in self.sensitive_list:
|
116
|
+
result[attr] = "****"
|
117
|
+
else:
|
118
|
+
result[attr] = value
|
119
|
+
|
120
|
+
return result
|
121
|
+
|
122
|
+
def to_str(self):
|
123
|
+
"""Returns the string representation of the model"""
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, BatchCreateOrDeleteTagReq):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.__dict__ == other.__dict__
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
return not self == other
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class BatchDeleteConsumerGroupReq:
|
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
|
+
'groups': 'list[str]'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'groups': 'groups'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, groups=None):
|
28
|
+
r"""BatchDeleteConsumerGroupReq
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param groups: 待删除的消费组列表。
|
33
|
+
:type groups: list[str]
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._groups = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if groups is not None:
|
42
|
+
self.groups = groups
|
43
|
+
|
44
|
+
@property
|
45
|
+
def groups(self):
|
46
|
+
r"""Gets the groups of this BatchDeleteConsumerGroupReq.
|
47
|
+
|
48
|
+
待删除的消费组列表。
|
49
|
+
|
50
|
+
:return: The groups of this BatchDeleteConsumerGroupReq.
|
51
|
+
:rtype: list[str]
|
52
|
+
"""
|
53
|
+
return self._groups
|
54
|
+
|
55
|
+
@groups.setter
|
56
|
+
def groups(self, groups):
|
57
|
+
r"""Sets the groups of this BatchDeleteConsumerGroupReq.
|
58
|
+
|
59
|
+
待删除的消费组列表。
|
60
|
+
|
61
|
+
:param groups: The groups of this BatchDeleteConsumerGroupReq.
|
62
|
+
:type groups: list[str]
|
63
|
+
"""
|
64
|
+
self._groups = groups
|
65
|
+
|
66
|
+
def to_dict(self):
|
67
|
+
"""Returns the model properties as a dict"""
|
68
|
+
result = {}
|
69
|
+
|
70
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
71
|
+
value = getattr(self, attr)
|
72
|
+
if isinstance(value, list):
|
73
|
+
result[attr] = list(map(
|
74
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
75
|
+
value
|
76
|
+
))
|
77
|
+
elif hasattr(value, "to_dict"):
|
78
|
+
result[attr] = value.to_dict()
|
79
|
+
elif isinstance(value, dict):
|
80
|
+
result[attr] = dict(map(
|
81
|
+
lambda item: (item[0], item[1].to_dict())
|
82
|
+
if hasattr(item[1], "to_dict") else item,
|
83
|
+
value.items()
|
84
|
+
))
|
85
|
+
else:
|
86
|
+
if attr in self.sensitive_list:
|
87
|
+
result[attr] = "****"
|
88
|
+
else:
|
89
|
+
result[attr] = value
|
90
|
+
|
91
|
+
return result
|
92
|
+
|
93
|
+
def to_str(self):
|
94
|
+
"""Returns the string representation of the model"""
|
95
|
+
import simplejson as json
|
96
|
+
if six.PY2:
|
97
|
+
import sys
|
98
|
+
reload(sys)
|
99
|
+
sys.setdefaultencoding("utf-8")
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
101
|
+
|
102
|
+
def __repr__(self):
|
103
|
+
"""For `print`"""
|
104
|
+
return self.to_str()
|
105
|
+
|
106
|
+
def __eq__(self, other):
|
107
|
+
"""Returns true if both objects are equal"""
|
108
|
+
if not isinstance(other, BatchDeleteConsumerGroupReq):
|
109
|
+
return False
|
110
|
+
|
111
|
+
return self.__dict__ == other.__dict__
|
112
|
+
|
113
|
+
def __ne__(self, other):
|
114
|
+
"""Returns true if both objects are not equal"""
|
115
|
+
return not self == other
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class BatchDeleteConsumerGroupResp:
|
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
|
+
'job_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'job_id': 'job_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, job_id=None):
|
28
|
+
r"""BatchDeleteConsumerGroupResp
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param job_id: 删除消费组的任务ID
|
33
|
+
:type job_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._job_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if job_id is not None:
|
42
|
+
self.job_id = job_id
|
43
|
+
|
44
|
+
@property
|
45
|
+
def job_id(self):
|
46
|
+
r"""Gets the job_id of this BatchDeleteConsumerGroupResp.
|
47
|
+
|
48
|
+
删除消费组的任务ID
|
49
|
+
|
50
|
+
:return: The job_id of this BatchDeleteConsumerGroupResp.
|
51
|
+
:rtype: str
|
52
|
+
"""
|
53
|
+
return self._job_id
|
54
|
+
|
55
|
+
@job_id.setter
|
56
|
+
def job_id(self, job_id):
|
57
|
+
r"""Sets the job_id of this BatchDeleteConsumerGroupResp.
|
58
|
+
|
59
|
+
删除消费组的任务ID
|
60
|
+
|
61
|
+
:param job_id: The job_id of this BatchDeleteConsumerGroupResp.
|
62
|
+
:type job_id: str
|
63
|
+
"""
|
64
|
+
self._job_id = job_id
|
65
|
+
|
66
|
+
def to_dict(self):
|
67
|
+
"""Returns the model properties as a dict"""
|
68
|
+
result = {}
|
69
|
+
|
70
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
71
|
+
value = getattr(self, attr)
|
72
|
+
if isinstance(value, list):
|
73
|
+
result[attr] = list(map(
|
74
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
75
|
+
value
|
76
|
+
))
|
77
|
+
elif hasattr(value, "to_dict"):
|
78
|
+
result[attr] = value.to_dict()
|
79
|
+
elif isinstance(value, dict):
|
80
|
+
result[attr] = dict(map(
|
81
|
+
lambda item: (item[0], item[1].to_dict())
|
82
|
+
if hasattr(item[1], "to_dict") else item,
|
83
|
+
value.items()
|
84
|
+
))
|
85
|
+
else:
|
86
|
+
if attr in self.sensitive_list:
|
87
|
+
result[attr] = "****"
|
88
|
+
else:
|
89
|
+
result[attr] = value
|
90
|
+
|
91
|
+
return result
|
92
|
+
|
93
|
+
def to_str(self):
|
94
|
+
"""Returns the string representation of the model"""
|
95
|
+
import simplejson as json
|
96
|
+
if six.PY2:
|
97
|
+
import sys
|
98
|
+
reload(sys)
|
99
|
+
sys.setdefaultencoding("utf-8")
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
101
|
+
|
102
|
+
def __repr__(self):
|
103
|
+
"""For `print`"""
|
104
|
+
return self.to_str()
|
105
|
+
|
106
|
+
def __eq__(self, other):
|
107
|
+
"""Returns true if both objects are equal"""
|
108
|
+
if not isinstance(other, BatchDeleteConsumerGroupResp):
|
109
|
+
return False
|
110
|
+
|
111
|
+
return self.__dict__ == other.__dict__
|
112
|
+
|
113
|
+
def __ne__(self, other):
|
114
|
+
"""Returns true if both objects are not equal"""
|
115
|
+
return not self == other
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class BatchDeleteDiagnosisReportReq:
|
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
|
+
'report_id_list': 'list[str]'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'report_id_list': 'report_id_list'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, report_id_list=None):
|
28
|
+
r"""BatchDeleteDiagnosisReportReq
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param report_id_list: **参数解释**: 诊断报告ID列表。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
33
|
+
:type report_id_list: list[str]
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._report_id_list = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if report_id_list is not None:
|
42
|
+
self.report_id_list = report_id_list
|
43
|
+
|
44
|
+
@property
|
45
|
+
def report_id_list(self):
|
46
|
+
r"""Gets the report_id_list of this BatchDeleteDiagnosisReportReq.
|
47
|
+
|
48
|
+
**参数解释**: 诊断报告ID列表。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
49
|
+
|
50
|
+
:return: The report_id_list of this BatchDeleteDiagnosisReportReq.
|
51
|
+
:rtype: list[str]
|
52
|
+
"""
|
53
|
+
return self._report_id_list
|
54
|
+
|
55
|
+
@report_id_list.setter
|
56
|
+
def report_id_list(self, report_id_list):
|
57
|
+
r"""Sets the report_id_list of this BatchDeleteDiagnosisReportReq.
|
58
|
+
|
59
|
+
**参数解释**: 诊断报告ID列表。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
60
|
+
|
61
|
+
:param report_id_list: The report_id_list of this BatchDeleteDiagnosisReportReq.
|
62
|
+
:type report_id_list: list[str]
|
63
|
+
"""
|
64
|
+
self._report_id_list = report_id_list
|
65
|
+
|
66
|
+
def to_dict(self):
|
67
|
+
"""Returns the model properties as a dict"""
|
68
|
+
result = {}
|
69
|
+
|
70
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
71
|
+
value = getattr(self, attr)
|
72
|
+
if isinstance(value, list):
|
73
|
+
result[attr] = list(map(
|
74
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
75
|
+
value
|
76
|
+
))
|
77
|
+
elif hasattr(value, "to_dict"):
|
78
|
+
result[attr] = value.to_dict()
|
79
|
+
elif isinstance(value, dict):
|
80
|
+
result[attr] = dict(map(
|
81
|
+
lambda item: (item[0], item[1].to_dict())
|
82
|
+
if hasattr(item[1], "to_dict") else item,
|
83
|
+
value.items()
|
84
|
+
))
|
85
|
+
else:
|
86
|
+
if attr in self.sensitive_list:
|
87
|
+
result[attr] = "****"
|
88
|
+
else:
|
89
|
+
result[attr] = value
|
90
|
+
|
91
|
+
return result
|
92
|
+
|
93
|
+
def to_str(self):
|
94
|
+
"""Returns the string representation of the model"""
|
95
|
+
import simplejson as json
|
96
|
+
if six.PY2:
|
97
|
+
import sys
|
98
|
+
reload(sys)
|
99
|
+
sys.setdefaultencoding("utf-8")
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
101
|
+
|
102
|
+
def __repr__(self):
|
103
|
+
"""For `print`"""
|
104
|
+
return self.to_str()
|
105
|
+
|
106
|
+
def __eq__(self, other):
|
107
|
+
"""Returns true if both objects are equal"""
|
108
|
+
if not isinstance(other, BatchDeleteDiagnosisReportReq):
|
109
|
+
return False
|
110
|
+
|
111
|
+
return self.__dict__ == other.__dict__
|
112
|
+
|
113
|
+
def __ne__(self, other):
|
114
|
+
"""Returns true if both objects are not equal"""
|
115
|
+
return not self == other
|
@@ -0,0 +1,167 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class BatchDeleteDiagnosisReportRequest:
|
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
|
+
'instance_id': 'str',
|
22
|
+
'body': 'BatchDeleteDiagnosisReportReq'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'engine': 'engine',
|
27
|
+
'instance_id': 'instance_id',
|
28
|
+
'body': 'body'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, engine=None, instance_id=None, body=None):
|
32
|
+
r"""BatchDeleteDiagnosisReportRequest
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param engine: **参数解释**: 引擎。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
37
|
+
:type engine: str
|
38
|
+
:param instance_id: **参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
39
|
+
:type instance_id: str
|
40
|
+
:param body: Body of the BatchDeleteDiagnosisReportRequest
|
41
|
+
:type body: :class:`huaweicloudsdkrocketmq.v2.BatchDeleteDiagnosisReportReq`
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._engine = None
|
47
|
+
self._instance_id = None
|
48
|
+
self._body = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.engine = engine
|
52
|
+
self.instance_id = instance_id
|
53
|
+
if body is not None:
|
54
|
+
self.body = body
|
55
|
+
|
56
|
+
@property
|
57
|
+
def engine(self):
|
58
|
+
r"""Gets the engine of this BatchDeleteDiagnosisReportRequest.
|
59
|
+
|
60
|
+
**参数解释**: 引擎。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
61
|
+
|
62
|
+
:return: The engine of this BatchDeleteDiagnosisReportRequest.
|
63
|
+
:rtype: str
|
64
|
+
"""
|
65
|
+
return self._engine
|
66
|
+
|
67
|
+
@engine.setter
|
68
|
+
def engine(self, engine):
|
69
|
+
r"""Sets the engine of this BatchDeleteDiagnosisReportRequest.
|
70
|
+
|
71
|
+
**参数解释**: 引擎。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
72
|
+
|
73
|
+
:param engine: The engine of this BatchDeleteDiagnosisReportRequest.
|
74
|
+
:type engine: str
|
75
|
+
"""
|
76
|
+
self._engine = engine
|
77
|
+
|
78
|
+
@property
|
79
|
+
def instance_id(self):
|
80
|
+
r"""Gets the instance_id of this BatchDeleteDiagnosisReportRequest.
|
81
|
+
|
82
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
83
|
+
|
84
|
+
:return: The instance_id of this BatchDeleteDiagnosisReportRequest.
|
85
|
+
:rtype: str
|
86
|
+
"""
|
87
|
+
return self._instance_id
|
88
|
+
|
89
|
+
@instance_id.setter
|
90
|
+
def instance_id(self, instance_id):
|
91
|
+
r"""Sets the instance_id of this BatchDeleteDiagnosisReportRequest.
|
92
|
+
|
93
|
+
**参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
94
|
+
|
95
|
+
:param instance_id: The instance_id of this BatchDeleteDiagnosisReportRequest.
|
96
|
+
:type instance_id: str
|
97
|
+
"""
|
98
|
+
self._instance_id = instance_id
|
99
|
+
|
100
|
+
@property
|
101
|
+
def body(self):
|
102
|
+
r"""Gets the body of this BatchDeleteDiagnosisReportRequest.
|
103
|
+
|
104
|
+
:return: The body of this BatchDeleteDiagnosisReportRequest.
|
105
|
+
:rtype: :class:`huaweicloudsdkrocketmq.v2.BatchDeleteDiagnosisReportReq`
|
106
|
+
"""
|
107
|
+
return self._body
|
108
|
+
|
109
|
+
@body.setter
|
110
|
+
def body(self, body):
|
111
|
+
r"""Sets the body of this BatchDeleteDiagnosisReportRequest.
|
112
|
+
|
113
|
+
:param body: The body of this BatchDeleteDiagnosisReportRequest.
|
114
|
+
:type body: :class:`huaweicloudsdkrocketmq.v2.BatchDeleteDiagnosisReportReq`
|
115
|
+
"""
|
116
|
+
self._body = body
|
117
|
+
|
118
|
+
def to_dict(self):
|
119
|
+
"""Returns the model properties as a dict"""
|
120
|
+
result = {}
|
121
|
+
|
122
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
123
|
+
value = getattr(self, attr)
|
124
|
+
if isinstance(value, list):
|
125
|
+
result[attr] = list(map(
|
126
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
127
|
+
value
|
128
|
+
))
|
129
|
+
elif hasattr(value, "to_dict"):
|
130
|
+
result[attr] = value.to_dict()
|
131
|
+
elif isinstance(value, dict):
|
132
|
+
result[attr] = dict(map(
|
133
|
+
lambda item: (item[0], item[1].to_dict())
|
134
|
+
if hasattr(item[1], "to_dict") else item,
|
135
|
+
value.items()
|
136
|
+
))
|
137
|
+
else:
|
138
|
+
if attr in self.sensitive_list:
|
139
|
+
result[attr] = "****"
|
140
|
+
else:
|
141
|
+
result[attr] = value
|
142
|
+
|
143
|
+
return result
|
144
|
+
|
145
|
+
def to_str(self):
|
146
|
+
"""Returns the string representation of the model"""
|
147
|
+
import simplejson as json
|
148
|
+
if six.PY2:
|
149
|
+
import sys
|
150
|
+
reload(sys)
|
151
|
+
sys.setdefaultencoding("utf-8")
|
152
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
153
|
+
|
154
|
+
def __repr__(self):
|
155
|
+
"""For `print`"""
|
156
|
+
return self.to_str()
|
157
|
+
|
158
|
+
def __eq__(self, other):
|
159
|
+
"""Returns true if both objects are equal"""
|
160
|
+
if not isinstance(other, BatchDeleteDiagnosisReportRequest):
|
161
|
+
return False
|
162
|
+
|
163
|
+
return self.__dict__ == other.__dict__
|
164
|
+
|
165
|
+
def __ne__(self, other):
|
166
|
+
"""Returns true if both objects are not equal"""
|
167
|
+
return not self == other
|