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.
6748 6749 6750 6751 |
# File 'lib/v20190612/models.rb', line 6748 def initialize(type=nil, items=nil) @Type = type @Items = items end |
Instance Attribute Details
#Items ⇒ Object
6746 6747 6748 |
# File 'lib/v20190612/models.rb', line 6746 def Items @Items end |
#Type ⇒ Object
6746 6747 6748 |
# File 'lib/v20190612/models.rb', line 6746 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 |
# File 'lib/v20190612/models.rb', line 6753 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 |