Class: TencentCloud::Iss::V20230517::ChefHatAIResultInfo

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, chefhatinfo = nil) ⇒ ChefHatAIResultInfo

Returns a new instance of ChefHatAIResultInfo.



1555
1556
1557
1558
1559
# File 'lib/v20230517/models.rb', line 1555

def initialize(time=nil, url=nil, chefhatinfo=nil)
  @Time = time
  @Url = url
  @ChefHatInfo = chefhatinfo
end

Instance Attribute Details

#ChefHatInfoObject

Parameters:

  • Time:

    时间字符串

  • Url:

    截图 URL

  • ChefHatInfo:

    厨师帽信息



1553
1554
1555
# File 'lib/v20230517/models.rb', line 1553

def ChefHatInfo
  @ChefHatInfo
end

#TimeObject

Parameters:

  • Time:

    时间字符串

  • Url:

    截图 URL

  • ChefHatInfo:

    厨师帽信息



1553
1554
1555
# File 'lib/v20230517/models.rb', line 1553

def Time
  @Time
end

#UrlObject

Parameters:

  • Time:

    时间字符串

  • Url:

    截图 URL

  • ChefHatInfo:

    厨师帽信息



1553
1554
1555
# File 'lib/v20230517/models.rb', line 1553

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
# File 'lib/v20230517/models.rb', line 1561

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