Class: TencentCloud::Tci::V20190318::FaceAttrResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::FaceAttrResult
- Defined in:
- lib/v20190318/models.rb
Overview
FaceAttrResult
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(age = nil, sex = nil) ⇒ FaceAttrResult
constructor
A new instance of FaceAttrResult.
Constructor Details
#initialize(age = nil, sex = nil) ⇒ FaceAttrResult
Returns a new instance of FaceAttrResult.
1851 1852 1853 1854 |
# File 'lib/v20190318/models.rb', line 1851 def initialize(age=nil, sex=nil) @Age = age @Sex = sex end |
Instance Attribute Details
#Age ⇒ Object
1849 1850 1851 |
# File 'lib/v20190318/models.rb', line 1849 def Age @Age end |
#Sex ⇒ Object
1849 1850 1851 |
# File 'lib/v20190318/models.rb', line 1849 def Sex @Sex end |
Instance Method Details
#deserialize(params) ⇒ Object
1856 1857 1858 1859 |
# File 'lib/v20190318/models.rb', line 1856 def deserialize(params) @Age = params['Age'] @Sex = params['Sex'] end |