huaweicloudsdkrocketmq 3.1.145__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.
Files changed (70) hide show
  1. huaweicloudsdkrocketmq/v2/__init__.py +13 -1
  2. huaweicloudsdkrocketmq/v2/model/__init__.py +13 -1
  3. huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group.py +260 -0
  4. huaweicloudsdkrocketmq/v2/model/batch_update_consumer_group_req.py +4 -4
  5. huaweicloudsdkrocketmq/v2/model/brokers.py +6 -6
  6. huaweicloudsdkrocketmq/v2/model/consumer_detail_resp.py +12 -12
  7. huaweicloudsdkrocketmq/v2/model/consumer_group.py +27 -27
  8. huaweicloudsdkrocketmq/v2/model/consumer_list.py +6 -6
  9. huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py +6 -6
  10. huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py +9 -9
  11. huaweicloudsdkrocketmq/v2/model/create_user_request.py +3 -3
  12. huaweicloudsdkrocketmq/v2/model/create_user_response.py +24 -24
  13. huaweicloudsdkrocketmq/v2/model/enable_dns_request.py +114 -0
  14. huaweicloudsdkrocketmq/v2/model/enable_dns_response.py +85 -0
  15. huaweicloudsdkrocketmq/v2/model/instance_detail.py +1942 -0
  16. huaweicloudsdkrocketmq/v2/model/list_available_zones_resp_available_zones.py +27 -27
  17. huaweicloudsdkrocketmq/v2/model/list_available_zones_response.py +6 -6
  18. huaweicloudsdkrocketmq/v2/model/list_brokers_request.py +61 -3
  19. huaweicloudsdkrocketmq/v2/model/list_brokers_response.py +88 -1
  20. huaweicloudsdkrocketmq/v2/model/list_engine_products_request.py +228 -0
  21. huaweicloudsdkrocketmq/v2/model/list_engine_products_response.py +261 -0
  22. huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_request.py +12 -12
  23. huaweicloudsdkrocketmq/v2/model/list_instance_consumer_groups_response.py +18 -18
  24. huaweicloudsdkrocketmq/v2/model/list_instances_request.py +27 -27
  25. huaweicloudsdkrocketmq/v2/model/list_instances_response.py +10 -10
  26. huaweicloudsdkrocketmq/v2/model/list_message_trace_request.py +61 -3
  27. huaweicloudsdkrocketmq/v2/model/list_message_trace_response.py +88 -1
  28. huaweicloudsdkrocketmq/v2/model/list_rocket_instance_topics_request.py +9 -9
  29. huaweicloudsdkrocketmq/v2/model/list_rocket_instance_topics_response.py +18 -18
  30. huaweicloudsdkrocketmq/v2/model/product_entity.py +434 -0
  31. huaweicloudsdkrocketmq/v2/model/queue.py +15 -15
  32. huaweicloudsdkrocketmq/v2/model/quota_resource_entity.py +173 -0
  33. huaweicloudsdkrocketmq/v2/model/quotas_resp_quotas.py +115 -0
  34. huaweicloudsdkrocketmq/v2/model/resend_req.py +2 -4
  35. huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py +6 -6
  36. huaweicloudsdkrocketmq/v2/model/restart_instance_request.py +142 -0
  37. huaweicloudsdkrocketmq/v2/model/restart_instance_response.py +174 -0
  38. huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_request.py +15 -15
  39. huaweicloudsdkrocketmq/v2/model/show_consumer_list_or_details_response.py +18 -18
  40. huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_request.py +61 -3
  41. huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_response.py +88 -1
  42. huaweicloudsdkrocketmq/v2/model/show_instance_request.py +3 -3
  43. huaweicloudsdkrocketmq/v2/model/show_instance_response.py +458 -168
  44. huaweicloudsdkrocketmq/v2/model/show_one_topic_response.py +15 -15
  45. huaweicloudsdkrocketmq/v2/model/show_quotas_request.py +84 -0
  46. huaweicloudsdkrocketmq/v2/model/show_quotas_response.py +112 -0
  47. huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_request.py +61 -3
  48. huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_response.py +88 -1
  49. huaweicloudsdkrocketmq/v2/model/show_rocketmq_project_tags_request.py +61 -1
  50. huaweicloudsdkrocketmq/v2/model/show_rocketmq_project_tags_response.py +91 -4
  51. huaweicloudsdkrocketmq/v2/model/show_rocketmq_tags_request.py +61 -3
  52. huaweicloudsdkrocketmq/v2/model/show_rocketmq_tags_response.py +88 -1
  53. huaweicloudsdkrocketmq/v2/model/show_user_response.py +24 -24
  54. huaweicloudsdkrocketmq/v2/model/tag_multy_value_entity.py +6 -6
  55. huaweicloudsdkrocketmq/v2/model/topic.py +15 -15
  56. huaweicloudsdkrocketmq/v2/model/topic_brokers.py +9 -9
  57. huaweicloudsdkrocketmq/v2/model/update_user_request.py +6 -6
  58. huaweicloudsdkrocketmq/v2/model/update_user_response.py +24 -24
  59. huaweicloudsdkrocketmq/v2/model/user.py +24 -24
  60. huaweicloudsdkrocketmq/v2/model/user_group_perms.py +6 -6
  61. huaweicloudsdkrocketmq/v2/model/user_topic_perms.py +6 -6
  62. huaweicloudsdkrocketmq/v2/region/rocketmq_region.py +9 -0
  63. huaweicloudsdkrocketmq/v2/rocketmq_async_client.py +292 -0
  64. huaweicloudsdkrocketmq/v2/rocketmq_client.py +292 -0
  65. {huaweicloudsdkrocketmq-3.1.145.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/METADATA +2 -2
  66. {huaweicloudsdkrocketmq-3.1.145.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/RECORD +69 -57
  67. huaweicloudsdkrocketmq/v2/model/show_instance_resp.py +0 -1681
  68. {huaweicloudsdkrocketmq-3.1.145.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/LICENSE +0 -0
  69. {huaweicloudsdkrocketmq-3.1.145.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/WHEEL +0 -0
  70. {huaweicloudsdkrocketmq-3.1.145.dist-info → huaweicloudsdkrocketmq-3.1.147.dist-info}/top_level.txt +0 -0
@@ -40,17 +40,17 @@ class ShowOneTopicResponse(SdkResponse):
40
40
 
41
41
  The model defined in huaweicloud sdk
42
42
 
43
- :param name: Topic名称。
43
+ :param name: **参数解释**: Topic名称。 **取值范围**: 不涉及。
44
44
  :type name: str
45
- :param total_read_queue_num: 总读队列个数。
45
+ :param total_read_queue_num: **参数解释**: 总读队列个数。 **取值范围**: 不涉及。
46
46
  :type total_read_queue_num: float
47
- :param total_write_queue_num: 总写队列个数。
47
+ :param total_write_queue_num: **参数解释**: 总写队列个数。 **取值范围**: 不涉及。
48
48
  :type total_write_queue_num: float
49
- :param permission: 权限。
49
+ :param permission: **参数解释**: 权限。 **取值范围**: - sub:拥有订阅权限。 - pub:拥有发布权限。 - all:拥有发布、订阅权限。
50
50
  :type permission: str
51
51
  :param brokers: 关联的代理。
52
52
  :type brokers: list[:class:`huaweicloudsdkrocketmq.v2.TopicBrokers`]
53
- :param message_type: 消息类型(RocketMQ实例5.x版本才包含此参数)。
53
+ :param message_type: **参数解释**: 消息类型(RocketMQ实例5.x版本才包含此参数)。 **取值范围**: - NORMAL:普通消息。 - FIFO:顺序消息。 - DELAY:定时消息。 - TRANSACTION:事务消息。
54
54
  :type message_type: str
55
55
  """
56
56
 
@@ -81,7 +81,7 @@ class ShowOneTopicResponse(SdkResponse):
81
81
  def name(self):
82
82
  r"""Gets the name of this ShowOneTopicResponse.
83
83
 
84
- Topic名称。
84
+ **参数解释**: Topic名称。 **取值范围**: 不涉及。
85
85
 
86
86
  :return: The name of this ShowOneTopicResponse.
87
87
  :rtype: str
@@ -92,7 +92,7 @@ class ShowOneTopicResponse(SdkResponse):
92
92
  def name(self, name):
93
93
  r"""Sets the name of this ShowOneTopicResponse.
94
94
 
95
- Topic名称。
95
+ **参数解释**: Topic名称。 **取值范围**: 不涉及。
96
96
 
97
97
  :param name: The name of this ShowOneTopicResponse.
98
98
  :type name: str
@@ -103,7 +103,7 @@ class ShowOneTopicResponse(SdkResponse):
103
103
  def total_read_queue_num(self):
104
104
  r"""Gets the total_read_queue_num of this ShowOneTopicResponse.
105
105
 
106
- 总读队列个数。
106
+ **参数解释**: 总读队列个数。 **取值范围**: 不涉及。
107
107
 
108
108
  :return: The total_read_queue_num of this ShowOneTopicResponse.
109
109
  :rtype: float
@@ -114,7 +114,7 @@ class ShowOneTopicResponse(SdkResponse):
114
114
  def total_read_queue_num(self, total_read_queue_num):
115
115
  r"""Sets the total_read_queue_num of this ShowOneTopicResponse.
116
116
 
117
- 总读队列个数。
117
+ **参数解释**: 总读队列个数。 **取值范围**: 不涉及。
118
118
 
119
119
  :param total_read_queue_num: The total_read_queue_num of this ShowOneTopicResponse.
120
120
  :type total_read_queue_num: float
@@ -125,7 +125,7 @@ class ShowOneTopicResponse(SdkResponse):
125
125
  def total_write_queue_num(self):
126
126
  r"""Gets the total_write_queue_num of this ShowOneTopicResponse.
127
127
 
128
- 总写队列个数。
128
+ **参数解释**: 总写队列个数。 **取值范围**: 不涉及。
129
129
 
130
130
  :return: The total_write_queue_num of this ShowOneTopicResponse.
131
131
  :rtype: float
@@ -136,7 +136,7 @@ class ShowOneTopicResponse(SdkResponse):
136
136
  def total_write_queue_num(self, total_write_queue_num):
137
137
  r"""Sets the total_write_queue_num of this ShowOneTopicResponse.
138
138
 
139
- 总写队列个数。
139
+ **参数解释**: 总写队列个数。 **取值范围**: 不涉及。
140
140
 
141
141
  :param total_write_queue_num: The total_write_queue_num of this ShowOneTopicResponse.
142
142
  :type total_write_queue_num: float
@@ -147,7 +147,7 @@ class ShowOneTopicResponse(SdkResponse):
147
147
  def permission(self):
148
148
  r"""Gets the permission of this ShowOneTopicResponse.
149
149
 
150
- 权限。
150
+ **参数解释**: 权限。 **取值范围**: - sub:拥有订阅权限。 - pub:拥有发布权限。 - all:拥有发布、订阅权限。
151
151
 
152
152
  :return: The permission of this ShowOneTopicResponse.
153
153
  :rtype: str
@@ -158,7 +158,7 @@ class ShowOneTopicResponse(SdkResponse):
158
158
  def permission(self, permission):
159
159
  r"""Sets the permission of this ShowOneTopicResponse.
160
160
 
161
- 权限。
161
+ **参数解释**: 权限。 **取值范围**: - sub:拥有订阅权限。 - pub:拥有发布权限。 - all:拥有发布、订阅权限。
162
162
 
163
163
  :param permission: The permission of this ShowOneTopicResponse.
164
164
  :type permission: str
@@ -191,7 +191,7 @@ class ShowOneTopicResponse(SdkResponse):
191
191
  def message_type(self):
192
192
  r"""Gets the message_type of this ShowOneTopicResponse.
193
193
 
194
- 消息类型(RocketMQ实例5.x版本才包含此参数)。
194
+ **参数解释**: 消息类型(RocketMQ实例5.x版本才包含此参数)。 **取值范围**: - NORMAL:普通消息。 - FIFO:顺序消息。 - DELAY:定时消息。 - TRANSACTION:事务消息。
195
195
 
196
196
  :return: The message_type of this ShowOneTopicResponse.
197
197
  :rtype: str
@@ -202,7 +202,7 @@ class ShowOneTopicResponse(SdkResponse):
202
202
  def message_type(self, message_type):
203
203
  r"""Sets the message_type of this ShowOneTopicResponse.
204
204
 
205
- 消息类型(RocketMQ实例5.x版本才包含此参数)。
205
+ **参数解释**: 消息类型(RocketMQ实例5.x版本才包含此参数)。 **取值范围**: - NORMAL:普通消息。 - FIFO:顺序消息。 - DELAY:定时消息。 - TRANSACTION:事务消息。
206
206
 
207
207
  :param message_type: The message_type of this ShowOneTopicResponse.
208
208
  :type message_type: str
@@ -0,0 +1,84 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowQuotasRequest:
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
+ }
21
+
22
+ attribute_map = {
23
+ }
24
+
25
+ def __init__(self):
26
+ r"""ShowQuotasRequest
27
+
28
+ The model defined in huaweicloud sdk
29
+
30
+ """
31
+
32
+
33
+ self.discriminator = None
34
+
35
+ def to_dict(self):
36
+ """Returns the model properties as a dict"""
37
+ result = {}
38
+
39
+ for attr, _ in six.iteritems(self.openapi_types):
40
+ value = getattr(self, attr)
41
+ if isinstance(value, list):
42
+ result[attr] = list(map(
43
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
44
+ value
45
+ ))
46
+ elif hasattr(value, "to_dict"):
47
+ result[attr] = value.to_dict()
48
+ elif isinstance(value, dict):
49
+ result[attr] = dict(map(
50
+ lambda item: (item[0], item[1].to_dict())
51
+ if hasattr(item[1], "to_dict") else item,
52
+ value.items()
53
+ ))
54
+ else:
55
+ if attr in self.sensitive_list:
56
+ result[attr] = "****"
57
+ else:
58
+ result[attr] = value
59
+
60
+ return result
61
+
62
+ def to_str(self):
63
+ """Returns the string representation of the model"""
64
+ import simplejson as json
65
+ if six.PY2:
66
+ import sys
67
+ reload(sys)
68
+ sys.setdefaultencoding("utf-8")
69
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
70
+
71
+ def __repr__(self):
72
+ """For `print`"""
73
+ return self.to_str()
74
+
75
+ def __eq__(self, other):
76
+ """Returns true if both objects are equal"""
77
+ if not isinstance(other, ShowQuotasRequest):
78
+ return False
79
+
80
+ return self.__dict__ == other.__dict__
81
+
82
+ def __ne__(self, other):
83
+ """Returns true if both objects are not equal"""
84
+ return not self == other
@@ -0,0 +1,112 @@
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 ShowQuotasResponse(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
+ 'quotas': 'QuotasRespQuotas'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'quotas': 'quotas'
26
+ }
27
+
28
+ def __init__(self, quotas=None):
29
+ r"""ShowQuotasResponse
30
+
31
+ The model defined in huaweicloud sdk
32
+
33
+ :param quotas:
34
+ :type quotas: :class:`huaweicloudsdkrocketmq.v2.QuotasRespQuotas`
35
+ """
36
+
37
+ super(ShowQuotasResponse, self).__init__()
38
+
39
+ self._quotas = None
40
+ self.discriminator = None
41
+
42
+ if quotas is not None:
43
+ self.quotas = quotas
44
+
45
+ @property
46
+ def quotas(self):
47
+ r"""Gets the quotas of this ShowQuotasResponse.
48
+
49
+ :return: The quotas of this ShowQuotasResponse.
50
+ :rtype: :class:`huaweicloudsdkrocketmq.v2.QuotasRespQuotas`
51
+ """
52
+ return self._quotas
53
+
54
+ @quotas.setter
55
+ def quotas(self, quotas):
56
+ r"""Sets the quotas of this ShowQuotasResponse.
57
+
58
+ :param quotas: The quotas of this ShowQuotasResponse.
59
+ :type quotas: :class:`huaweicloudsdkrocketmq.v2.QuotasRespQuotas`
60
+ """
61
+ self._quotas = quotas
62
+
63
+ def to_dict(self):
64
+ """Returns the model properties as a dict"""
65
+ result = {}
66
+
67
+ for attr, _ in six.iteritems(self.openapi_types):
68
+ value = getattr(self, attr)
69
+ if isinstance(value, list):
70
+ result[attr] = list(map(
71
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
72
+ value
73
+ ))
74
+ elif hasattr(value, "to_dict"):
75
+ result[attr] = value.to_dict()
76
+ elif isinstance(value, dict):
77
+ result[attr] = dict(map(
78
+ lambda item: (item[0], item[1].to_dict())
79
+ if hasattr(item[1], "to_dict") else item,
80
+ value.items()
81
+ ))
82
+ else:
83
+ if attr in self.sensitive_list:
84
+ result[attr] = "****"
85
+ else:
86
+ result[attr] = value
87
+
88
+ return result
89
+
90
+ def to_str(self):
91
+ """Returns the string representation of the model"""
92
+ import simplejson as json
93
+ if six.PY2:
94
+ import sys
95
+ reload(sys)
96
+ sys.setdefaultencoding("utf-8")
97
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
98
+
99
+ def __repr__(self):
100
+ """For `print`"""
101
+ return self.to_str()
102
+
103
+ def __eq__(self, other):
104
+ """Returns true if both objects are equal"""
105
+ if not isinstance(other, ShowQuotasResponse):
106
+ return False
107
+
108
+ return self.__dict__ == other.__dict__
109
+
110
+ def __ne__(self, other):
111
+ """Returns true if both objects are not equal"""
112
+ return not self == other
@@ -17,28 +17,42 @@ class ShowRocketMqConfigsRequest:
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"""ShowRocketMqConfigsRequest
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 ShowRocketMqConfigsRequest:
62
76
  """
63
77
  self._instance_id = instance_id
64
78
 
79
+ @property
80
+ def limit(self):
81
+ r"""Gets the limit of this ShowRocketMqConfigsRequest.
82
+
83
+ 查询数量。
84
+
85
+ :return: The limit of this ShowRocketMqConfigsRequest.
86
+ :rtype: int
87
+ """
88
+ return self._limit
89
+
90
+ @limit.setter
91
+ def limit(self, limit):
92
+ r"""Sets the limit of this ShowRocketMqConfigsRequest.
93
+
94
+ 查询数量。
95
+
96
+ :param limit: The limit of this ShowRocketMqConfigsRequest.
97
+ :type limit: int
98
+ """
99
+ self._limit = limit
100
+
101
+ @property
102
+ def offset(self):
103
+ r"""Gets the offset of this ShowRocketMqConfigsRequest.
104
+
105
+ 偏移量,表示从此偏移量开始查询,offset大于等于0。
106
+
107
+ :return: The offset of this ShowRocketMqConfigsRequest.
108
+ :rtype: int
109
+ """
110
+ return self._offset
111
+
112
+ @offset.setter
113
+ def offset(self, offset):
114
+ r"""Sets the offset of this ShowRocketMqConfigsRequest.
115
+
116
+ 偏移量,表示从此偏移量开始查询,offset大于等于0。
117
+
118
+ :param offset: The offset of this ShowRocketMqConfigsRequest.
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 ShowRocketMqConfigsResponse(SdkResponse):
18
18
  sensitive_list = []
19
19
 
20
20
  openapi_types = {
21
+ 'total': 'float',
22
+ 'next_offset': 'int',
23
+ 'previous_offset': 'int',
21
24
  'rocketmq_configs': 'list[RocketMQConfigResp]'
22
25
  }
23
26
 
24
27
  attribute_map = {
28
+ 'total': 'total',
29
+ 'next_offset': 'next_offset',
30
+ 'previous_offset': 'previous_offset',
25
31
  'rocketmq_configs': 'rocketmq_configs'
26
32
  }
27
33
 
28
- def __init__(self, rocketmq_configs=None):
34
+ def __init__(self, total=None, next_offset=None, previous_offset=None, rocketmq_configs=None):
29
35
  r"""ShowRocketMqConfigsResponse
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 rocketmq_configs: RocketMQ配置。
34
46
  :type rocketmq_configs: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQConfigResp`]
35
47
  """
36
48
 
37
49
  super(ShowRocketMqConfigsResponse, self).__init__()
38
50
 
51
+ self._total = None
52
+ self._next_offset = None
53
+ self._previous_offset = None
39
54
  self._rocketmq_configs = 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 rocketmq_configs is not None:
43
64
  self.rocketmq_configs = rocketmq_configs
44
65
 
66
+ @property
67
+ def total(self):
68
+ r"""Gets the total of this ShowRocketMqConfigsResponse.
69
+
70
+ 总数。
71
+
72
+ :return: The total of this ShowRocketMqConfigsResponse.
73
+ :rtype: float
74
+ """
75
+ return self._total
76
+
77
+ @total.setter
78
+ def total(self, total):
79
+ r"""Sets the total of this ShowRocketMqConfigsResponse.
80
+
81
+ 总数。
82
+
83
+ :param total: The total of this ShowRocketMqConfigsResponse.
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 ShowRocketMqConfigsResponse.
91
+
92
+ 下个分页的offset。
93
+
94
+ :return: The next_offset of this ShowRocketMqConfigsResponse.
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 ShowRocketMqConfigsResponse.
102
+
103
+ 下个分页的offset。
104
+
105
+ :param next_offset: The next_offset of this ShowRocketMqConfigsResponse.
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 ShowRocketMqConfigsResponse.
113
+
114
+ 上个分页的offset。
115
+
116
+ :return: The previous_offset of this ShowRocketMqConfigsResponse.
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 ShowRocketMqConfigsResponse.
124
+
125
+ 上个分页的offset。
126
+
127
+ :param previous_offset: The previous_offset of this ShowRocketMqConfigsResponse.
128
+ :type previous_offset: int
129
+ """
130
+ self._previous_offset = previous_offset
131
+
45
132
  @property
46
133
  def rocketmq_configs(self):
47
134
  r"""Gets the rocketmq_configs of this ShowRocketMqConfigsResponse.
@@ -17,21 +17,81 @@ class ShowRocketmqProjectTagsRequest:
17
17
  sensitive_list = []
18
18
 
19
19
  openapi_types = {
20
+ 'limit': 'int',
21
+ 'offset': 'int'
20
22
  }
21
23
 
22
24
  attribute_map = {
25
+ 'limit': 'limit',
26
+ 'offset': 'offset'
23
27
  }
24
28
 
25
- def __init__(self):
29
+ def __init__(self, limit=None, offset=None):
26
30
  r"""ShowRocketmqProjectTagsRequest
27
31
 
28
32
  The model defined in huaweicloud sdk
29
33
 
34
+ :param limit: **参数解释**: 查询数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10。
35
+ :type limit: int
36
+ :param offset: **参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 不涉及。
37
+ :type offset: int
30
38
  """
31
39
 
32
40
 
41
+
42
+ self._limit = None
43
+ self._offset = None
33
44
  self.discriminator = None
34
45
 
46
+ if limit is not None:
47
+ self.limit = limit
48
+ if offset is not None:
49
+ self.offset = offset
50
+
51
+ @property
52
+ def limit(self):
53
+ r"""Gets the limit of this ShowRocketmqProjectTagsRequest.
54
+
55
+ **参数解释**: 查询数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10。
56
+
57
+ :return: The limit of this ShowRocketmqProjectTagsRequest.
58
+ :rtype: int
59
+ """
60
+ return self._limit
61
+
62
+ @limit.setter
63
+ def limit(self, limit):
64
+ r"""Sets the limit of this ShowRocketmqProjectTagsRequest.
65
+
66
+ **参数解释**: 查询数量。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 10。
67
+
68
+ :param limit: The limit of this ShowRocketmqProjectTagsRequest.
69
+ :type limit: int
70
+ """
71
+ self._limit = limit
72
+
73
+ @property
74
+ def offset(self):
75
+ r"""Gets the offset of this ShowRocketmqProjectTagsRequest.
76
+
77
+ **参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 不涉及。
78
+
79
+ :return: The offset of this ShowRocketmqProjectTagsRequest.
80
+ :rtype: int
81
+ """
82
+ return self._offset
83
+
84
+ @offset.setter
85
+ def offset(self, offset):
86
+ r"""Sets the offset of this ShowRocketmqProjectTagsRequest.
87
+
88
+ **参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: 大于等于0。 **默认取值**: 不涉及。
89
+
90
+ :param offset: The offset of this ShowRocketmqProjectTagsRequest.
91
+ :type offset: int
92
+ """
93
+ self._offset = offset
94
+
35
95
  def to_dict(self):
36
96
  """Returns the model properties as a dict"""
37
97
  result = {}