Class: TencentCloud::Cam::V20190116::DescribeRoleListRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::DescribeRoleListRequest
- Defined in:
- lib/v20190116/models.rb
Overview
DescribeRoleList请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(page = nil, rp = nil, tags = nil) ⇒ DescribeRoleListRequest
constructor
A new instance of DescribeRoleListRequest.
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, =nil) @Page = page @Rp = rp @Tags = end |
Instance Attribute Details
#Page ⇒ Object
1686 1687 1688 |
# File 'lib/v20190116/models.rb', line 1686 def Page @Page end |
#Rp ⇒ Object
1686 1687 1688 |
# File 'lib/v20190116/models.rb', line 1686 def Rp @Rp end |
#Tags ⇒ Object
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.new .deserialize(i) @Tags << end end end |