Class: TencentCloud::Vod::V20180717::JustInTimeTranscodeTemplate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::JustInTimeTranscodeTemplate
- Defined in:
- lib/v20180717/models.rb
Overview
即时转码模板详情。
Instance Attribute Summary collapse
- #Comment ⇒ Object
- #Name ⇒ Object
- #Type ⇒ Object
- #VideoConfigure ⇒ Object
- #WatermarkConfigure ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, name = nil, comment = nil, videoconfigure = nil, watermarkconfigure = nil) ⇒ JustInTimeTranscodeTemplate
constructor
A new instance of JustInTimeTranscodeTemplate.
Constructor Details
#initialize(type = nil, name = nil, comment = nil, videoconfigure = nil, watermarkconfigure = nil) ⇒ JustInTimeTranscodeTemplate
Returns a new instance of JustInTimeTranscodeTemplate.
17822 17823 17824 17825 17826 17827 17828 |
# File 'lib/v20180717/models.rb', line 17822 def initialize(type=nil, name=nil, comment=nil, videoconfigure=nil, watermarkconfigure=nil) @Type = type @Name = name @Comment = comment @VideoConfigure = videoconfigure @WatermarkConfigure = watermarkconfigure end |
Instance Attribute Details
#Comment ⇒ Object
17820 17821 17822 |
# File 'lib/v20180717/models.rb', line 17820 def Comment @Comment end |
#Name ⇒ Object
17820 17821 17822 |
# File 'lib/v20180717/models.rb', line 17820 def Name @Name end |
#Type ⇒ Object
17820 17821 17822 |
# File 'lib/v20180717/models.rb', line 17820 def Type @Type end |
#VideoConfigure ⇒ Object
17820 17821 17822 |
# File 'lib/v20180717/models.rb', line 17820 def VideoConfigure @VideoConfigure end |
#WatermarkConfigure ⇒ Object
17820 17821 17822 |
# File 'lib/v20180717/models.rb', line 17820 def WatermarkConfigure @WatermarkConfigure end |
Instance Method Details
#deserialize(params) ⇒ Object
17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 |
# File 'lib/v20180717/models.rb', line 17830 def deserialize(params) @Type = params['Type'] @Name = params['Name'] @Comment = params['Comment'] unless params['VideoConfigure'].nil? @VideoConfigure = VideoConfigureInfo.new @VideoConfigure.deserialize(params['VideoConfigure']) end unless params['WatermarkConfigure'].nil? @WatermarkConfigure = WatermarkConfigureData.new @WatermarkConfigure.deserialize(params['WatermarkConfigure']) end end |