Class: TencentCloud::Mps::V20190612::ComposeMediaTrack
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ComposeMediaTrack
- Defined in:
- lib/v20190612/models.rb
Overview
视频编辑/合成任务 轨道信息。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, items = nil) ⇒ ComposeMediaTrack
constructor
A new instance of ComposeMediaTrack.
Constructor Details
#initialize(type = nil, items = nil) ⇒ ComposeMediaTrack
Returns a new instance of ComposeMediaTrack.
6687 6688 6689 6690 |
# File 'lib/v20190612/models.rb', line 6687 def initialize(type=nil, items=nil) @Type = type @Items = items end |
Instance Attribute Details
#Items ⇒ Object
6685 6686 6687 |
# File 'lib/v20190612/models.rb', line 6685 def Items @Items end |
#Type ⇒ Object
6685 6686 6687 |
# File 'lib/v20190612/models.rb', line 6685 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 |
# File 'lib/v20190612/models.rb', line 6692 def deserialize(params) @Type = params['Type'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| composemediaitem_tmp = ComposeMediaItem.new composemediaitem_tmp.deserialize(i) @Items << composemediaitem_tmp end end end |