Class: TencentCloud::Live::V20180801::DescribeTimeShiftStreamListResponse

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

Overview

DescribeTimeShiftStreamList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalsize = nil, streamlist = nil, requestid = nil) ⇒ DescribeTimeShiftStreamListResponse



10296
10297
10298
10299
10300
# File 'lib/v20180801/models.rb', line 10296

def initialize(totalsize=nil, streamlist=nil, requestid=nil)
  @TotalSize = totalsize
  @StreamList = streamlist
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject



10294
10295
10296
# File 'lib/v20180801/models.rb', line 10294

def RequestId
  @RequestId
end

#StreamListObject



10294
10295
10296
# File 'lib/v20180801/models.rb', line 10294

def StreamList
  @StreamList
end

#TotalSizeObject



10294
10295
10296
# File 'lib/v20180801/models.rb', line 10294

def TotalSize
  @TotalSize
end

Instance Method Details

#deserialize(params) ⇒ Object



10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
# File 'lib/v20180801/models.rb', line 10302

def deserialize(params)
  @TotalSize = params['TotalSize']
  unless params['StreamList'].nil?
    @StreamList = []
    params['StreamList'].each do |i|
      timeshiftstreaminfo_tmp = TimeShiftStreamInfo.new
      timeshiftstreaminfo_tmp.deserialize(i)
      @StreamList << timeshiftstreaminfo_tmp
    end
  end
  @RequestId = params['RequestId']
end