Class: TencentCloud::Iss::V20230517::BodyAIResultInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::BodyAIResultInfo
- Defined in:
- lib/v20230517/models.rb
Overview
人体识别结果详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(time = nil, url = nil, bodyinfo = nil) ⇒ BodyAIResultInfo
constructor
A new instance of BodyAIResultInfo.
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, =nil) @Time = time @Url = url @BodyInfo = end |
Instance Attribute Details
#BodyInfo ⇒ Object
1346 1347 1348 |
# File 'lib/v20230517/models.rb', line 1346 def BodyInfo @BodyInfo end |
#Time ⇒ Object
1346 1347 1348 |
# File 'lib/v20230517/models.rb', line 1346 def Time @Time end |
#Url ⇒ Object
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 |