Class: TencentCloud::Mps::V20190612::ComposeStyles
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ComposeStyles
- Defined in:
- lib/v20190612/models.rb
Overview
视频编辑/合成任务 样式信息。
Instance Attribute Summary collapse
-
#Id ⇒ Object
注意:允许字母、数字、-、_ 组合,最长 32 字符。
- Subtitle:字幕样式。
. -
#Subtitle ⇒ Object
注意:允许字母、数字、-、_ 组合,最长 32 字符。
- Subtitle:字幕样式。
. -
#Type ⇒ Object
注意:允许字母、数字、-、_ 组合,最长 32 字符。
- Subtitle:字幕样式。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, type = nil, subtitle = nil) ⇒ ComposeStyles
constructor
A new instance of ComposeStyles.
Constructor Details
#initialize(id = nil, type = nil, subtitle = nil) ⇒ ComposeStyles
Returns a new instance of ComposeStyles.
6810 6811 6812 6813 6814 |
# File 'lib/v20190612/models.rb', line 6810 def initialize(id=nil, type=nil, subtitle=nil) @Id = id @Type = type @Subtitle = subtitle end |
Instance Attribute Details
#Id ⇒ Object
注意:允许字母、数字、-、_ 组合,最长 32 字符。
6808 6809 6810 |
# File 'lib/v20190612/models.rb', line 6808 def Id @Id end |
#Subtitle ⇒ Object
注意:允许字母、数字、-、_ 组合,最长 32 字符。
6808 6809 6810 |
# File 'lib/v20190612/models.rb', line 6808 def Subtitle @Subtitle end |
#Type ⇒ Object
注意:允许字母、数字、-、_ 组合,最长 32 字符。
6808 6809 6810 |
# File 'lib/v20190612/models.rb', line 6808 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
6816 6817 6818 6819 6820 6821 6822 6823 |
# File 'lib/v20190612/models.rb', line 6816 def deserialize(params) @Id = params['Id'] @Type = params['Type'] unless params['Subtitle'].nil? @Subtitle = ComposeSubtitleStyle.new @Subtitle.deserialize(params['Subtitle']) end end |