Class: TencentCloud::Tdmq::V20200217::DescribePublishersRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribePublishersRequest
- Defined in:
- lib/v20200217/models.rb
Overview
DescribePublishers请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #Filters ⇒ Object
- #Limit ⇒ Object
- #Namespace ⇒ Object
- #Offset ⇒ Object
- #Sort ⇒ Object
- #Topic ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, namespace = nil, topic = nil, filters = nil, offset = nil, limit = nil, sort = nil) ⇒ DescribePublishersRequest
constructor
A new instance of DescribePublishersRequest.
Constructor Details
#initialize(clusterid = nil, namespace = nil, topic = nil, filters = nil, offset = nil, limit = nil, sort = nil) ⇒ DescribePublishersRequest
Returns a new instance of DescribePublishersRequest.
4719 4720 4721 4722 4723 4724 4725 4726 4727 |
# File 'lib/v20200217/models.rb', line 4719 def initialize(clusterid=nil, namespace=nil, topic=nil, filters=nil, offset=nil, limit=nil, sort=nil) @ClusterId = clusterid @Namespace = namespace @Topic = topic @Filters = filters @Offset = offset @Limit = limit @Sort = sort end |
Instance Attribute Details
#ClusterId ⇒ Object
4717 4718 4719 |
# File 'lib/v20200217/models.rb', line 4717 def ClusterId @ClusterId end |
#Filters ⇒ Object
4717 4718 4719 |
# File 'lib/v20200217/models.rb', line 4717 def Filters @Filters end |
#Limit ⇒ Object
4717 4718 4719 |
# File 'lib/v20200217/models.rb', line 4717 def Limit @Limit end |
#Namespace ⇒ Object
4717 4718 4719 |
# File 'lib/v20200217/models.rb', line 4717 def Namespace @Namespace end |
#Offset ⇒ Object
4717 4718 4719 |
# File 'lib/v20200217/models.rb', line 4717 def Offset @Offset end |
#Sort ⇒ Object
4717 4718 4719 |
# File 'lib/v20200217/models.rb', line 4717 def Sort @Sort end |
#Topic ⇒ Object
4717 4718 4719 |
# File 'lib/v20200217/models.rb', line 4717 def Topic @Topic end |
Instance Method Details
#deserialize(params) ⇒ Object
4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 |
# File 'lib/v20200217/models.rb', line 4729 def deserialize(params) @ClusterId = params['ClusterId'] @Namespace = params['Namespace'] @Topic = params['Topic'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @Offset = params['Offset'] @Limit = params['Limit'] unless params['Sort'].nil? @Sort = Sort.new @Sort.deserialize(params['Sort']) end end |