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.
20508 20509 20510 20511 20512 20513 20514 20515 20516 |
# File 'lib/v20190612/models.rb', line 20508 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
20506 20507 20508 |
# File 'lib/v20190612/models.rb', line 20506 def Definition @Definition end |
#Height ⇒ Object
20506 20507 20508 |
# File 'lib/v20190612/models.rb', line 20506 def Height @Height end |
#ImagePathSet ⇒ Object
20506 20507 20508 |
# File 'lib/v20190612/models.rb', line 20506 def ImagePathSet @ImagePathSet end |
#Storage ⇒ Object
20506 20507 20508 |
# File 'lib/v20190612/models.rb', line 20506 def Storage @Storage end |
#TotalCount ⇒ Object
20506 20507 20508 |
# File 'lib/v20190612/models.rb', line 20506 def TotalCount @TotalCount end |
#WebVttPath ⇒ Object
20506 20507 20508 |
# File 'lib/v20190612/models.rb', line 20506 def WebVttPath @WebVttPath end |
#Width ⇒ Object
20506 20507 20508 |
# File 'lib/v20190612/models.rb', line 20506 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
20518 20519 20520 20521 20522 20523 20524 20525 20526 20527 20528 20529 |
# File 'lib/v20190612/models.rb', line 20518 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 |