Class: TencentCloud::Mps::V20190612::CreateTranscodeTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::CreateTranscodeTemplateRequest
- Defined in:
- lib/v20190612/models.rb
Overview
CreateTranscodeTemplate请求参数结构体
Instance Attribute Summary collapse
-
#AudioTemplate ⇒ Object
- 0:保留
- 1:去除
默认值:0。- 0:保留
- 1:去除
默认值:0。. -
#Comment ⇒ Object
- 0:保留
- 1:去除
默认值:0。- 0:保留
- 1:去除
默认值:0。. -
#Container ⇒ Object
- 0:保留
- 1:去除
默认值:0。- 0:保留
- 1:去除
默认值:0。. -
#EnhanceConfig ⇒ Object
- 0:保留
- 1:去除
默认值:0。- 0:保留
- 1:去除
默认值:0。. -
#Name ⇒ Object
- 0:保留
- 1:去除
默认值:0。- 0:保留
- 1:去除
默认值:0。. -
#RemoveAudio ⇒ Object
- 0:保留
- 1:去除
默认值:0。- 0:保留
- 1:去除
默认值:0。. -
#RemoveVideo ⇒ Object
- 0:保留
- 1:去除
默认值:0。- 0:保留
- 1:去除
默认值:0。. -
#StdExtInfo ⇒ Object
- 0:保留
- 1:去除
默认值:0。- 0:保留
- 1:去除
默认值:0。. -
#TEHDConfig ⇒ Object
- 0:保留
- 1:去除
默认值:0。- 0:保留
- 1:去除
默认值:0。. -
#VideoTemplate ⇒ Object
- 0:保留
- 1:去除
默认值:0。- 0:保留
- 1:去除
默认值:0。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(container = nil, name = nil, comment = nil, removevideo = nil, removeaudio = nil, videotemplate = nil, audiotemplate = nil, tehdconfig = nil, enhanceconfig = nil, stdextinfo = nil) ⇒ CreateTranscodeTemplateRequest
constructor
A new instance of CreateTranscodeTemplateRequest.
Constructor Details
#initialize(container = nil, name = nil, comment = nil, removevideo = nil, removeaudio = nil, videotemplate = nil, audiotemplate = nil, tehdconfig = nil, enhanceconfig = nil, stdextinfo = nil) ⇒ CreateTranscodeTemplateRequest
Returns a new instance of CreateTranscodeTemplateRequest.
10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 |
# File 'lib/v20190612/models.rb', line 10314 def initialize(container=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, enhanceconfig=nil, stdextinfo=nil) @Container = container @Name = name @Comment = comment @RemoveVideo = removevideo @RemoveAudio = removeaudio @VideoTemplate = videotemplate @AudioTemplate = audiotemplate @TEHDConfig = tehdconfig @EnhanceConfig = enhanceconfig @StdExtInfo = stdextinfo end |
Instance Attribute Details
#AudioTemplate ⇒ Object
10312 10313 10314 |
# File 'lib/v20190612/models.rb', line 10312 def AudioTemplate @AudioTemplate end |
#Comment ⇒ Object
10312 10313 10314 |
# File 'lib/v20190612/models.rb', line 10312 def Comment @Comment end |
#Container ⇒ Object
10312 10313 10314 |
# File 'lib/v20190612/models.rb', line 10312 def Container @Container end |
#EnhanceConfig ⇒ Object
10312 10313 10314 |
# File 'lib/v20190612/models.rb', line 10312 def EnhanceConfig @EnhanceConfig end |
#Name ⇒ Object
10312 10313 10314 |
# File 'lib/v20190612/models.rb', line 10312 def Name @Name end |
#RemoveAudio ⇒ Object
10312 10313 10314 |
# File 'lib/v20190612/models.rb', line 10312 def RemoveAudio @RemoveAudio end |
#RemoveVideo ⇒ Object
10312 10313 10314 |
# File 'lib/v20190612/models.rb', line 10312 def RemoveVideo @RemoveVideo end |
#StdExtInfo ⇒ Object
10312 10313 10314 |
# File 'lib/v20190612/models.rb', line 10312 def StdExtInfo @StdExtInfo end |
#TEHDConfig ⇒ Object
10312 10313 10314 |
# File 'lib/v20190612/models.rb', line 10312 def TEHDConfig @TEHDConfig end |
#VideoTemplate ⇒ Object
10312 10313 10314 |
# File 'lib/v20190612/models.rb', line 10312 def VideoTemplate @VideoTemplate end |
Instance Method Details
#deserialize(params) ⇒ Object
10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 |
# File 'lib/v20190612/models.rb', line 10327 def deserialize(params) @Container = params['Container'] @Name = params['Name'] @Comment = params['Comment'] @RemoveVideo = params['RemoveVideo'] @RemoveAudio = params['RemoveAudio'] unless params['VideoTemplate'].nil? @VideoTemplate = VideoTemplateInfo.new @VideoTemplate.deserialize(params['VideoTemplate']) end unless params['AudioTemplate'].nil? @AudioTemplate = AudioTemplateInfo.new @AudioTemplate.deserialize(params['AudioTemplate']) end unless params['TEHDConfig'].nil? @TEHDConfig = TEHDConfig.new @TEHDConfig.deserialize(params['TEHDConfig']) end unless params['EnhanceConfig'].nil? @EnhanceConfig = EnhanceConfig.new @EnhanceConfig.deserialize(params['EnhanceConfig']) end @StdExtInfo = params['StdExtInfo'] end |