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

Returns a new instance of 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

Parameters:

  • TotalSize:

    时间段内所有的数据量。

  • StreamList:

    流列表。

  • RequestId:

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



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

def RequestId
  @RequestId
end

#StreamListObject

Parameters:

  • TotalSize:

    时间段内所有的数据量。

  • StreamList:

    流列表。

  • RequestId:

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



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

def StreamList
  @StreamList
end

#TotalSizeObject

Parameters:

  • TotalSize:

    时间段内所有的数据量。

  • StreamList:

    流列表。

  • RequestId:

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



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