Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQRolesRequest

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

Overview

DescribeRocketMQRoles请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(offset = nil, limit = nil, clusterid = nil, rolename = nil, filters = nil) ⇒ DescribeRocketMQRolesRequest

Returns a new instance of DescribeRocketMQRolesRequest.



6752
6753
6754
6755
6756
6757
6758
# File 'lib/v20200217/models.rb', line 6752

def initialize(offset=nil, limit=nil, clusterid=nil, rolename=nil, filters=nil)
  @Offset = offset
  @Limit = limit
  @ClusterId = clusterid
  @RoleName = rolename
  @Filters = filters
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • Offset:

    起始下标,不填默认为0。

  • Limit:

    返回数量,不填则默认为10,最大值为20。

  • ClusterId:

    必填字段,集群Id

  • RoleName:

    角色名称,模糊查询

  • Filters:

    RoleName按照角色名进行过滤,精确查询。类型:String必选:否



6750
6751
6752
# File 'lib/v20200217/models.rb', line 6750

def ClusterId
  @ClusterId
end

#FiltersObject

Parameters:

  • Offset:

    起始下标,不填默认为0。

  • Limit:

    返回数量,不填则默认为10,最大值为20。

  • ClusterId:

    必填字段,集群Id

  • RoleName:

    角色名称,模糊查询

  • Filters:

    RoleName按照角色名进行过滤,精确查询。类型:String必选:否



6750
6751
6752
# File 'lib/v20200217/models.rb', line 6750

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Offset:

    起始下标,不填默认为0。

  • Limit:

    返回数量,不填则默认为10,最大值为20。

  • ClusterId:

    必填字段,集群Id

  • RoleName:

    角色名称,模糊查询

  • Filters:

    RoleName按照角色名进行过滤,精确查询。类型:String必选:否



6750
6751
6752
# File 'lib/v20200217/models.rb', line 6750

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Offset:

    起始下标,不填默认为0。

  • Limit:

    返回数量,不填则默认为10,最大值为20。

  • ClusterId:

    必填字段,集群Id

  • RoleName:

    角色名称,模糊查询

  • Filters:

    RoleName按照角色名进行过滤,精确查询。类型:String必选:否



6750
6751
6752
# File 'lib/v20200217/models.rb', line 6750

def Offset
  @Offset
end

#RoleNameObject

Parameters:

  • Offset:

    起始下标,不填默认为0。

  • Limit:

    返回数量,不填则默认为10,最大值为20。

  • ClusterId:

    必填字段,集群Id

  • RoleName:

    角色名称,模糊查询

  • Filters:

    RoleName按照角色名进行过滤,精确查询。类型:String必选:否



6750
6751
6752
# File 'lib/v20200217/models.rb', line 6750

def RoleName
  @RoleName
end

Instance Method Details

#deserialize(params) ⇒ Object



6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
# File 'lib/v20200217/models.rb', line 6760

def deserialize(params)
  @Offset = params['Offset']
  @Limit = params['Limit']
  @ClusterId = params['ClusterId']
  @RoleName = params['RoleName']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
end