Class: TencentCloud::Cme::V20191029::MediaImageSpriteInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::MediaImageSpriteInfo
- Defined in:
- lib/v20191029/models.rb
Overview
雪碧图
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(height = nil, width = nil, totalcount = nil, imageurlset = nil, webvtturl = nil) ⇒ MediaImageSpriteInfo
constructor
A new instance of MediaImageSpriteInfo.
Constructor Details
#initialize(height = nil, width = nil, totalcount = nil, imageurlset = nil, webvtturl = nil) ⇒ MediaImageSpriteInfo
Returns a new instance of MediaImageSpriteInfo.
4259 4260 4261 4262 4263 4264 4265 |
# File 'lib/v20191029/models.rb', line 4259 def initialize(height=nil, width=nil, totalcount=nil, imageurlset=nil, webvtturl=nil) @Height = height @Width = width @TotalCount = totalcount @ImageUrlSet = imageurlset @WebVttUrl = webvtturl end |
Instance Attribute Details
#Height ⇒ Object
4257 4258 4259 |
# File 'lib/v20191029/models.rb', line 4257 def Height @Height end |
#ImageUrlSet ⇒ Object
4257 4258 4259 |
# File 'lib/v20191029/models.rb', line 4257 def ImageUrlSet @ImageUrlSet end |
#TotalCount ⇒ Object
4257 4258 4259 |
# File 'lib/v20191029/models.rb', line 4257 def TotalCount @TotalCount end |
#WebVttUrl ⇒ Object
4257 4258 4259 |
# File 'lib/v20191029/models.rb', line 4257 def WebVttUrl @WebVttUrl end |
#Width ⇒ Object
4257 4258 4259 |
# File 'lib/v20191029/models.rb', line 4257 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
4267 4268 4269 4270 4271 4272 4273 |
# File 'lib/v20191029/models.rb', line 4267 def deserialize(params) @Height = params['Height'] @Width = params['Width'] @TotalCount = params['TotalCount'] @ImageUrlSet = params['ImageUrlSet'] @WebVttUrl = params['WebVttUrl'] end |