Class: TencentCloud::Mps::V20190612::MediaAnimatedGraphicsItem

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

Overview

视频转动图结果信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(storage = nil, path = nil, definition = nil, container = nil, height = nil, width = nil, bitrate = nil, size = nil, md5 = nil, starttimeoffset = nil, endtimeoffset = nil) ⇒ MediaAnimatedGraphicsItem

Returns a new instance of MediaAnimatedGraphicsItem.



20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
# File 'lib/v20190612/models.rb', line 20216

def initialize(storage=nil, path=nil, definition=nil, container=nil, height=nil, width=nil, bitrate=nil, size=nil, md5=nil, starttimeoffset=nil, endtimeoffset=nil)
  @Storage = storage
  @Path = path
  @Definition = definition
  @Container = container
  @Height = height
  @Width = width
  @Bitrate = bitrate
  @Size = size
  @Md5 = md5
  @StartTimeOffset = starttimeoffset
  @EndTimeOffset = endtimeoffset
end

Instance Attribute Details

#BitrateObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:

    转动图模板 ID,参见转动图参数模板

  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

    动图在视频中的起始时间偏移,单位:秒。

  • EndTimeOffset:

    动图在视频中的结束时间偏移,单位:秒。



20214
20215
20216
# File 'lib/v20190612/models.rb', line 20214

def Bitrate
  @Bitrate
end

#ContainerObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:

    转动图模板 ID,参见转动图参数模板

  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

    动图在视频中的起始时间偏移,单位:秒。

  • EndTimeOffset:

    动图在视频中的结束时间偏移,单位:秒。



20214
20215
20216
# File 'lib/v20190612/models.rb', line 20214

def Container
  @Container
end

#DefinitionObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:

    转动图模板 ID,参见转动图参数模板

  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

    动图在视频中的起始时间偏移,单位:秒。

  • EndTimeOffset:

    动图在视频中的结束时间偏移,单位:秒。



20214
20215
20216
# File 'lib/v20190612/models.rb', line 20214

def Definition
  @Definition
end

#EndTimeOffsetObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:

    转动图模板 ID,参见转动图参数模板

  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

    动图在视频中的起始时间偏移,单位:秒。

  • EndTimeOffset:

    动图在视频中的结束时间偏移,单位:秒。



20214
20215
20216
# File 'lib/v20190612/models.rb', line 20214

def EndTimeOffset
  @EndTimeOffset
end

#HeightObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:

    转动图模板 ID,参见转动图参数模板

  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

    动图在视频中的起始时间偏移,单位:秒。

  • EndTimeOffset:

    动图在视频中的结束时间偏移,单位:秒。



20214
20215
20216
# File 'lib/v20190612/models.rb', line 20214

def Height
  @Height
end

#Md5Object

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:

    转动图模板 ID,参见转动图参数模板

  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

    动图在视频中的起始时间偏移,单位:秒。

  • EndTimeOffset:

    动图在视频中的结束时间偏移,单位:秒。



20214
20215
20216
# File 'lib/v20190612/models.rb', line 20214

def Md5
  @Md5
end

#PathObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:

    转动图模板 ID,参见转动图参数模板

  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

    动图在视频中的起始时间偏移,单位:秒。

  • EndTimeOffset:

    动图在视频中的结束时间偏移,单位:秒。



20214
20215
20216
# File 'lib/v20190612/models.rb', line 20214

def Path
  @Path
end

#SizeObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:

    转动图模板 ID,参见转动图参数模板

  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

    动图在视频中的起始时间偏移,单位:秒。

  • EndTimeOffset:

    动图在视频中的结束时间偏移,单位:秒。



20214
20215
20216
# File 'lib/v20190612/models.rb', line 20214

def Size
  @Size
end

#StartTimeOffsetObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:

    转动图模板 ID,参见转动图参数模板

  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

    动图在视频中的起始时间偏移,单位:秒。

  • EndTimeOffset:

    动图在视频中的结束时间偏移,单位:秒。



20214
20215
20216
# File 'lib/v20190612/models.rb', line 20214

def StartTimeOffset
  @StartTimeOffset
end

#StorageObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:

    转动图模板 ID,参见转动图参数模板

  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

    动图在视频中的起始时间偏移,单位:秒。

  • EndTimeOffset:

    动图在视频中的结束时间偏移,单位:秒。



20214
20215
20216
# File 'lib/v20190612/models.rb', line 20214

def Storage
  @Storage
end

#WidthObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:

    转动图模板 ID,参见转动图参数模板

  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

    动图在视频中的起始时间偏移,单位:秒。

  • EndTimeOffset:

    动图在视频中的结束时间偏移,单位:秒。



20214
20215
20216
# File 'lib/v20190612/models.rb', line 20214

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
# File 'lib/v20190612/models.rb', line 20230

def deserialize(params)
  unless params['Storage'].nil?
    @Storage = TaskOutputStorage.new
    @Storage.deserialize(params['Storage'])
  end
  @Path = params['Path']
  @Definition = params['Definition']
  @Container = params['Container']
  @Height = params['Height']
  @Width = params['Width']
  @Bitrate = params['Bitrate']
  @Size = params['Size']
  @Md5 = params['Md5']
  @StartTimeOffset = params['StartTimeOffset']
  @EndTimeOffset = params['EndTimeOffset']
end