Class: TencentCloud::Live::V20180801::TimeShiftStreamInfo

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

Overview

时移流。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domaingroup = nil, domain = nil, appname = nil, streamname = nil, starttime = nil, endtime = nil, transcodeid = nil, streamtype = nil, duration = nil, timeshiftsubstreams = nil) ⇒ TimeShiftStreamInfo

Returns a new instance of TimeShiftStreamInfo.



15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
# File 'lib/v20180801/models.rb', line 15599

def initialize(domaingroup=nil, domain=nil, appname=nil, streamname=nil, starttime=nil, endtime=nil, transcodeid=nil, streamtype=nil, duration=nil, timeshiftsubstreams=nil)
  @DomainGroup = domaingroup
  @Domain = domain
  @AppName = appname
  @StreamName = streamname
  @StartTime = starttime
  @EndTime = endtime
  @TransCodeId = transcodeid
  @StreamType = streamtype
  @Duration = duration
  @TimeShiftSubStreams = timeshiftsubstreams
end

Instance Attribute Details

#AppNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainGroup:

    推流域名所属组。

  • Domain:

    推流域名。

  • AppName:

    推流路径。

  • StreamName:

    流名称。

  • StartTime:

    流起始时间,Unix 时间戳。

  • EndTime:

    截止查询时流结束时间,Unix 时间戳。

  • TransCodeId:

    转码模板ID。

  • StreamType:

    流类型,取值0为原始流,1为水印流,2为转码流。

  • Duration:

    时移数据存储时长,单位秒。

  • TimeShiftSubStreams:

    时移自适应码率子流列表。



15597
15598
15599
# File 'lib/v20180801/models.rb', line 15597

def AppName
  @AppName
end

#DomainObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainGroup:

    推流域名所属组。

  • Domain:

    推流域名。

  • AppName:

    推流路径。

  • StreamName:

    流名称。

  • StartTime:

    流起始时间,Unix 时间戳。

  • EndTime:

    截止查询时流结束时间,Unix 时间戳。

  • TransCodeId:

    转码模板ID。

  • StreamType:

    流类型,取值0为原始流,1为水印流,2为转码流。

  • Duration:

    时移数据存储时长,单位秒。

  • TimeShiftSubStreams:

    时移自适应码率子流列表。



15597
15598
15599
# File 'lib/v20180801/models.rb', line 15597

def Domain
  @Domain
end

#DomainGroupObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainGroup:

    推流域名所属组。

  • Domain:

    推流域名。

  • AppName:

    推流路径。

  • StreamName:

    流名称。

  • StartTime:

    流起始时间,Unix 时间戳。

  • EndTime:

    截止查询时流结束时间,Unix 时间戳。

  • TransCodeId:

    转码模板ID。

  • StreamType:

    流类型,取值0为原始流,1为水印流,2为转码流。

  • Duration:

    时移数据存储时长,单位秒。

  • TimeShiftSubStreams:

    时移自适应码率子流列表。



15597
15598
15599
# File 'lib/v20180801/models.rb', line 15597

def DomainGroup
  @DomainGroup
end

#DurationObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainGroup:

    推流域名所属组。

  • Domain:

    推流域名。

  • AppName:

    推流路径。

  • StreamName:

    流名称。

  • StartTime:

    流起始时间,Unix 时间戳。

  • EndTime:

    截止查询时流结束时间,Unix 时间戳。

  • TransCodeId:

    转码模板ID。

  • StreamType:

    流类型,取值0为原始流,1为水印流,2为转码流。

  • Duration:

    时移数据存储时长,单位秒。

  • TimeShiftSubStreams:

    时移自适应码率子流列表。



15597
15598
15599
# File 'lib/v20180801/models.rb', line 15597

def Duration
  @Duration
end

#EndTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainGroup:

    推流域名所属组。

  • Domain:

    推流域名。

  • AppName:

    推流路径。

  • StreamName:

    流名称。

  • StartTime:

    流起始时间,Unix 时间戳。

  • EndTime:

    截止查询时流结束时间,Unix 时间戳。

  • TransCodeId:

    转码模板ID。

  • StreamType:

    流类型,取值0为原始流,1为水印流,2为转码流。

  • Duration:

    时移数据存储时长,单位秒。

  • TimeShiftSubStreams:

    时移自适应码率子流列表。



