Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQClustersRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

DescribeRocketMQClusters请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(offset = nil, limit = nil, idkeyword = nil, namekeyword = nil, clusteridlist = nil, istagfilter = nil, filters = nil) ⇒ DescribeRocketMQClustersRequest

Returns a new instance of DescribeRocketMQClustersRequest.



5843
5844
5845
5846
5847
5848
5849
5850
5851
# File 'lib/v20200217/models.rb', line 5843

def initialize(offset=nil, limit=nil, idkeyword=nil, namekeyword=nil, clusteridlist=nil, istagfilter=nil, filters=nil)
  @Offset = offset
  @Limit = limit
  @IdKeyword = idkeyword
  @NameKeyword = namekeyword
  @ClusterIdList = clusteridlist
  @IsTagFilter = istagfilter
  @Filters = filters
end

Instance Attribute Details

#ClusterIdListObject

Parameters:

  • Offset:

    偏移量

  • Limit:

    限制数目

  • IdKeyword:

    按照集群ID关键字搜索

  • NameKeyword:

    按照集群名称关键字搜索

  • ClusterIdList:

    集群ID列表过滤

  • IsTagFilter:

    标签过滤查找时,需要设置为true

  • Filters:

    过滤器。目前支持标签过滤。



5841
5842
5843
# File 'lib/v20200217/models.rb', line 5841

def ClusterIdList
  @ClusterIdList
end

#FiltersObject

Parameters:

  • Offset:

    偏移量

  • Limit:

    限制数目

  • IdKeyword:

    按照集群ID关键字搜索

  • NameKeyword:

    按照集群名称关键字搜索

  • ClusterIdList:

    集群ID列表过滤

  • IsTagFilter:

    标签过滤查找时,需要设置为true

  • Filters:

    过滤器。目前支持标签过滤。



5841
5842
5843
# File 'lib/v20200217/models.rb', line 5841

def Filters
  @Filters
end

#IdKeywordObject

Parameters:

  • Offset:

    偏移量

  • Limit:

    限制数目

  • IdKeyword:

    按照集群ID关键字搜索

  • NameKeyword:

    按照集群名称关键字搜索

  • ClusterIdList:

    集群ID列表过滤

  • IsTagFilter:

    标签过滤查找时,需要设置为true

  • Filters:

    过滤器。目前支持标签过滤。



5841
5842
5843
# File 'lib/v20200217/models.rb', line 5841

def IdKeyword
  @IdKeyword
end

#IsTagFilterObject

Parameters:

  • Offset:

    偏移量

  • Limit:

    限制数目

  • IdKeyword:

    按照集群ID关键字搜索

  • NameKeyword:

    按照集群名称关键字搜索

  • ClusterIdList:

    集群ID列表过滤

  • IsTagFilter:

    标签过滤查找时,需要设置为true

  • Filters:

    过滤器。目前支持标签过滤。



5841
5842
5843
# File 'lib/v20200217/models.rb', line 5841

def IsTagFilter
  @IsTagFilter
end

#LimitObject

Parameters:

  • Offset:

    偏移量

  • Limit:

    限制数目

  • IdKeyword:

    按照集群ID关键字搜索

  • NameKeyword:

    按照集群名称关键字搜索

  • ClusterIdList:

    集群ID列表过滤

  • IsTagFilter:

    标签过滤查找时,需要设置为true

  • Filters:

    过滤器。目前支持标签过滤。



5841
5842
5843
# File 'lib/v20200217/models.rb', line 5841

def Limit
  @Limit
end

#NameKeywordObject

Parameters:

  • Offset:

    偏移量

  • Limit:

    限制数目

  • IdKeyword:

    按照集群ID关键字搜索

  • NameKeyword:

    按照集群名称关键字搜索

  • ClusterIdList:

    集群ID列表过滤

  • IsTagFilter:

    标签过滤查找时,需要设置为true

  • Filters:

    过滤器。目前支持标签过滤。



5841
5842
5843
# File 'lib/v20200217/models.rb', line 5841

def NameKeyword
  @NameKeyword
end

#OffsetObject

Parameters:

  • Offset:

    偏移量

  • Limit:

    限制数目

  • IdKeyword:

    按照集群ID关键字搜索

  • NameKeyword:

    按照集群名称关键字搜索

  • ClusterIdList:

    集群ID列表过滤

  • IsTagFilter:

    标签过滤查找时,需要设置为true

  • Filters:

    过滤器。目前支持标签过滤。



5841
5842
5843
# File 'lib/v20200217/models.rb', line 5841

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
# File 'lib/v20200217/models.rb', line 5853

def deserialize(params)
  @Offset = params['Offset']
  @Limit = params['Limit']
  @IdKeyword = params['IdKeyword']
  @NameKeyword = params['NameKeyword']
  @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