Class: TencentCloud::Bda::V20200324::UpperBodyClothTexture

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

Returns a new instance of UpperBodyClothTexture.



1781
1782
1783
1784
# File 'lib/v20200324/models.rb', line 1781

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

Instance Attribute Details

#ProbabilityObject

Parameters:

  • Type:

    上衣纹理信息,返回值为以下集合中的一个, 格子, 大色块。

  • Probability:

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



1779
1780
1781
# File 'lib/v20200324/models.rb', line 1779

def Probability
  @Probability
end

#TypeObject

Parameters:

  • Type:

    上衣纹理信息,返回值为以下集合中的一个, 格子, 大色块。

  • Probability:

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



1779
1780
1781
# File 'lib/v20200324/models.rb', line 1779

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



1786
1787
1788
1789
# File 'lib/v20200324/models.rb', line 1786

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