Class: TencentCloud::Tdmq::V20200217::DescribeTopicMsgsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeTopicMsgsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeTopicMsgs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, topicmsglogsets = nil, requestid = nil) ⇒ DescribeTopicMsgsResponse
constructor
A new instance of DescribeTopicMsgsResponse.
Constructor Details
#initialize(totalcount = nil, topicmsglogsets = nil, requestid = nil) ⇒ DescribeTopicMsgsResponse
Returns a new instance of DescribeTopicMsgsResponse.
7806 7807 7808 7809 7810 |
# File 'lib/v20200217/models.rb', line 7806 def initialize(totalcount=nil, topicmsglogsets=nil, requestid=nil) @TotalCount = totalcount @TopicMsgLogSets = topicmsglogsets @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
7804 7805 7806 |
# File 'lib/v20200217/models.rb', line 7804 def RequestId @RequestId end |
#TopicMsgLogSets ⇒ Object
7804 7805 7806 |
# File 'lib/v20200217/models.rb', line 7804 def TopicMsgLogSets @TopicMsgLogSets end |
#TotalCount ⇒ Object
7804 7805 7806 |
# File 'lib/v20200217/models.rb', line 7804 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 |
# File 'lib/v20200217/models.rb', line 7812 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TopicMsgLogSets'].nil? @TopicMsgLogSets = [] params['TopicMsgLogSets'].each do |i| msglog_tmp = MsgLog.new msglog_tmp.deserialize(i) @TopicMsgLogSets << msglog_tmp end end @RequestId = params['RequestId'] end |