Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQTopicMsgsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQTopicMsgsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQTopicMsgs返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TaskRequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TopicMsgLogSets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, topicmsglogsets = nil, taskrequestid = nil, requestid = nil) ⇒ DescribeRocketMQTopicMsgsResponse
constructor
A new instance of DescribeRocketMQTopicMsgsResponse.
Constructor Details
#initialize(totalcount = nil, topicmsglogsets = nil, taskrequestid = nil, requestid = nil) ⇒ DescribeRocketMQTopicMsgsResponse
Returns a new instance of DescribeRocketMQTopicMsgsResponse.
7289 7290 7291 7292 7293 7294 |
# File 'lib/v20200217/models.rb', line 7289 def initialize(totalcount=nil, topicmsglogsets=nil, taskrequestid=nil, requestid=nil) @TotalCount = totalcount @TopicMsgLogSets = topicmsglogsets @TaskRequestId = taskrequestid @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7287 7288 7289 |
# File 'lib/v20200217/models.rb', line 7287 def RequestId @RequestId end |
#TaskRequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7287 7288 7289 |
# File 'lib/v20200217/models.rb', line 7287 def TaskRequestId @TaskRequestId end |
#TopicMsgLogSets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7287 7288 7289 |
# File 'lib/v20200217/models.rb', line 7287 def TopicMsgLogSets @TopicMsgLogSets end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7287 7288 7289 |
# File 'lib/v20200217/models.rb', line 7287 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 |
# File 'lib/v20200217/models.rb', line 7296 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TopicMsgLogSets'].nil? @TopicMsgLogSets = [] params['TopicMsgLogSets'].each do |i| rocketmqmsglog_tmp = RocketMQMsgLog.new rocketmqmsglog_tmp.deserialize(i) @TopicMsgLogSets << rocketmqmsglog_tmp end end @TaskRequestId = params['TaskRequestId'] @RequestId = params['RequestId'] end |