Class: TencentCloud::Tiia::V20190529::ImageInfo

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

Overview

图片信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(entityid = nil, customcontent = nil, tags = nil, picname = nil, score = nil) ⇒ ImageInfo

Returns a new instance of ImageInfo.



1499
1500
1501
1502
1503
1504
1505
# File 'lib/v20190529/models.rb', line 1499

def initialize(entityid=nil, customcontent=nil, tags=nil, picname=nil, score=nil)
  @EntityId = entityid
  @CustomContent = customcontent
  @Tags = tags
  @PicName = picname
  @Score = score
end

Instance Attribute Details

#CustomContentObject

Parameters:

  • EntityId:

    图片名称。

  • CustomContent:

    用户自定义的内容。

  • Tags:

    图片自定义标签,JSON格式。

  • PicName:

    图片名称。

  • Score:

    相似度。



1497
1498
1499
# File 'lib/v20190529/models.rb', line 1497

def CustomContent
  @CustomContent
end

#EntityIdObject

Parameters:

  • EntityId:

    图片名称。

  • CustomContent:

    用户自定义的内容。

  • Tags:

    图片自定义标签,JSON格式。

  • PicName:

    图片名称。

  • Score:

    相似度。



1497
1498
1499
# File 'lib/v20190529/models.rb', line 1497

def EntityId
  @EntityId
end

#PicNameObject

Parameters:

  • EntityId:

    图片名称。

  • CustomContent:

    用户自定义的内容。

  • Tags:

    图片自定义标签,JSON格式。

  • PicName:

    图片名称。

  • Score:

    相似度。



1497
1498
1499
# File 'lib/v20190529/models.rb', line 1497

def PicName
  @PicName
end

#ScoreObject

Parameters:

  • EntityId:

    图片名称。

  • CustomContent:

    用户自定义的内容。

  • Tags:

    图片自定义标签,JSON格式。

  • PicName:

    图片名称。

  • Score:

    相似度。



1497
1498
1499
# File 'lib/v20190529/models.rb', line 1497

def Score
  @Score
end

#TagsObject

Parameters:

  • EntityId:

    图片名称。

  • CustomContent:

    用户自定义的内容。

  • Tags:

    图片自定义标签,JSON格式。

  • PicName:

    图片名称。

  • Score:

    相似度。



1497
1498
1499
# File 'lib/v20190529/models.rb', line 1497

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



1507
1508
1509
1510
1511
1512
1513
# File 'lib/v20190529/models.rb', line 1507

def deserialize(params)
  @EntityId = params['EntityId']
  @CustomContent = params['CustomContent']
  @Tags = params['Tags']
  @PicName = params['PicName']
  @Score = params['Score']
end