lib/v20210903/models.rb in tencentcloud-sdk-ivld-1.0.256 vs lib/v20210903/models.rb in tencentcloud-sdk-ivld-1.0.257
- old
+ new
@@ -448,26 +448,41 @@
# @type BasicInfo: String
# @param L1Category: 一级自定义人物类型
# @type L1Category: String
# @param L2Category: 二级自定义人物类型
# @type L2Category: String
+ # @param ImageInfoSet: 自定义人物图片信息
+ # @type ImageInfoSet: Array
+ # @param CreateTime: 自定义人物创建时间
+ # @type CreateTime: String
- attr_accessor :PersonId, :Name, :BasicInfo, :L1Category, :L2Category
+ attr_accessor :PersonId, :Name, :BasicInfo, :L1Category, :L2Category, :ImageInfoSet, :CreateTime
- def initialize(personid=nil, name=nil, basicinfo=nil, l1category=nil, l2category=nil)
+ def initialize(personid=nil, name=nil, basicinfo=nil, l1category=nil, l2category=nil, imageinfoset=nil, createtime=nil)
@PersonId = personid
@Name = name
@BasicInfo = basicinfo
@L1Category = l1category
@L2Category = l2category
+ @ImageInfoSet = imageinfoset
+ @CreateTime = createtime
end
def deserialize(params)
@PersonId = params['PersonId']
@Name = params['Name']
@BasicInfo = params['BasicInfo']
@L1Category = params['L1Category']
@L2Category = params['L2Category']
+ unless params['ImageInfoSet'].nil?
+ @ImageInfoSet = []
+ params['ImageInfoSet'].each do |i|
+ personimageinfo_tmp = PersonImageInfo.new
+ personimageinfo_tmp.deserialize(i)
+ @ImageInfoSet << personimageinfo_tmp
+ end
+ end
+ @CreateTime = params['CreateTime']
end
end
# 任务结果数据
class Data < TencentCloud::Common::AbstractModel