Class: TencentCloud::Bda::V20200324::LowerBodyClothColor

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) ⇒ LowerBodyClothColor

Returns a new instance of LowerBodyClothColor.



1104
1105
1106
1107
# File 'lib/v20200324/models.rb', line 1104

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

Instance Attribute Details

#ProbabilityObject

Parameters:

  • Type:

    下衣颜色信息,返回值为以下集合中的一个{ 黑色系, 灰白色系, 彩色} 。

  • Probability:

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



1102
1103
1104
# File 'lib/v20200324/models.rb', line 1102

def Probability
  @Probability
end

#TypeObject

Parameters:

  • Type:

    下衣颜色信息,返回值为以下集合中的一个{ 黑色系, 灰白色系, 彩色} 。

  • Probability:

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



1102
1103
1104
# File 'lib/v20200324/models.rb', line 1102

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



1109
1110
1111
1112
# File 'lib/v20200324/models.rb', line 1109

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