Class: TencentCloud::Tdmq::V20200217::DescribeCmqSubscriptionDetailResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeCmqSubscriptionDetailResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeCmqSubscriptionDetail返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SubscriptionSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, subscriptionset = nil, requestid = nil) ⇒ DescribeCmqSubscriptionDetailResponse
constructor
A new instance of DescribeCmqSubscriptionDetailResponse.
Constructor Details
#initialize(totalcount = nil, subscriptionset = nil, requestid = nil) ⇒ DescribeCmqSubscriptionDetailResponse
Returns a new instance of DescribeCmqSubscriptionDetailResponse.
3961 3962 3963 3964 3965 |
# File 'lib/v20200217/models.rb', line 3961 def initialize(totalcount=nil, subscriptionset=nil, requestid=nil) @TotalCount = totalcount @SubscriptionSet = subscriptionset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3959 3960 3961 |
# File 'lib/v20200217/models.rb', line 3959 def RequestId @RequestId end |
#SubscriptionSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3959 3960 3961 |
# File 'lib/v20200217/models.rb', line 3959 def SubscriptionSet @SubscriptionSet end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3959 3960 3961 |
# File 'lib/v20200217/models.rb', line 3959 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 |
# File 'lib/v20200217/models.rb', line 3967 def deserialize(params) @TotalCount = params['TotalCount'] unless params['SubscriptionSet'].nil? @SubscriptionSet = [] params['SubscriptionSet'].each do |i| cmqsubscription_tmp = CmqSubscription.new cmqsubscription_tmp.deserialize(i) @SubscriptionSet << cmqsubscription_tmp end end @RequestId = params['RequestId'] end |