Class: TencentCloud::Bda::V20200324::Bag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bda::V20200324::Bag
- Defined in:
- lib/v20200324/models.rb
Overview
人体是否挎包。AttributesType 不含 Bag 或检测超过 5 个人体时,此参数仍返回,但不具备参考意义。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, probability = nil) ⇒ Bag
constructor
A new instance of Bag.
Constructor Details
#initialize(type = nil, probability = nil) ⇒ Bag
Returns a new instance of Bag.
89 90 91 92 |
# File 'lib/v20200324/models.rb', line 89 def initialize(type=nil, probability=nil) @Type = type @Probability = probability end |
Instance Attribute Details
#Probability ⇒ Object
87 88 89 |
# File 'lib/v20200324/models.rb', line 87 def Probability @Probability end |
#Type ⇒ Object
87 88 89 |
# File 'lib/v20200324/models.rb', line 87 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
94 95 96 97 |
# File 'lib/v20200324/models.rb', line 94 def deserialize(params) @Type = params['Type'] @Probability = params['Probability'] end |