Class: TencentCloud::Vod::V20180717::ModifyEnhanceMediaTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::ModifyEnhanceMediaTemplateRequest
- Defined in:
- lib/v20180717/models.rb
Overview
ModifyEnhanceMediaTemplate请求参数结构体
Instance Attribute Summary collapse
-
#Comment ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。 <li>0:保留</li> <li>1:去除</li> 默认值 0。.
-
#Container ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。 <li>0:保留</li> <li>1:去除</li> 默认值 0。.
-
#Definition ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。 <li>0:保留</li> <li>1:去除</li> 默认值 0。.
-
#Name ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。 <li>0:保留</li> <li>1:去除</li> 默认值 0。.
-
#RebuildAudioInfo ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。 <li>0:保留</li> <li>1:去除</li> 默认值 0。.
-
#RebuildVideoInfo ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。 <li>0:保留</li> <li>1:去除</li> 默认值 0。.
-
#RemoveAudio ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。 <li>0:保留</li> <li>1:去除</li> 默认值 0。.
-
#RemoveVideo ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。 <li>0:保留</li> <li>1:去除</li> 默认值 0。.
-
#SubAppId ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。 <li>0:保留</li> <li>1:去除</li> 默认值 0。.
-
#TargetAudioInfo ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。 <li>0:保留</li> <li>1:去除</li> 默认值 0。.
-
#TargetVideoInfo ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。 <li>0:保留</li> <li>1:去除</li> 默认值 0。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(definition = nil, subappid = nil, name = nil, comment = nil, rebuildvideoinfo = nil, rebuildaudioinfo = nil, targetvideoinfo = nil, targetaudioinfo = nil, container = nil, removevideo = nil, removeaudio = nil) ⇒ ModifyEnhanceMediaTemplateRequest
constructor
A new instance of ModifyEnhanceMediaTemplateRequest.
Constructor Details
#initialize(definition = nil, subappid = nil, name = nil, comment = nil, rebuildvideoinfo = nil, rebuildaudioinfo = nil, targetvideoinfo = nil, targetaudioinfo = nil, container = nil, removevideo = nil, removeaudio = nil) ⇒ ModifyEnhanceMediaTemplateRequest
Returns a new instance of ModifyEnhanceMediaTemplateRequest.
19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 |
# File 'lib/v20180717/models.rb', line 19368 def initialize(definition=nil, subappid=nil, name=nil, comment=nil, rebuildvideoinfo=nil, rebuildaudioinfo=nil, targetvideoinfo=nil, targetaudioinfo=nil, container=nil, removevideo=nil, removeaudio=nil) @Definition = definition @SubAppId = subappid @Name = name @Comment = comment @RebuildVideoInfo = rebuildvideoinfo @RebuildAudioInfo = rebuildaudioinfo @TargetVideoInfo = targetvideoinfo @TargetAudioInfo = targetaudioinfo @Container = container @RemoveVideo = removevideo @RemoveAudio = removeaudio end |
Instance Attribute Details
#Comment ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。<li>0:保留</li> <li>1:去除</li> 默认值 0。
19366 19367 19368 |
# File 'lib/v20180717/models.rb', line 19366 def Comment @Comment end |
#Container ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。<li>0:保留</li> <li>1:去除</li> 默认值 0。
19366 19367 19368 |
# File 'lib/v20180717/models.rb', line 19366 def Container @Container end |
#Definition ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。<li>0:保留</li> <li>1:去除</li> 默认值 0。
19366 19367 19368 |
# File 'lib/v20180717/models.rb', line 19366 def Definition @Definition end |
#Name ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。<li>0:保留</li> <li>1:去除</li> 默认值 0。
19366 19367 19368 |
# File 'lib/v20180717/models.rb', line 19366 def Name @Name end |
#RebuildAudioInfo ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。<li>0:保留</li> <li>1:去除</li> 默认值 0。
19366 19367 19368 |
# File 'lib/v20180717/models.rb', line 19366 def RebuildAudioInfo @RebuildAudioInfo end |
#RebuildVideoInfo ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。<li>0:保留</li> <li>1:去除</li> 默认值 0。
19366 19367 19368 |
# File 'lib/v20180717/models.rb', line 19366 def RebuildVideoInfo @RebuildVideoInfo end |
#RemoveAudio ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。<li>0:保留</li> <li>1:去除</li> 默认值 0。
19366 19367 19368 |
# File 'lib/v20180717/models.rb', line 19366 def RemoveAudio @RemoveAudio end |
#RemoveVideo ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。<li>0:保留</li> <li>1:去除</li> 默认值 0。
19366 19367 19368 |
# File 'lib/v20180717/models.rb', line 19366 def RemoveVideo @RemoveVideo end |
#SubAppId ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。<li>0:保留</li> <li>1:去除</li> 默认值 0。
19366 19367 19368 |
# File 'lib/v20180717/models.rb', line 19366 def SubAppId @SubAppId end |
#TargetAudioInfo ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。<li>0:保留</li> <li>1:去除</li> 默认值 0。
19366 19367 19368 |
# File 'lib/v20180717/models.rb', line 19366 def TargetAudioInfo @TargetAudioInfo end |
#TargetVideoInfo ⇒ Object
<li>0:保留</li> <li>1:去除</li> 默认值 0。<li>0:保留</li> <li>1:去除</li> 默认值 0。
19366 19367 19368 |
# File 'lib/v20180717/models.rb', line 19366 def TargetVideoInfo @TargetVideoInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 |
# File 'lib/v20180717/models.rb', line 19382 def deserialize(params) @Definition = params['Definition'] @SubAppId = params['SubAppId'] @Name = params['Name'] @Comment = params['Comment'] unless params['RebuildVideoInfo'].nil? @RebuildVideoInfo = RebuildVideoInfo.new @RebuildVideoInfo.deserialize(params['RebuildVideoInfo']) end unless params['RebuildAudioInfo'].nil? @RebuildAudioInfo = RebuildAudioInfo.new @RebuildAudioInfo.deserialize(params['RebuildAudioInfo']) end unless params['TargetVideoInfo'].nil? @TargetVideoInfo = RebuildMediaTargetVideoStream.new @TargetVideoInfo.deserialize(params['TargetVideoInfo']) end unless params['TargetAudioInfo'].nil? @TargetAudioInfo = RebuildMediaTargetAudioStream.new @TargetAudioInfo.deserialize(params['TargetAudioInfo']) end @Container = params['Container'] @RemoveVideo = params['RemoveVideo'] @RemoveAudio = params['RemoveAudio'] end |