Class: TencentCloud::Tdmq::V20200217::DescribeCmqQueuesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeCmqQueuesResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeCmqQueues返回参数结构体
Instance Attribute Summary collapse
-
#QueueList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, queuelist = nil, requestid = nil) ⇒ DescribeCmqQueuesResponse
constructor
A new instance of DescribeCmqQueuesResponse.
Constructor Details
#initialize(totalcount = nil, queuelist = nil, requestid = nil) ⇒ DescribeCmqQueuesResponse
Returns a new instance of DescribeCmqQueuesResponse.
3892 3893 3894 3895 3896 |
# File 'lib/v20200217/models.rb', line 3892 def initialize(totalcount=nil, queuelist=nil, requestid=nil) @TotalCount = totalcount @QueueList = queuelist @RequestId = requestid end |
Instance Attribute Details
#QueueList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3890 3891 3892 |
# File 'lib/v20200217/models.rb', line 3890 def QueueList @QueueList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3890 3891 3892 |
# File 'lib/v20200217/models.rb', line 3890 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3890 3891 3892 |
# File 'lib/v20200217/models.rb', line 3890 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 |
# File 'lib/v20200217/models.rb', line 3898 def deserialize(params) @TotalCount = params['TotalCount'] unless params['QueueList'].nil? @QueueList = [] params['QueueList'].each do |i| cmqqueue_tmp = CmqQueue.new cmqqueue_tmp.deserialize(i) @QueueList << cmqqueue_tmp end end @RequestId = params['RequestId'] end |