Class: TencentCloud::Iss::V20230517::BodyAIResultInfo

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

Overview

人体识别结果详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(time = nil, url = nil, bodyinfo = nil) ⇒ BodyAIResultInfo

Returns a new instance of BodyAIResultInfo.



1348
1349
1350
1351
1352
# File 'lib/v20230517/models.rb', line 1348

def initialize(time=nil, url=nil, bodyinfo=nil)
  @Time = time
  @Url = url
  @BodyInfo = bodyinfo
end

Instance Attribute Details

#BodyInfoObject

Parameters:

  • Time:

    时间字符串

  • Url:

    截图 URL

  • BodyInfo:

    人体信息



1346
1347
1348
# File 'lib/v20230517/models.rb', line 1346

def BodyInfo
  @BodyInfo
end

#TimeObject

Parameters:

  • Time:

    时间字符串

  • Url:

    截图 URL

  • BodyInfo:

    人体信息



1346
1347
1348
# File 'lib/v20230517/models.rb', line 1346

def Time
  @Time
end

#UrlObject

Parameters:

  • Time:

    时间字符串

  • Url:

    截图 URL

  • BodyInfo:

    人体信息



1346
1347
1348
# File 'lib/v20230517/models.rb', line 1346

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
# File 'lib/v20230517/models.rb', line 1354

def deserialize(params)
  @Time = params['Time']
  @Url = params['Url']
  unless params['BodyInfo'].nil?
    @BodyInfo = []
    params['BodyInfo'].each do |i|
      baseairesultinfo_tmp = BaseAIResultInfo.new
      baseairesultinfo_tmp.deserialize(i)
      @BodyInfo << baseairesultinfo_tmp
    end
  end
end