Class: TencentCloud::Iss::V20230517::ChefClothAIResultInfo

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, 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

#ChefClothInfoInfoObject

Parameters:

  • Time:

    时间字符串

  • Url:

    截图 URL

  • ChefClothInfoInfo:

    厨师服信息



1522
1523
1524
# File 'lib/v20230517/models.rb', line 1522

def ChefClothInfoInfo
  @ChefClothInfoInfo
end

#TimeObject

Parameters:

  • Time:

    时间字符串

  • Url:

    截图 URL

  • ChefClothInfoInfo:

    厨师服信息



1522
1523
1524
# File 'lib/v20230517/models.rb', line 1522

def Time
  @Time
end

#UrlObject

Parameters:

  • Time:

    时间字符串

  • Url:

    截图 URL

  • ChefClothInfoInfo:

    厨师服信息



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