Class: TencentCloud::Tci::V20190318::FaceAttrResult

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190318/models.rb

Overview

FaceAttrResult

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AgeObject

Parameters:

  • Age:

    年龄

  • Sex:

    性别



1849
1850
1851
# File 'lib/v20190318/models.rb', line 1849

def Age
  @Age
end

#SexObject

Parameters:

  • Age:

    年龄

  • Sex:

    性别



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