Class: TencentCloud::Bda::V20200324::UpperBodyClothSleeve

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

Overview

上衣衣袖信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, probability = nil) ⇒ UpperBodyClothSleeve

Returns a new instance of UpperBodyClothSleeve.



1761
1762
1763
1764
# File 'lib/v20200324/models.rb', line 1761

def initialize(type=nil, probability=nil)
  @Type = type
  @Probability = probability
end

Instance Attribute Details

#ProbabilityObject

Parameters:

  • Type:

    上衣衣袖信息, 返回值为以下集合中的一个 短袖。

  • Probability:

    Type识别概率值,,代表判断正确的概率。如0.8则代表有Type值有80%概率正确。



1759
1760
1761
# File 'lib/v20200324/models.rb', line 1759

def Probability
  @Probability
end

#TypeObject

Parameters:

  • Type:

    上衣衣袖信息, 返回值为以下集合中的一个 短袖。

  • Probability:

    Type识别概率值,,代表判断正确的概率。如0.8则代表有Type值有80%概率正确。



1759
1760
1761
# File 'lib/v20200324/models.rb', line 1759

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



1766
1767
1768
1769
# File 'lib/v20200324/models.rb', line 1766

def deserialize(params)
  @Type = params['Type']
  @Probability = params['Probability']
end