Class: TencentCloud::Mps::V20190612::TranscodeTemplate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::TranscodeTemplate
- Defined in:
- lib/v20190612/models.rb
Overview
转码模板详情
Instance Attribute Summary collapse
-
#AliasName ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#AudioTemplate ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#Comment ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#Container ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#ContainerType ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#CreateTime ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#Definition ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#EnhanceConfig ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#Name ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#RemoveAudio ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#RemoveVideo ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#TEHDConfig ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#Type ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#UpdateTime ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。. -
#VideoTemplate ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 0:保留;
- 1:去除。
- 0:保留;
- 1:去除。
注意:此字段可能返回 null,表示取不到有效值。- Video:视频格式,可以同时包含视频流和音频流的封装格式;
- PureAudio:纯音频格式,只能包含音频流的封装格式板。
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(definition = nil, container = nil, name = nil, comment = nil, type = nil, removevideo = nil, removeaudio = nil, videotemplate = nil, audiotemplate = nil, tehdconfig = nil, containertype = nil, createtime = nil, updatetime = nil, enhanceconfig = nil, aliasname = nil) ⇒ TranscodeTemplate
constructor
A new instance of TranscodeTemplate.
Constructor Details
#initialize(definition = nil, container = nil, name = nil, comment = nil, type = nil, removevideo = nil, removeaudio = nil, videotemplate = nil, audiotemplate = nil, tehdconfig = nil, containertype = nil, createtime = nil, updatetime = nil, enhanceconfig = nil, aliasname = nil) ⇒ TranscodeTemplate
Returns a new instance of TranscodeTemplate.
31152 31153 31154 31155 31156 31157 31158 31159 31160 31161 31162 31163 31164 31165 31166 31167 31168 |
# File 'lib/v20190612/models.rb', line 31152 def initialize(definition=nil, container=nil, name=nil, comment=nil, type=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, containertype=nil, createtime=nil, updatetime=nil, enhanceconfig=nil, aliasname=nil) @Definition = definition @Container = container @Name = name @Comment = comment @Type = type @RemoveVideo = removevideo @RemoveAudio = removeaudio @VideoTemplate = videotemplate @AudioTemplate = audiotemplate @TEHDConfig = tehdconfig @ContainerType = containertype @CreateTime = createtime @UpdateTime = updatetime @EnhanceConfig = enhanceconfig @AliasName = aliasname end |
Instance Attribute Details
#AliasName ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def AliasName @AliasName end |
#AudioTemplate ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def AudioTemplate @AudioTemplate end |
#Comment ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def Comment @Comment end |
#Container ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def Container @Container end |
#ContainerType ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def ContainerType @ContainerType end |
#CreateTime ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def CreateTime @CreateTime end |
#Definition ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def Definition @Definition end |
#EnhanceConfig ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def EnhanceConfig @EnhanceConfig end |
#Name ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def Name @Name end |
#RemoveAudio ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def RemoveAudio @RemoveAudio end |
#RemoveVideo ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def RemoveVideo @RemoveVideo end |
#TEHDConfig ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def TEHDConfig @TEHDConfig end |
#Type ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def Type @Type end |
#UpdateTime ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def UpdateTime @UpdateTime end |
#VideoTemplate ⇒ Object
31150 31151 31152 |
# File 'lib/v20190612/models.rb', line 31150 def VideoTemplate @VideoTemplate end |
Instance Method Details
#deserialize(params) ⇒ Object
31170 31171 31172 31173 31174 31175 31176 31177 31178 31179 31180 31181 31182 31183 31184 31185 31186 31187 31188 31189 31190 31191 31192 31193 31194 31195 31196 31197 31198 |
# File 'lib/v20190612/models.rb', line 31170 def deserialize(params) @Definition = params['Definition'] @Container = params['Container'] @Name = params['Name'] @Comment = params['Comment'] @Type = params['Type'] @RemoveVideo = params['RemoveVideo'] @RemoveAudio = params['RemoveAudio'] unless params['VideoTemplate'].nil? @VideoTemplate = VideoTemplateInfo.new @VideoTemplate.deserialize(params['VideoTemplate']) end unless params['AudioTemplate'].nil? @AudioTemplate = AudioTemplateInfo.new @AudioTemplate.deserialize(params['AudioTemplate']) end unless params['TEHDConfig'].nil? @TEHDConfig = TEHDConfig.new @TEHDConfig.deserialize(params['TEHDConfig']) end @ContainerType = params['ContainerType'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] unless params['EnhanceConfig'].nil? @EnhanceConfig = EnhanceConfig.new @EnhanceConfig.deserialize(params['EnhanceConfig']) end @AliasName = params['AliasName'] end |