Class: TencentCloud::Tdmq::V20200217::DescribeCmqTopicsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeCmqTopicsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeCmqTopics返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TopicList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topiclist = nil, totalcount = nil, requestid = nil) ⇒ DescribeCmqTopicsResponse
constructor
A new instance of DescribeCmqTopicsResponse.
Constructor Details
#initialize(topiclist = nil, totalcount = nil, requestid = nil) ⇒ DescribeCmqTopicsResponse
Returns a new instance of DescribeCmqTopicsResponse.
4075 4076 4077 4078 4079 |
# File 'lib/v20200217/models.rb', line 4075 def initialize(topiclist=nil, totalcount=nil, requestid=nil) @TopicList = topiclist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4073 4074 4075 |
# File 'lib/v20200217/models.rb', line 4073 def RequestId @RequestId end |
#TopicList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4073 4074 4075 |
# File 'lib/v20200217/models.rb', line 4073 def TopicList @TopicList end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4073 4074 4075 |
# File 'lib/v20200217/models.rb', line 4073 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 |
# File 'lib/v20200217/models.rb', line 4081 def deserialize(params) unless params['TopicList'].nil? @TopicList = [] params['TopicList'].each do |i| cmqtopic_tmp = CmqTopic.new cmqtopic_tmp.deserialize(i) @TopicList << cmqtopic_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |