Class: TencentCloud::Ape::V20200513::DescribeImageResponse

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

Overview

DescribeImage返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imageid = nil, title = nil, description = nil, previewurl = nil, thumburl = nil, vendor = nil, marshals = nil, width = nil, height = nil, imageformat = nil, imagesensetype = nil, keywords = nil, layeredgalleryid = nil, orientation = nil, requestid = nil) ⇒ DescribeImageResponse

Returns a new instance of DescribeImageResponse.



394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
# File 'lib/v20200513/models.rb', line 394

def initialize(imageid=nil, title=nil, description=nil, previewurl=nil, thumburl=nil, vendor=nil, marshals=nil, width=nil, height=nil, imageformat=nil, imagesensetype=nil, keywords=nil, layeredgalleryid=nil, orientation=nil, requestid=nil)
  @ImageId = imageid
  @Title = title
  @Description = description
  @PreviewUrl = previewurl
  @ThumbUrl = thumburl
  @Vendor = vendor
  @Marshals = marshals
  @Width = width
  @Height = height
  @ImageFormat = imageformat
  @ImageSenseType = imagesensetype
  @Keywords = keywords
  @LayeredGalleryId = layeredgalleryid
  @Orientation = orientation
  @RequestId = requestid
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def Description
  @Description
end

#HeightObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def Height
  @Height
end

#ImageFormatObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def ImageFormat
  @ImageFormat
end

#ImageIdObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def ImageId
  @ImageId
end

#ImageSenseTypeObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def ImageSenseType
  @ImageSenseType
end

#KeywordsObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def Keywords
  @Keywords
end

#LayeredGalleryIdObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def LayeredGalleryId
  @LayeredGalleryId
end

#MarshalsObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def Marshals
  @Marshals
end

#OrientationObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def Orientation
  @Orientation
end

#PreviewUrlObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def PreviewUrl
  @PreviewUrl
end

#RequestIdObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def RequestId
  @RequestId
end

#ThumbUrlObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def ThumbUrl
  @ThumbUrl
end

#TitleObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def Title
  @Title
end

#VendorObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def Vendor
  @Vendor
end

#WidthObject

Parameters:

  • ImageId:

    图片ID

  • Title:

    图片标题

  • Description:

    图片描述

  • PreviewUrl:

    图片预览链接

  • ThumbUrl:

    图片缩略图

  • Vendor:

    图片供应商

  • Marshals:

    图片售卖组合信息

  • Width:

  • Height:

  • ImageFormat:

    图片格式 jpg/eps/psd/…

  • ImageSenseType:

    图片类型 摄影图片、插画、漫画、图表、矢量、psd、全景、gif、模板

  • Keywords:

    关键词,多关键词用空格分隔

  • LayeredGalleryId:

    分层图库id

  • Orientation:

    构图方式:horizontal:横图、vertical:竖图、square:方图

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



392
393
394
# File 'lib/v20200513/models.rb', line 392

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
# File 'lib/v20200513/models.rb', line 412

def deserialize(params)
  @ImageId = params['ImageId']
  @Title = params['Title']
  @Description = params['Description']
  @PreviewUrl = params['PreviewUrl']
  @ThumbUrl = params['ThumbUrl']
  @Vendor = params['Vendor']
  unless params['Marshals'].nil?
    @Marshals = []
    params['Marshals'].each do |i|
      imagemarshal_tmp = ImageMarshal.new
      imagemarshal_tmp.deserialize(i)
      @Marshals << imagemarshal_tmp
    end
  end
  @Width = params['Width']
  @Height = params['Height']
  @ImageFormat = params['ImageFormat']
  @ImageSenseType = params['ImageSenseType']
  @Keywords = params['Keywords']
  @LayeredGalleryId = params['LayeredGalleryId']
  @Orientation = params['Orientation']
  @RequestId = params['RequestId']
end