Class: TencentCloud::Live::V20180801::DescribeLiveXP2PDetailInfoListResponse

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

Overview

DescribeLiveXP2PDetailInfoList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeLiveXP2PDetailInfoListResponse.



8931
8932
8933
8934
# File 'lib/v20180801/models.rb', line 8931

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

Instance Attribute Details

#DataInfoListObject

Parameters:

  • DataInfoList:

    P2P流统计信息。

  • RequestId:

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



8929
8930
8931
# File 'lib/v20180801/models.rb', line 8929

def DataInfoList
  @DataInfoList
end

#RequestIdObject

Parameters:

  • DataInfoList:

    P2P流统计信息。

  • RequestId:

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



8929
8930
8931
# File 'lib/v20180801/models.rb', line 8929

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
# File 'lib/v20180801/models.rb', line 8936

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