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



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

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,表示取不到有效值。



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

def AppName
  @AppName
end

#DomainObject

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



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

def Domain
  @Domain
end

#DomainGroupObject

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



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

def DomainGroup
  @DomainGroup
end

#DurationObject

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



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

def Duration
  @Duration
end

#EndTimeObject

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



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

def EndTime
  @EndTime
end

#StartTimeObject

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



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

def StartTime
  @StartTime
end

#StreamNameObject

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



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

def StreamName
  @StreamName
end

#StreamTypeObject

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



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

def StreamType
  @StreamType
end

#TimeShiftSubStreamsObject

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



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

def TimeShiftSubStreams
  @TimeShiftSubStreams
end

#TransCodeIdObject

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



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

def TransCodeId
  @TransCodeId
end

Instance Method Details

#deserialize(params) ⇒ Object



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

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