Class: TencentCloud::Tdmq::V20200217::DescribeSubscriptionsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeSubscriptionsRequest
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeSubscriptions请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #EnvironmentId ⇒ Object
- #Filters ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #SubscriptionName ⇒ Object
- #TopicName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, topicname = nil, clusterid = nil, offset = nil, limit = nil, subscriptionname = nil, filters = nil) ⇒ DescribeSubscriptionsRequest
constructor
A new instance of DescribeSubscriptionsRequest.
Constructor Details
#initialize(environmentid = nil, topicname = nil, clusterid = nil, offset = nil, limit = nil, subscriptionname = nil, filters = nil) ⇒ DescribeSubscriptionsRequest
Returns a new instance of DescribeSubscriptionsRequest.
7692 7693 7694 7695 7696 7697 7698 7699 7700 |
# File 'lib/v20200217/models.rb', line 7692 def initialize(environmentid=nil, topicname=nil, clusterid=nil, offset=nil, limit=nil, subscriptionname=nil, filters=nil) @EnvironmentId = environmentid @TopicName = topicname @ClusterId = clusterid @Offset = offset @Limit = limit @SubscriptionName = subscriptionname @Filters = filters end |
Instance Attribute Details
#ClusterId ⇒ Object
7690 7691 7692 |
# File 'lib/v20200217/models.rb', line 7690 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
7690 7691 7692 |
# File 'lib/v20200217/models.rb', line 7690 def EnvironmentId @EnvironmentId end |
#Filters ⇒ Object
7690 7691 7692 |
# File 'lib/v20200217/models.rb', line 7690 def Filters @Filters end |
#Limit ⇒ Object
7690 7691 7692 |
# File 'lib/v20200217/models.rb', line 7690 def Limit @Limit end |
#Offset ⇒ Object
7690 7691 7692 |
# File 'lib/v20200217/models.rb', line 7690 def Offset @Offset end |
#SubscriptionName ⇒ Object
7690 7691 7692 |
# File 'lib/v20200217/models.rb', line 7690 def SubscriptionName @SubscriptionName end |
#TopicName ⇒ Object
7690 7691 7692 |
# File 'lib/v20200217/models.rb', line 7690 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 |
# File 'lib/v20200217/models.rb', line 7702 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @TopicName = params['TopicName'] @ClusterId = params['ClusterId'] @Offset = params['Offset'] @Limit = params['Limit'] @SubscriptionName = params['SubscriptionName'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filtersubscription_tmp = FilterSubscription.new filtersubscription_tmp.deserialize(i) @Filters << filtersubscription_tmp end end end |