Class: TencentCloud::Cam::V20190116::ListCollaboratorsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::ListCollaboratorsResponse
- Defined in:
- lib/v20190116/models.rb
Overview
ListCollaborators返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalnum = nil, data = nil, requestid = nil) ⇒ ListCollaboratorsResponse
constructor
A new instance of ListCollaboratorsResponse.
Constructor Details
#initialize(totalnum = nil, data = nil, requestid = nil) ⇒ ListCollaboratorsResponse
Returns a new instance of ListCollaboratorsResponse.
3314 3315 3316 3317 3318 |
# File 'lib/v20190116/models.rb', line 3314 def initialize(totalnum=nil, data=nil, requestid=nil) @TotalNum = totalnum @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
3312 3313 3314 |
# File 'lib/v20190116/models.rb', line 3312 def Data @Data end |
#RequestId ⇒ Object
3312 3313 3314 |
# File 'lib/v20190116/models.rb', line 3312 def RequestId @RequestId end |
#TotalNum ⇒ Object
3312 3313 3314 |
# File 'lib/v20190116/models.rb', line 3312 def TotalNum @TotalNum end |
Instance Method Details
#deserialize(params) ⇒ Object
3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 |
# File 'lib/v20190116/models.rb', line 3320 def deserialize(params) @TotalNum = params['TotalNum'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| subaccountinfo_tmp = SubAccountInfo.new subaccountinfo_tmp.deserialize(i) @Data << subaccountinfo_tmp end end @RequestId = params['RequestId'] end |