Class: TencentCloud::Cam::V20190116::ListGroupsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::ListGroupsResponse
- Defined in:
- lib/v20190116/models.rb
Overview
ListGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalnum = nil, groupinfo = nil, requestid = nil) ⇒ ListGroupsResponse
constructor
A new instance of ListGroupsResponse.
Constructor Details
#initialize(totalnum = nil, groupinfo = nil, requestid = nil) ⇒ ListGroupsResponse
Returns a new instance of ListGroupsResponse.
3598 3599 3600 3601 3602 |
# File 'lib/v20190116/models.rb', line 3598 def initialize(totalnum=nil, groupinfo=nil, requestid=nil) @TotalNum = totalnum @GroupInfo = groupinfo @RequestId = requestid end |
Instance Attribute Details
#GroupInfo ⇒ Object
3596 3597 3598 |
# File 'lib/v20190116/models.rb', line 3596 def GroupInfo @GroupInfo end |
#RequestId ⇒ Object
3596 3597 3598 |
# File 'lib/v20190116/models.rb', line 3596 def RequestId @RequestId end |
#TotalNum ⇒ Object
3596 3597 3598 |
# File 'lib/v20190116/models.rb', line 3596 def TotalNum @TotalNum end |
Instance Method Details
#deserialize(params) ⇒ Object
3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 |
# File 'lib/v20190116/models.rb', line 3604 def deserialize(params) @TotalNum = params['TotalNum'] unless params['GroupInfo'].nil? @GroupInfo = [] params['GroupInfo'].each do |i| groupinfo_tmp = GroupInfo.new groupinfo_tmp.deserialize(i) @GroupInfo << groupinfo_tmp end end @RequestId = params['RequestId'] end |