Class: TencentCloud::Ape::V20200513::ImageItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200513/models.rb

Overview

图片信息条目

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DescriptionObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Keywords:

    图片关键词

  • Width:

  • Height:



629
630
631
# File 'lib/v20200513/models.rb', line 629

def Description
  @Description
end

#HeightObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Keywords:

    图片关键词

  • Width:

  • Height:



629
630
631
# File 'lib/v20200513/models.rb', line 629

def Height
  @Height
end

#ImageIdObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Keywords:

    图片关键词

  • Width:

  • Height:



629
630
631
# File 'lib/v20200513/models.rb', line 629

def ImageId
  @ImageId
end

#KeywordsObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Keywords:

    图片关键词

  • Width:

  • Height:



629
630
631
# File 'lib/v20200513/models.rb', line 629

def Keywords
  @Keywords
end

#PreviewUrlObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Keywords:

    图片关键词

  • Width:

  • Height:



629
630
631
# File 'lib/v20200513/models.rb', line 629

def PreviewUrl
  @PreviewUrl
end

#ThumbUrlObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Keywords:

    图片关键词

  • Width:

  • Height:



629
630
631
# File 'lib/v20200513/models.rb', line 629

def ThumbUrl
  @ThumbUrl
end

#TitleObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Keywords:

    图片关键词

  • Width:

  • Height:



629
630
631
# File 'lib/v20200513/models.rb', line 629

def Title
  @Title
end

#VendorObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Keywords:

    图片关键词

  • Width:

  • Height:



629
630
631
# File 'lib/v20200513/models.rb', line 629

def Vendor
  @Vendor
end

#WidthObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Keywords:

    图片关键词

  • Width:

  • Height:



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