Class: TencentCloud::Bda::V20200324::Age
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bda::V20200324::Age
- Defined in:
- lib/v20200324/models.rb
Overview
人体年龄信息。AttributesType 不含 Age 或检测超过 5 个人体时,此参数仍返回,但不具备参考意义。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, probability = nil) ⇒ Age
constructor
A new instance of Age.
Constructor Details
#initialize(type = nil, probability = nil) ⇒ Age
Returns a new instance of Age.
30 31 32 33 |
# File 'lib/v20200324/models.rb', line 30 def initialize(type=nil, probability=nil) @Type = type @Probability = probability end |
Instance Attribute Details
#Probability ⇒ Object
28 29 30 |
# File 'lib/v20200324/models.rb', line 28 def Probability @Probability end |
#Type ⇒ Object
28 29 30 |
# File 'lib/v20200324/models.rb', line 28 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
35 36 37 38 |
# File 'lib/v20200324/models.rb', line 35 def deserialize(params) @Type = params['Type'] @Probability = params['Probability'] end |