Class: TencentCloud::Cam::V20190116::ListCollaboratorsResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190116/models.rb

Overview

ListCollaborators返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DataObject

Parameters:

  • TotalNum:

    总数

  • Data:

    协作者信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3312
3313
3314
# File 'lib/v20190116/models.rb', line 3312

def Data
  @Data
end

#RequestIdObject

Parameters:

  • TotalNum:

    总数

  • Data:

    协作者信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3312
3313
3314
# File 'lib/v20190116/models.rb', line 3312

def RequestId
  @RequestId
end

#TotalNumObject

Parameters:

  • TotalNum:

    总数

  • Data:

    协作者信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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