Class: TencentCloud::Cam::V20190116::DescribeRoleListRequest

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

Overview

DescribeRoleList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(page = nil, rp = nil, tags = nil) ⇒ DescribeRoleListRequest

Returns a new instance of DescribeRoleListRequest.



1688
1689
1690
1691
1692
# File 'lib/v20190116/models.rb', line 1688

def initialize(page=nil, rp=nil, tags=nil)
  @Page = page
  @Rp = rp
  @Tags = tags
end

Instance Attribute Details

#PageObject

Parameters:

  • Page:

    页码,从1开始

  • Rp:

    每页行数,不能大于200

  • Tags:

    标签筛选



1686
1687
1688
# File 'lib/v20190116/models.rb', line 1686

def Page
  @Page
end

#RpObject

Parameters:

  • Page:

    页码,从1开始

  • Rp:

    每页行数,不能大于200

  • Tags:

    标签筛选



1686
1687
1688
# File 'lib/v20190116/models.rb', line 1686

def Rp
  @Rp
end

#TagsObject

Parameters:

  • Page:

    页码,从1开始

  • Rp:

    每页行数,不能大于200

  • Tags:

    标签筛选



1686
1687
1688
# File 'lib/v20190116/models.rb', line 1686

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
# File 'lib/v20190116/models.rb', line 1694

def deserialize(params)
  @Page = params['Page']
  @Rp = params['Rp']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      roletags_tmp = RoleTags.new
      roletags_tmp.deserialize(i)
      @Tags << roletags_tmp
    end
  end
end