Class: TencentCloud::Tdmq::V20200217::DescribeCmqTopicsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeCmqTopicsRequest
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeCmqTopics请求参数结构体
Instance Attribute Summary collapse
- #Filters ⇒ Object
- #IsTagFilter ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #TopicName ⇒ Object
- #TopicNameList ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(offset = nil, limit = nil, topicname = nil, topicnamelist = nil, istagfilter = nil, filters = nil) ⇒ DescribeCmqTopicsRequest
constructor
A new instance of DescribeCmqTopicsRequest.
Constructor Details
#initialize(offset = nil, limit = nil, topicname = nil, topicnamelist = nil, istagfilter = nil, filters = nil) ⇒ DescribeCmqTopicsRequest
Returns a new instance of DescribeCmqTopicsRequest.
4037 4038 4039 4040 4041 4042 4043 4044 |
# File 'lib/v20200217/models.rb', line 4037 def initialize(offset=nil, limit=nil, topicname=nil, topicnamelist=nil, istagfilter=nil, filters=nil) @Offset = offset @Limit = limit @TopicName = topicname @TopicNameList = topicnamelist @IsTagFilter = istagfilter @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
4035 4036 4037 |
# File 'lib/v20200217/models.rb', line 4035 def Filters @Filters end |
#IsTagFilter ⇒ Object
4035 4036 4037 |
# File 'lib/v20200217/models.rb', line 4035 def IsTagFilter @IsTagFilter end |
#Limit ⇒ Object
4035 4036 4037 |
# File 'lib/v20200217/models.rb', line 4035 def Limit @Limit end |
#Offset ⇒ Object
4035 4036 4037 |
# File 'lib/v20200217/models.rb', line 4035 def Offset @Offset end |
#TopicName ⇒ Object
4035 4036 4037 |
# File 'lib/v20200217/models.rb', line 4035 def TopicName @TopicName end |
#TopicNameList ⇒ Object
4035 4036 4037 |
# File 'lib/v20200217/models.rb', line 4035 def TopicNameList @TopicNameList end |
Instance Method Details
#deserialize(params) ⇒ Object
4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 |
# File 'lib/v20200217/models.rb', line 4046 def deserialize(params) @Offset = params['Offset'] @Limit = params['Limit'] @TopicName = params['TopicName'] @TopicNameList = params['TopicNameList'] @IsTagFilter = params['IsTagFilter'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |