Class: TencentCloud::Ape::V20200513::DescribeImageResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ape::V20200513::DescribeImageResponse
- Defined in:
- lib/v20200513/models.rb
Overview
DescribeImage返回参数结构体
Instance Attribute Summary collapse
- #Description ⇒ Object
- #Height ⇒ Object
- #ImageFormat ⇒ Object
- #ImageId ⇒ Object
- #ImageSenseType ⇒ Object
- #Keywords ⇒ Object
- #LayeredGalleryId ⇒ Object
- #Marshals ⇒ Object
- #Orientation ⇒ Object
- #PreviewUrl ⇒ Object
- #RequestId ⇒ 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, marshals = nil, width = nil, height = nil, imageformat = nil, imagesensetype = nil, keywords = nil, layeredgalleryid = nil, orientation = nil, requestid = nil) ⇒ DescribeImageResponse
constructor
A new instance of DescribeImageResponse.
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
#Description ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def Description @Description end |
#Height ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def Height @Height end |
#ImageFormat ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def ImageFormat @ImageFormat end |
#ImageId ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def ImageId @ImageId end |
#ImageSenseType ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def ImageSenseType @ImageSenseType end |
#Keywords ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def Keywords @Keywords end |
#LayeredGalleryId ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def LayeredGalleryId @LayeredGalleryId end |
#Marshals ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def Marshals @Marshals end |
#Orientation ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def Orientation @Orientation end |
#PreviewUrl ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def PreviewUrl @PreviewUrl end |
#RequestId ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def RequestId @RequestId end |
#ThumbUrl ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def ThumbUrl @ThumbUrl end |
#Title ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def Title @Title end |
#Vendor ⇒ Object
392 393 394 |
# File 'lib/v20200513/models.rb', line 392 def Vendor @Vendor end |
#Width ⇒ Object
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 |