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.
16078 16079 16080 16081 16082 16083 16084 |
# File 'lib/v20180717/models.rb', line 16078 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
16076 16077 16078 |
# File 'lib/v20180717/models.rb', line 16076 def Comment @Comment end |
#Name ⇒ Object
16076 16077 16078 |
# File 'lib/v20180717/models.rb', line 16076 def Name @Name end |
#Type ⇒ Object
16076 16077 16078 |
# File 'lib/v20180717/models.rb', line 16076 def Type @Type end |
#VideoConfigure ⇒ Object
16076 16077 16078 |
# File 'lib/v20180717/models.rb', line 16076 def VideoConfigure @VideoConfigure end |
#WatermarkConfigure ⇒ Object
16076 16077 16078 |
# File 'lib/v20180717/models.rb', line 16076 def WatermarkConfigure @WatermarkConfigure end |
Instance Method Details
#deserialize(params) ⇒ Object
16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 |
# File 'lib/v20180717/models.rb', line 16086 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 |