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.



19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
# File 'lib/v20190612/models.rb', line 19137

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:
  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

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

  • EndTimeOffset:

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



19135
19136
19137
# File 'lib/v20190612/models.rb', line 19135

def Bitrate
  @Bitrate
end

#ContainerObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:
  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

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

  • EndTimeOffset:

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



19135
19136
19137
# File 'lib/v20190612/models.rb', line 19135

def Container
  @Container
end

#DefinitionObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:
  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

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

  • EndTimeOffset:

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



19135
19136
19137
# File 'lib/v20190612/models.rb', line 19135

def Definition
  @Definition
end

#EndTimeOffsetObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:
  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

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

  • EndTimeOffset:

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



19135
19136
19137
# File 'lib/v20190612/models.rb', line 19135

def EndTimeOffset
  @EndTimeOffset
end

#HeightObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:
  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

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

  • EndTimeOffset:

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



19135
19136
19137
# File 'lib/v20190612/models.rb', line 19135

def Height
  @Height
end

#Md5Object

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:
  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

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

  • EndTimeOffset:

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



19135
19136
19137
# File 'lib/v20190612/models.rb', line 19135

def Md5
  @Md5
end

#PathObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:
  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

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

  • EndTimeOffset:

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



19135
19136
19137
# File 'lib/v20190612/models.rb', line 19135

def Path
  @Path
end

#SizeObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:
  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

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

  • EndTimeOffset:

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



19135
19136
19137
# File 'lib/v20190612/models.rb', line 19135

def Size
  @Size
end

#StartTimeOffsetObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:
  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

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

  • EndTimeOffset:

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



19135
19136
19137
# File 'lib/v20190612/models.rb', line 19135

def StartTimeOffset
  @StartTimeOffset
end

#StorageObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:
  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

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

  • EndTimeOffset:

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



19135
19136
19137
# File 'lib/v20190612/models.rb', line 19135

def Storage
  @Storage
end

#WidthObject

Parameters:

  • Storage:

    转动图文件的存储位置。

  • Path:

    转动图的文件路径。

  • Definition:
  • Container:

    动图格式,如 gif。

  • Height:

    动图的高度,单位:px。

  • Width:

    动图的宽度,单位:px。

  • Bitrate:

    动图码率,单位:bps。

  • Size:

    动图大小,单位:字节。

  • Md5:

    动图的md5值。

  • StartTimeOffset:

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

  • EndTimeOffset:

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



19135
19136
19137
# File 'lib/v20190612/models.rb', line 19135

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
# File 'lib/v20190612/models.rb', line 19151

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