Class: TencentCloud::Cme::V20191029::VodPullInputPlayInfo

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

Overview

点播文件播放信息,包含当前在播地址和该地址已播时长 。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url = nil, timeoffset = nil) ⇒ VodPullInputPlayInfo

Returns a new instance of VodPullInputPlayInfo.



6826
6827
6828
6829
# File 'lib/v20191029/models.rb', line 6826

def initialize(url=nil, timeoffset=nil)
  @Url = url
  @TimeOffset = timeoffset
end

Instance Attribute Details

#TimeOffsetObject

Parameters:

  • Url:

    当前正在播放文件 Url 。

  • TimeOffset:

    点播文件已播放时长,单位:秒。



6824
6825
6826
# File 'lib/v20191029/models.rb', line 6824

def TimeOffset
  @TimeOffset
end

#UrlObject

Parameters:

  • Url:

    当前正在播放文件 Url 。

  • TimeOffset:

    点播文件已播放时长,单位:秒。



6824
6825
6826
# File 'lib/v20191029/models.rb', line 6824

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



6831
6832
6833
6834
# File 'lib/v20191029/models.rb', line 6831

def deserialize(params)
  @Url = params['Url']
  @TimeOffset = params['TimeOffset']
end