Class: TencentCloud::Vod::V20180717::FrameTagConfigureInfoForUpdate

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

Overview

智能按帧标签任务控制参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil, screenshotinterval = nil) ⇒ FrameTagConfigureInfoForUpdate

Returns a new instance of FrameTagConfigureInfoForUpdate.



15193
15194
15195
15196
# File 'lib/v20180717/models.rb', line 15193

def initialize(switch=nil, screenshotinterval=nil)
  @Switch = switch
  @ScreenshotInterval = screenshotinterval
end

Instance Attribute Details

#ScreenshotIntervalObject

<li>ON:开启智能按帧标签任务;</li> <li>OFF:关闭智能按帧标签任务。</li>

Parameters:

  • Switch:

    智能按帧标签任务开关,可选值:

  • ScreenshotInterval:

    截帧间隔,单位为秒,最小值为 0.5 秒。



15191
15192
15193
# File 'lib/v20180717/models.rb', line 15191

def ScreenshotInterval
  @ScreenshotInterval
end

#SwitchObject

<li>ON:开启智能按帧标签任务;</li> <li>OFF:关闭智能按帧标签任务。</li>

Parameters:

  • Switch:

    智能按帧标签任务开关,可选值:

  • ScreenshotInterval:

    截帧间隔,单位为秒,最小值为 0.5 秒。



15191
15192
15193
# File 'lib/v20180717/models.rb', line 15191

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



15198
15199
15200
15201
# File 'lib/v20180717/models.rb', line 15198

def deserialize(params)
  @Switch = params['Switch']
  @ScreenshotInterval = params['ScreenshotInterval']
end