Class: TencentCloud::Live::V20180801::DescribeStreamPlayInfoListResponse

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

Overview

DescribeStreamPlayInfoList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeStreamPlayInfoListResponse.



10093
10094
10095
10096
# File 'lib/v20180801/models.rb', line 10093

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

Instance Attribute Details

#DataInfoListObject

Parameters:

  • DataInfoList:

    统计信息列表,时间粒度是1分钟。

  • RequestId:

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



10091
10092
10093
# File 'lib/v20180801/models.rb', line 10091

def DataInfoList
  @DataInfoList
end

#RequestIdObject

Parameters:

  • DataInfoList:

    统计信息列表,时间粒度是1分钟。

  • RequestId:

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



10091
10092
10093
# File 'lib/v20180801/models.rb', line 10091

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
# File 'lib/v20180801/models.rb', line 10098

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