Class: TencentCloud::Ie::V20200304::OpeningEndingEditingInfo

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

Overview

片头片尾识别任务参数信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil, custominfo = nil) ⇒ OpeningEndingEditingInfo

Returns a new instance of OpeningEndingEditingInfo.



2188
2189
2190
2191
# File 'lib/v20200304/models.rb', line 2188

def initialize(switch=nil, custominfo=nil)
  @Switch = switch
  @CustomInfo = custominfo
end

Instance Attribute Details

#CustomInfoObject

Parameters:

  • Switch:

    是否开启片头片尾识别。0为关闭,1为开启。其他非0非1值默认为0。

  • CustomInfo:

    额外定制化服务参数。参数为序列化的Json字符串,例如:“k1”:“v1”。



2186
2187
2188
# File 'lib/v20200304/models.rb', line 2186

def CustomInfo
  @CustomInfo
end

#SwitchObject

Parameters:

  • Switch:

    是否开启片头片尾识别。0为关闭,1为开启。其他非0非1值默认为0。

  • CustomInfo:

    额外定制化服务参数。参数为序列化的Json字符串,例如:“k1”:“v1”。



2186
2187
2188
# File 'lib/v20200304/models.rb', line 2186

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



2193
2194
2195
2196
# File 'lib/v20200304/models.rb', line 2193

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