Class: TencentCloud::Mps::V20190612::MediaImageSpriteItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::MediaImageSpriteItem
- Defined in:
- lib/v20190612/models.rb
Overview
雪碧图信息
Instance Attribute Summary collapse
- #Definition ⇒ Object
- #Height ⇒ Object
- #ImagePathSet ⇒ Object
- #Storage ⇒ Object
- #TotalCount ⇒ Object
- #WebVttPath ⇒ Object
- #Width ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(definition = nil, height = nil, width = nil, totalcount = nil, imagepathset = nil, webvttpath = nil, storage = nil) ⇒ MediaImageSpriteItem
constructor
A new instance of MediaImageSpriteItem.
Constructor Details
#initialize(definition = nil, height = nil, width = nil, totalcount = nil, imagepathset = nil, webvttpath = nil, storage = nil) ⇒ MediaImageSpriteItem
Returns a new instance of MediaImageSpriteItem.
20207 20208 20209 20210 20211 20212 20213 20214 20215 |
# File 'lib/v20190612/models.rb', line 20207 def initialize(definition=nil, height=nil, width=nil, totalcount=nil, imagepathset=nil, webvttpath=nil, storage=nil) @Definition = definition @Height = height @Width = width @TotalCount = totalcount @ImagePathSet = imagepathset @WebVttPath = webvttpath @Storage = storage end |
Instance Attribute Details
#Definition ⇒ Object
20205 20206 20207 |
# File 'lib/v20190612/models.rb', line 20205 def Definition @Definition end |
#Height ⇒ Object
20205 20206 20207 |
# File 'lib/v20190612/models.rb', line 20205 def Height @Height end |
#ImagePathSet ⇒ Object
20205 20206 20207 |
# File 'lib/v20190612/models.rb', line 20205 def ImagePathSet @ImagePathSet end |
#Storage ⇒ Object
20205 20206 20207 |
# File 'lib/v20190612/models.rb', line 20205 def Storage @Storage end |
#TotalCount ⇒ Object
20205 20206 20207 |
# File 'lib/v20190612/models.rb', line 20205 def TotalCount @TotalCount end |
#WebVttPath ⇒ Object
20205 20206 20207 |
# File 'lib/v20190612/models.rb', line 20205 def WebVttPath @WebVttPath end |
#Width ⇒ Object
20205 20206 20207 |
# File 'lib/v20190612/models.rb', line 20205 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 20228 |
# File 'lib/v20190612/models.rb', line 20217 def deserialize(params) @Definition = params['Definition'] @Height = params['Height'] @Width = params['Width'] @TotalCount = params['TotalCount'] @ImagePathSet = params['ImagePathSet'] @WebVttPath = params['WebVttPath'] unless params['Storage'].nil? @Storage = TaskOutputStorage.new @Storage.deserialize(params['Storage']) end end |