15597
15598
15599
# File 'lib/v20180801/models.rb', line 15597

def EndTime
  @EndTime
end

#StartTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainGroup:

    推流域名所属组。

  • Domain:

    推流域名。

  • AppName:

    推流路径。

  • StreamName:

    流名称。

  • StartTime:

    流起始时间,Unix 时间戳。

  • EndTime:

    截止查询时流结束时间,Unix 时间戳。

  • TransCodeId:

    转码模板ID。

  • StreamType:

    流类型,取值0为原始流,1为水印流,2为转码流。

  • Duration:

    时移数据存储时长,单位秒。

  • TimeShiftSubStreams:

    时移自适应码率子流列表。



15597
15598
15599
# File 'lib/v20180801/models.rb', line 15597

def StartTime
  @StartTime
end

#StreamNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainGroup:

    推流域名所属组。

  • Domain:

    推流域名。

  • AppName:

    推流路径。

  • StreamName:

    流名称。

  • StartTime:

    流起始时间,Unix 时间戳。

  • EndTime:

    截止查询时流结束时间,Unix 时间戳。

  • TransCodeId:

    转码模板ID。

  • StreamType:

    流类型,取值0为原始流,1为水印流,2为转码流。

  • Duration:

    时移数据存储时长,单位秒。

  • TimeShiftSubStreams:

    时移自适应码率子流列表。



15597
15598
15599
# File 'lib/v20180801/models.rb', line 15597

def StreamName
  @StreamName
end

#StreamTypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainGroup:

    推流域名所属组。

  • Domain:

    推流域名。

  • AppName:

    推流路径。

  • StreamName:

    流名称。

  • StartTime:

    流起始时间,Unix 时间戳。

  • EndTime:

    截止查询时流结束时间,Unix 时间戳。

  • TransCodeId:

    转码模板ID。

  • StreamType:

    流类型,取值0为原始流,1为水印流,2为转码流。

  • Duration:

    时移数据存储时长,单位秒。

  • TimeShiftSubStreams:

    时移自适应码率子流列表。



15597
15598
15599
# File 'lib/v20180801/models.rb', line 15597

def StreamType
  @StreamType
end

#TimeShiftSubStreamsObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainGroup:

    推流域名所属组。

  • Domain:

    推流域名。

  • AppName:

    推流路径。

  • StreamName:

    流名称。

  • StartTime:

    流起始时间,Unix 时间戳。

  • EndTime:

    截止查询时流结束时间,Unix 时间戳。

  • TransCodeId:

    转码模板ID。

  • StreamType:

    流类型,取值0为原始流,1为水印流,2为转码流。

  • Duration:

    时移数据存储时长,单位秒。

  • TimeShiftSubStreams:

    时移自适应码率子流列表。



15597
15598
15599
# File 'lib/v20180801/models.rb', line 15597

def TimeShiftSubStreams
  @TimeShiftSubStreams
end

#TransCodeIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainGroup:

    推流域名所属组。

  • Domain:

    推流域名。

  • AppName:

    推流路径。

  • StreamName:

    流名称。

  • StartTime:

    流起始时间,Unix 时间戳。

  • EndTime:

    截止查询时流结束时间,Unix 时间戳。

  • TransCodeId:

    转码模板ID。

  • StreamType:

    流类型,取值0为原始流,1为水印流,2为转码流。

  • Duration:

    时移数据存储时长,单位秒。

  • TimeShiftSubStreams:

    时移自适应码率子流列表。



15597
15598
15599
# File 'lib/v20180801/models.rb', line 15597

def TransCodeId
  @TransCodeId
end

Instance Method Details

#deserialize(params) ⇒ Object



15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
# File 'lib/v20180801/models.rb', line 15612

def deserialize(params)
  @DomainGroup = params['DomainGroup']
  @Domain = params['Domain']
  @AppName = params['AppName']
  @StreamName = params['StreamName']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @TransCodeId = params['TransCodeId']
  @StreamType = params['StreamType']
  @Duration = params['Duration']
  unless params['TimeShiftSubStreams'].nil?
    @TimeShiftSubStreams = []
    params['TimeShiftSubStreams'].each do |i|
      timeshiftsubstream_tmp = TimeShiftSubStream.new
      timeshiftsubstream_tmp.deserialize(i)
      @TimeShiftSubStreams << timeshiftsubstream_tmp
    end
  end
end