Class: TencentCloud::Cme::V20191029::VideoEditTemplateMaterial
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::VideoEditTemplateMaterial
- Defined in:
- lib/v20191029/models.rb
Overview
视频编辑模板素材信息。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(aspectratio = nil, slotset = nil, previewvideourl = nil) ⇒ VideoEditTemplateMaterial
constructor
A new instance of VideoEditTemplateMaterial.
Constructor Details
#initialize(aspectratio = nil, slotset = nil, previewvideourl = nil) ⇒ VideoEditTemplateMaterial
Returns a new instance of VideoEditTemplateMaterial.
6291 6292 6293 6294 6295 |
# File 'lib/v20191029/models.rb', line 6291 def initialize(aspectratio=nil, slotset=nil, previewvideourl=nil) @AspectRatio = aspectratio @SlotSet = slotset @PreviewVideoUrl = previewvideourl end |
Instance Attribute Details
#AspectRatio ⇒ Object
6289 6290 6291 |
# File 'lib/v20191029/models.rb', line 6289 def AspectRatio @AspectRatio end |
#PreviewVideoUrl ⇒ Object
6289 6290 6291 |
# File 'lib/v20191029/models.rb', line 6289 def PreviewVideoUrl @PreviewVideoUrl end |
#SlotSet ⇒ Object
6289 6290 6291 |
# File 'lib/v20191029/models.rb', line 6289 def SlotSet @SlotSet end |
Instance Method Details
#deserialize(params) ⇒ Object
6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 |
# File 'lib/v20191029/models.rb', line 6297 def deserialize(params) @AspectRatio = params['AspectRatio'] unless params['SlotSet'].nil? @SlotSet = [] params['SlotSet'].each do |i| slotinfo_tmp = SlotInfo.new slotinfo_tmp.deserialize(i) @SlotSet << slotinfo_tmp end end @PreviewVideoUrl = params['PreviewVideoUrl'] end |