lib/v20210903/models.rb in tencentcloud-sdk-ivld-3.0.435 vs lib/v20210903/models.rb in tencentcloud-sdk-ivld-3.0.436

- old
+ new

@@ -2001,26 +2001,34 @@ # @type Job: String # @param FirstAppear: 首次出现模态,可选值为[1,3],详细参见AppearIndex定义 # @type FirstAppear: Integer # @param AppearInfo: 人物出现信息 # @type AppearInfo: :class:`Tencentcloud::Ivld.v20210903.models.AppearInfo` + # @param AppearRect: 人脸在图片中的位置,仅在图片标签任务有效 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type AppearRect: :class:`Tencentcloud::Ivld.v20210903.models.Rectf` - attr_accessor :Name, :Job, :FirstAppear, :AppearInfo + attr_accessor :Name, :Job, :FirstAppear, :AppearInfo, :AppearRect - def initialize(name=nil, job=nil, firstappear=nil, appearinfo=nil) + def initialize(name=nil, job=nil, firstappear=nil, appearinfo=nil, appearrect=nil) @Name = name @Job = job @FirstAppear = firstappear @AppearInfo = appearinfo + @AppearRect = appearrect end def deserialize(params) @Name = params['Name'] @Job = params['Job'] @FirstAppear = params['FirstAppear'] unless params['AppearInfo'].nil? @AppearInfo = AppearInfo.new @AppearInfo.deserialize(params['AppearInfo']) + end + unless params['AppearRect'].nil? + @AppearRect = Rectf.new + @AppearRect.deserialize(params['AppearRect']) end end end # QueryCallback请求参数结构体