Class: TencentCloud::Tdmq::V20200217::DescribeClustersRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeClustersRequest
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeClusters请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(offset = nil, limit = nil, clusteridlist = nil, istagfilter = nil, filters = nil) ⇒ DescribeClustersRequest
constructor
A new instance of DescribeClustersRequest.
Constructor Details
#initialize(offset = nil, limit = nil, clusteridlist = nil, istagfilter = nil, filters = nil) ⇒ DescribeClustersRequest
Returns a new instance of DescribeClustersRequest.
3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/v20200217/models.rb', line 3684 def initialize(offset=nil, limit=nil, clusteridlist=nil, istagfilter=nil, filters=nil) @Offset = offset @Limit = limit @ClusterIdList = clusteridlist @IsTagFilter = istagfilter @Filters = filters end |
Instance Attribute Details
#ClusterIdList ⇒ Object
3682 3683 3684 |
# File 'lib/v20200217/models.rb', line 3682 def ClusterIdList @ClusterIdList end |
#Filters ⇒ Object
3682 3683 3684 |
# File 'lib/v20200217/models.rb', line 3682 def Filters @Filters end |
#IsTagFilter ⇒ Object
3682 3683 3684 |
# File 'lib/v20200217/models.rb', line 3682 def IsTagFilter @IsTagFilter end |
#Limit ⇒ Object
3682 3683 3684 |
# File 'lib/v20200217/models.rb', line 3682 def Limit @Limit end |
#Offset ⇒ Object
3682 3683 3684 |
# File 'lib/v20200217/models.rb', line 3682 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 |
# File 'lib/v20200217/models.rb', line 3692 def deserialize(params) @Offset = params['Offset'] @Limit = params['Limit'] @ClusterIdList = params['ClusterIdList'] @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 |