Class: TencentCloud::Iss::V20230517::ChefClothAIResultInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::ChefClothAIResultInfo
- Defined in:
- lib/v20230517/models.rb
Overview
厨师服识别结果详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(time = nil, url = nil, chefclothinfoinfo = nil) ⇒ ChefClothAIResultInfo
constructor
A new instance of ChefClothAIResultInfo.
Constructor Details
#initialize(time = nil, url = nil, chefclothinfoinfo = nil) ⇒ ChefClothAIResultInfo
Returns a new instance of ChefClothAIResultInfo.
1524 1525 1526 1527 1528 |
# File 'lib/v20230517/models.rb', line 1524 def initialize(time=nil, url=nil, chefclothinfoinfo=nil) @Time = time @Url = url @ChefClothInfoInfo = chefclothinfoinfo end |
Instance Attribute Details
#ChefClothInfoInfo ⇒ Object
1522 1523 1524 |
# File 'lib/v20230517/models.rb', line 1522 def ChefClothInfoInfo @ChefClothInfoInfo end |
#Time ⇒ Object
1522 1523 1524 |
# File 'lib/v20230517/models.rb', line 1522 def Time @Time end |
#Url ⇒ Object
1522 1523 1524 |
# File 'lib/v20230517/models.rb', line 1522 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 |
# File 'lib/v20230517/models.rb', line 1530 def deserialize(params) @Time = params['Time'] @Url = params['Url'] unless params['ChefClothInfoInfo'].nil? @ChefClothInfoInfo = [] params['ChefClothInfoInfo'].each do |i| baseairesultinfo_tmp = BaseAIResultInfo.new baseairesultinfo_tmp.deserialize(i) @ChefClothInfoInfo << baseairesultinfo_tmp end end end |