Class: TencentCloud::Cam::V20190116::DescribeRoleListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::DescribeRoleListResponse
- Defined in:
- lib/v20190116/models.rb
Overview
DescribeRoleList返回参数结构体
Instance Attribute Summary collapse
-
#List ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalnum = nil, requestid = nil) ⇒ DescribeRoleListResponse
constructor
A new instance of DescribeRoleListResponse.
Constructor Details
#initialize(list = nil, totalnum = nil, requestid = nil) ⇒ DescribeRoleListResponse
Returns a new instance of DescribeRoleListResponse.
1720 1721 1722 1723 1724 |
# File 'lib/v20190116/models.rb', line 1720 def initialize(list=nil, totalnum=nil, requestid=nil) @List = list @TotalNum = totalnum @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1718 1719 1720 |
# File 'lib/v20190116/models.rb', line 1718 def List @List end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1718 1719 1720 |
# File 'lib/v20190116/models.rb', line 1718 def RequestId @RequestId end |
#TotalNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1718 1719 1720 |
# File 'lib/v20190116/models.rb', line 1718 def TotalNum @TotalNum end |
Instance Method Details
#deserialize(params) ⇒ Object
1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 |
# File 'lib/v20190116/models.rb', line 1726 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| roleinfo_tmp = RoleInfo.new roleinfo_tmp.deserialize(i) @List << roleinfo_tmp end end @TotalNum = params['TotalNum'] @RequestId = params['RequestId'] end |