Class: TencentCloud::Cam::V20190116::ListGroupsForUserResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::ListGroupsForUserResponse
- Defined in:
- lib/v20190116/models.rb
Overview
ListGroupsForUser返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalnum = nil, groupinfo = nil, requestid = nil) ⇒ ListGroupsForUserResponse
constructor
A new instance of ListGroupsForUserResponse.
Constructor Details
#initialize(totalnum = nil, groupinfo = nil, requestid = nil) ⇒ ListGroupsForUserResponse
Returns a new instance of ListGroupsForUserResponse.
3543 3544 3545 3546 3547 |
# File 'lib/v20190116/models.rb', line 3543 def initialize(totalnum=nil, groupinfo=nil, requestid=nil) @TotalNum = totalnum @GroupInfo = groupinfo @RequestId = requestid end |
Instance Attribute Details
#GroupInfo ⇒ Object
3541 3542 3543 |
# File 'lib/v20190116/models.rb', line 3541 def GroupInfo @GroupInfo end |
#RequestId ⇒ Object
3541 3542 3543 |
# File 'lib/v20190116/models.rb', line 3541 def RequestId @RequestId end |
#TotalNum ⇒ Object
3541 3542 3543 |
# File 'lib/v20190116/models.rb', line 3541 def TotalNum @TotalNum end |
Instance Method Details
#deserialize(params) ⇒ Object
3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 |
# File 'lib/v20190116/models.rb', line 3549 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 |