Class: TencentCloud::Tdmq::V20200217::FilterSubscription
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::FilterSubscription
- Defined in:
- lib/v20200217/models.rb
Overview
过滤订阅列表
Instance Attribute Summary collapse
- #ConsumerHasBacklog ⇒ Object
- #ConsumerHasCount ⇒ Object
- #ConsumerHasExpired ⇒ Object
- #SubscriptionNames ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(consumerhascount = nil, consumerhasbacklog = nil, consumerhasexpired = nil, subscriptionnames = nil) ⇒ FilterSubscription
constructor
A new instance of FilterSubscription.
Constructor Details
#initialize(consumerhascount = nil, consumerhasbacklog = nil, consumerhasexpired = nil, subscriptionnames = nil) ⇒ FilterSubscription
Returns a new instance of FilterSubscription.
8195 8196 8197 8198 8199 8200 |
# File 'lib/v20200217/models.rb', line 8195 def initialize(consumerhascount=nil, consumerhasbacklog=nil, consumerhasexpired=nil, subscriptionnames=nil) @ConsumerHasCount = consumerhascount @ConsumerHasBacklog = consumerhasbacklog @ConsumerHasExpired = consumerhasexpired @SubscriptionNames = subscriptionnames end |
Instance Attribute Details
#ConsumerHasBacklog ⇒ Object
8193 8194 8195 |
# File 'lib/v20200217/models.rb', line 8193 def ConsumerHasBacklog @ConsumerHasBacklog end |
#ConsumerHasCount ⇒ Object
8193 8194 8195 |
# File 'lib/v20200217/models.rb', line 8193 def ConsumerHasCount @ConsumerHasCount end |
#ConsumerHasExpired ⇒ Object
8193 8194 8195 |
# File 'lib/v20200217/models.rb', line 8193 def ConsumerHasExpired @ConsumerHasExpired end |
#SubscriptionNames ⇒ Object
8193 8194 8195 |
# File 'lib/v20200217/models.rb', line 8193 def SubscriptionNames @SubscriptionNames end |
Instance Method Details
#deserialize(params) ⇒ Object
8202 8203 8204 8205 8206 8207 |
# File 'lib/v20200217/models.rb', line 8202 def deserialize(params) @ConsumerHasCount = params['ConsumerHasCount'] @ConsumerHasBacklog = params['ConsumerHasBacklog'] @ConsumerHasExpired = params['ConsumerHasExpired'] @SubscriptionNames = params['SubscriptionNames'] end |