Class: TencentCloud::Ape::V20200513::ImageItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ape::V20200513::ImageItem
- Defined in:
- lib/v20200513/models.rb
Overview
图片信息条目
Instance Attribute Summary collapse
- #Description ⇒ Object
- #Height ⇒ Object
- #ImageId ⇒ Object
- #Keywords ⇒ Object
- #PreviewUrl ⇒ Object
- #ThumbUrl ⇒ Object
- #Title ⇒ Object
- #Vendor ⇒ Object
- #Width ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imageid = nil, title = nil, description = nil, previewurl = nil, thumburl = nil, vendor = nil, keywords = nil, width = nil, height = nil) ⇒ ImageItem
constructor
A new instance of ImageItem.
Constructor Details
#initialize(imageid = nil, title = nil, description = nil, previewurl = nil, thumburl = nil, vendor = nil, keywords = nil, width = nil, height = nil) ⇒ ImageItem
Returns a new instance of ImageItem.
631 632 633 634 635 636 637 638 639 640 641 |
# File 'lib/v20200513/models.rb', line 631 def initialize(imageid=nil, title=nil, description=nil, previewurl=nil, thumburl=nil, vendor=nil, keywords=nil, width=nil, height=nil) @ImageId = imageid @Title = title @Description = description @PreviewUrl = previewurl @ThumbUrl = thumburl @Vendor = vendor @Keywords = keywords @Width = width @Height = height end |
Instance Attribute Details
#Description ⇒ Object
629 630 631 |
# File 'lib/v20200513/models.rb', line 629 def Description @Description end |
#Height ⇒ Object
629 630 631 |
# File 'lib/v20200513/models.rb', line 629 def Height @Height end |
#ImageId ⇒ Object
629 630 631 |
# File 'lib/v20200513/models.rb', line 629 def ImageId @ImageId end |
#Keywords ⇒ Object
629 630 631 |
# File 'lib/v20200513/models.rb', line 629 def Keywords @Keywords end |
#PreviewUrl ⇒ Object
629 630 631 |
# File 'lib/v20200513/models.rb', line 629 def PreviewUrl @PreviewUrl end |
#ThumbUrl ⇒ Object
629 630 631 |
# File 'lib/v20200513/models.rb', line 629 def ThumbUrl @ThumbUrl end |
#Title ⇒ Object
629 630 631 |
# File 'lib/v20200513/models.rb', line 629 def Title @Title end |
#Vendor ⇒ Object
629 630 631 |
# File 'lib/v20200513/models.rb', line 629 def Vendor @Vendor end |
#Width ⇒ Object
629 630 631 |
# File 'lib/v20200513/models.rb', line 629 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
643 644 645 646 647 648 649 650 651 652 653 |
# File 'lib/v20200513/models.rb', line 643 def deserialize(params) @ImageId = params['ImageId'] @Title = params['Title'] @Description = params['Description'] @PreviewUrl = params['PreviewUrl'] @ThumbUrl = params['ThumbUrl'] @Vendor = params['Vendor'] @Keywords = params['Keywords'] @Width = params['Width'] @Height = params['Height'] end |