Class: TencentCloud::Mps::V20190612::AnimatedGraphicsTemplate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AnimatedGraphicsTemplate
- Defined in:
- lib/v20190612/models.rb
Overview
转动图模板详情。
Instance Attribute Summary collapse
-
#Comment ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。. -
#CreateTime ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。. -
#Definition ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。. -
#Format ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。. -
#Fps ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。. -
#Height ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。. -
#Name ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。. -
#Quality ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。. -
#ResolutionAdaptive ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。. -
#Type ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。. -
#UpdateTime ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。. -
#Width ⇒ Object
- Preset:系统预置模板;
- Custom:用户自定义模板。
- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- 当 Width、Height 均为 0,则分辨率同源;
- 当 Width 为 0,Height 非 0,则 Width 按比例缩放;
- 当 Width 非 0,Height 为 0,则 Height 按比例缩放;
- 当 Width、Height 均非 0,则分辨率按用户指定。
默认值:0。- open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;
- close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。
默认值:open。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(definition = nil, type = nil, name = nil, comment = nil, width = nil, height = nil, resolutionadaptive = nil, format = nil, fps = nil, quality = nil, createtime = nil, updatetime = nil) ⇒ AnimatedGraphicsTemplate
constructor
A new instance of AnimatedGraphicsTemplate.
Constructor Details
#initialize(definition = nil, type = nil, name = nil, comment = nil, width = nil, height = nil, resolutionadaptive = nil, format = nil, fps = nil, quality = nil, createtime = nil, updatetime = nil) ⇒ AnimatedGraphicsTemplate
Returns a new instance of AnimatedGraphicsTemplate.
5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 |
# File 'lib/v20190612/models.rb', line 5171 def initialize(definition=nil, type=nil, name=nil, comment=nil, width=nil, height=nil, resolutionadaptive=nil, format=nil, fps=nil, quality=nil, createtime=nil, updatetime=nil) @Definition = definition @Type = type @Name = name @Comment = comment @Width = width @Height = height @ResolutionAdaptive = resolutionadaptive @Format = format @Fps = fps @Quality = quality @CreateTime = createtime @UpdateTime = updatetime end |
Instance Attribute Details
#Comment ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def Comment @Comment end |
#CreateTime ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def CreateTime @CreateTime end |
#Definition ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def Definition @Definition end |
#Format ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def Format @Format end |
#Fps ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def Fps @Fps end |
#Height ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def Height @Height end |
#Name ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def Name @Name end |
#Quality ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def Quality @Quality end |
#ResolutionAdaptive ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def ResolutionAdaptive @ResolutionAdaptive end |
#Type ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def Type @Type end |
#UpdateTime ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def UpdateTime @UpdateTime end |
#Width ⇒ Object
5169 5170 5171 |
# File 'lib/v20190612/models.rb', line 5169 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 |
# File 'lib/v20190612/models.rb', line 5186 def deserialize(params) @Definition = params['Definition'] @Type = params['Type'] @Name = params['Name'] @Comment = params['Comment'] @Width = params['Width'] @Height = params['Height'] @ResolutionAdaptive = params['ResolutionAdaptive'] @Format = params['Format'] @Fps = params['Fps'] @Quality = params['Quality'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] end |