Class: TencentCloud::Mps::V20190612::CreateAnimatedGraphicsTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::CreateAnimatedGraphicsTemplateRequest
- Defined in:
- lib/v20190612/models.rb
Overview
CreateAnimatedGraphicsTemplate请求参数结构体
Instance Attribute Summary collapse
-
#Comment ⇒ Object
- 当 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
- 当 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
- 当 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
- 当 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
- 当 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
- 当 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
- 当 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
- 当 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(fps = nil, width = nil, height = nil, resolutionadaptive = nil, format = nil, quality = nil, name = nil, comment = nil) ⇒ CreateAnimatedGraphicsTemplateRequest
constructor
A new instance of CreateAnimatedGraphicsTemplateRequest.
Constructor Details
#initialize(fps = nil, width = nil, height = nil, resolutionadaptive = nil, format = nil, quality = nil, name = nil, comment = nil) ⇒ CreateAnimatedGraphicsTemplateRequest
Returns a new instance of CreateAnimatedGraphicsTemplateRequest.
8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 |
# File 'lib/v20190612/models.rb', line 8032 def initialize(fps=nil, width=nil, height=nil, resolutionadaptive=nil, format=nil, quality=nil, name=nil, comment=nil) @Fps = fps @Width = width @Height = height @ResolutionAdaptive = resolutionadaptive @Format = format @Quality = quality @Name = name @Comment = comment end |
Instance Attribute Details
#Comment ⇒ Object
8030 8031 8032 |
# File 'lib/v20190612/models.rb', line 8030 def Comment @Comment end |
#Format ⇒ Object
8030 8031 8032 |
# File 'lib/v20190612/models.rb', line 8030 def Format @Format end |
#Fps ⇒ Object
8030 8031 8032 |
# File 'lib/v20190612/models.rb', line 8030 def Fps @Fps end |
#Height ⇒ Object
8030 8031 8032 |
# File 'lib/v20190612/models.rb', line 8030 def Height @Height end |
#Name ⇒ Object
8030 8031 8032 |
# File 'lib/v20190612/models.rb', line 8030 def Name @Name end |
#Quality ⇒ Object
8030 8031 8032 |
# File 'lib/v20190612/models.rb', line 8030 def Quality @Quality end |
#ResolutionAdaptive ⇒ Object
8030 8031 8032 |
# File 'lib/v20190612/models.rb', line 8030 def ResolutionAdaptive @ResolutionAdaptive end |
#Width ⇒ Object
8030 8031 8032 |
# File 'lib/v20190612/models.rb', line 8030 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 |
# File 'lib/v20190612/models.rb', line 8043 def deserialize(params) @Fps = params['Fps'] @Width = params['Width'] @Height = params['Height'] @ResolutionAdaptive = params['ResolutionAdaptive'] @Format = params['Format'] @Quality = params['Quality'] @Name = params['Name'] @Comment = params['Comment'] end |