Class: TencentCloud::Vod::V20180717::AnimatedGraphicsTemplate

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180717/models.rb

Overview

转动图模板详情。

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'lib/v20180717/models.rb', line 4072

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

#CommentObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def Comment
  @Comment
end

#CreateTimeObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def CreateTime
  @CreateTime
end

#DefinitionObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def Definition
  @Definition
end

#FormatObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def Format
  @Format
end

#FpsObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def Fps
  @Fps
end

#HeightObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def Height
  @Height
end

#NameObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def Name
  @Name
end

#QualityObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def Quality
  @Quality
end

#ResolutionAdaptiveObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def ResolutionAdaptive
  @ResolutionAdaptive
end

#TypeObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def Type
  @Type
end

#UpdateTimeObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def UpdateTime
  @UpdateTime
end

#WidthObject

<li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li> <li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>当 Width、Height 均为 0,则分辨率同源;</li> <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li> <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li> <li>当 Width、Height 均非 0,则分辨率按用户指定。</li> 默认值:0。<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li> <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li> 默认值:open。

Parameters:

  • Definition:

    转动图模板唯一标识。

  • Type:

    模板类型,取值范围:

  • Name:

    转动图模板名称。

  • Comment:

    转动图模板描述信息。

  • Width:

    动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • Height:

    动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。

  • ResolutionAdaptive:

    分辨率自适应,可选值:

  • Format:

    动图格式。

  • Fps:

    帧率。

  • Quality:

    图片质量。

  • CreateTime:

    模板创建时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。

  • UpdateTime:

    模板最后修改时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



4070
4071
4072
# File 'lib/v20180717/models.rb', line 4070

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
# File 'lib/v20180717/models.rb', line 4087

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