Class: TencentCloud::Live::V20180801::DescribeLiveTimeShiftWriteSizeInfoListResponse

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

Overview

DescribeLiveTimeShiftWriteSizeInfoList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(datainfolist = nil, requestid = nil) ⇒ DescribeLiveTimeShiftWriteSizeInfoListResponse

Returns a new instance of DescribeLiveTimeShiftWriteSizeInfoListResponse.



8455
8456
8457
8458
# File 'lib/v20180801/models.rb', line 8455

def initialize(datainfolist=nil, requestid=nil)
  @DataInfoList = datainfolist
  @RequestId = requestid
end

Instance Attribute Details

#DataInfoListObject

Parameters:

  • DataInfoList:

    直播时移写入量数据明细。

  • RequestId:

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



8453
8454
8455
# File 'lib/v20180801/models.rb', line 8453

def DataInfoList
  @DataInfoList
end

#RequestIdObject

Parameters:

  • DataInfoList:

    直播时移写入量数据明细。

  • RequestId:

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



8453
8454
8455
# File 'lib/v20180801/models.rb', line 8453

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
# File 'lib/v20180801/models.rb', line 8460

def deserialize(params)
  unless params['DataInfoList'].nil?
    @DataInfoList = []
    params['DataInfoList'].each do |i|
      timeshiftwritesizedata_tmp = TimeShiftWriteSizeData.new
      timeshiftwritesizedata_tmp.deserialize(i)
      @DataInfoList << timeshiftwritesizedata_tmp
    end
  end
  @RequestId = params['RequestId']
end