Class: TencentCloud::Mps::V20190612::ModifyTranscodeTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ModifyTranscodeTemplateRequest
- Defined in:
- lib/v20190612/models.rb
Overview
ModifyTranscodeTemplate请求参数结构体
Instance Attribute Summary collapse
-
#AudioTemplate ⇒ Object
- 0:保留
- 1:去除
- 0:保留
- 1:去除
. -
#Comment ⇒ Object
- 0:保留
- 1:去除
- 0:保留
- 1:去除
. -
#Container ⇒ Object
- 0:保留
- 1:去除
- 0:保留
- 1:去除
. -
#Definition ⇒ Object
- 0:保留
- 1:去除
- 0:保留
- 1:去除
. -
#EnhanceConfig ⇒ Object
- 0:保留
- 1:去除
- 0:保留
- 1:去除
. -
#Name ⇒ Object
- 0:保留
- 1:去除
- 0:保留
- 1:去除
. -
#RemoveAudio ⇒ Object
- 0:保留
- 1:去除
- 0:保留
- 1:去除
. -
#RemoveVideo ⇒ Object
- 0:保留
- 1:去除
- 0:保留
- 1:去除
. -
#TEHDConfig ⇒ Object
- 0:保留
- 1:去除
- 0:保留
- 1:去除
. -
#VideoTemplate ⇒ Object
- 0:保留
- 1:去除
- 0:保留
- 1:去除
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(definition = nil, container = nil, name = nil, comment = nil, removevideo = nil, removeaudio = nil, videotemplate = nil, audiotemplate = nil, tehdconfig = nil, enhanceconfig = nil) ⇒ ModifyTranscodeTemplateRequest
constructor
A new instance of ModifyTranscodeTemplateRequest.
Constructor Details
#initialize(definition = nil, container = nil, name = nil, comment = nil, removevideo = nil, removeaudio = nil, videotemplate = nil, audiotemplate = nil, tehdconfig = nil, enhanceconfig = nil) ⇒ ModifyTranscodeTemplateRequest
Returns a new instance of ModifyTranscodeTemplateRequest.
23427 23428 23429 23430 23431 23432 23433 23434 23435 23436 23437 23438 |
# File 'lib/v20190612/models.rb', line 23427 def initialize(definition=nil, container=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, enhanceconfig=nil) @Definition = definition @Container = container @Name = name @Comment = comment @RemoveVideo = removevideo @RemoveAudio = removeaudio @VideoTemplate = videotemplate @AudioTemplate = audiotemplate @TEHDConfig = tehdconfig @EnhanceConfig = enhanceconfig end |
Instance Attribute Details
#AudioTemplate ⇒ Object
23425 23426 23427 |
# File 'lib/v20190612/models.rb', line 23425 def AudioTemplate @AudioTemplate end |
#Comment ⇒ Object
23425 23426 23427 |
# File 'lib/v20190612/models.rb', line 23425 def Comment @Comment end |
#Container ⇒ Object
23425 23426 23427 |
# File 'lib/v20190612/models.rb', line 23425 def Container @Container end |
#Definition ⇒ Object
23425 23426 23427 |
# File 'lib/v20190612/models.rb', line 23425 def Definition @Definition end |
#EnhanceConfig ⇒ Object
23425 23426 23427 |
# File 'lib/v20190612/models.rb', line 23425 def EnhanceConfig @EnhanceConfig end |
#Name ⇒ Object
23425 23426 23427 |
# File 'lib/v20190612/models.rb', line 23425 def Name @Name end |
#RemoveAudio ⇒ Object
23425 23426 23427 |
# File 'lib/v20190612/models.rb', line 23425 def RemoveAudio @RemoveAudio end |
#RemoveVideo ⇒ Object
23425 23426 23427 |
# File 'lib/v20190612/models.rb', line 23425 def RemoveVideo @RemoveVideo end |
#TEHDConfig ⇒ Object
23425 23426 23427 |
# File 'lib/v20190612/models.rb', line 23425 def TEHDConfig @TEHDConfig end |
#VideoTemplate ⇒ Object
23425 23426 23427 |
# File 'lib/v20190612/models.rb', line 23425 def VideoTemplate @VideoTemplate end |
Instance Method Details
#deserialize(params) ⇒ Object
23440 23441 23442 23443 23444 23445 23446 23447 23448 23449 23450 23451 23452 23453 23454 23455 23456 23457 23458 23459 23460 23461 23462 23463 |
# File 'lib/v20190612/models.rb', line 23440 def deserialize(params) @Definition = params['Definition'] @Container = params['Container'] @Name = params['Name'] @Comment = params['Comment'] @RemoveVideo = params['RemoveVideo'] @RemoveAudio = params['RemoveAudio'] unless params['VideoTemplate'].nil? @VideoTemplate = VideoTemplateInfoForUpdate.new @VideoTemplate.deserialize(params['VideoTemplate']) end unless params['AudioTemplate'].nil? @AudioTemplate = AudioTemplateInfoForUpdate.new @AudioTemplate.deserialize(params['AudioTemplate']) end unless params['TEHDConfig'].nil? @TEHDConfig = TEHDConfigForUpdate.new @TEHDConfig.deserialize(params['TEHDConfig']) end unless params['EnhanceConfig'].nil? @EnhanceConfig = EnhanceConfig.new @EnhanceConfig.deserialize(params['EnhanceConfig']) end end |