Class: TencentCloud::Live::V20180801::DescribeUploadStreamNumsResponse

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

Overview

DescribeUploadStreamNums返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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



10510
10511
10512
10513
# File 'lib/v20180801/models.rb', line 10510

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

Instance Attribute Details

#DataInfoListObject



10508
10509
10510
# File 'lib/v20180801/models.rb', line 10508

def DataInfoList
  @DataInfoList
end

#RequestIdObject



10508
10509
10510
# File 'lib/v20180801/models.rb', line 10508

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
# File 'lib/v20180801/models.rb', line 10515

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