Class: TencentCloud::Tci::V20190318::Face
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::Face
- Defined in:
- lib/v20190318/models.rb
Overview
人脸描述
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(faceid = nil, faceurl = nil, personid = nil) ⇒ Face
constructor
A new instance of Face.
Constructor Details
#initialize(faceid = nil, faceurl = nil, personid = nil) ⇒ Face
Returns a new instance of Face.
1829 1830 1831 1832 1833 |
# File 'lib/v20190318/models.rb', line 1829 def initialize(faceid=nil, faceurl=nil, personid=nil) @FaceId = faceid @FaceUrl = faceurl @PersonId = personid end |
Instance Attribute Details
#FaceId ⇒ Object
1827 1828 1829 |
# File 'lib/v20190318/models.rb', line 1827 def FaceId @FaceId end |
#FaceUrl ⇒ Object
1827 1828 1829 |
# File 'lib/v20190318/models.rb', line 1827 def FaceUrl @FaceUrl end |
#PersonId ⇒ Object
1827 1828 1829 |
# File 'lib/v20190318/models.rb', line 1827 def PersonId @PersonId end |
Instance Method Details
#deserialize(params) ⇒ Object
1835 1836 1837 1838 1839 |
# File 'lib/v20190318/models.rb', line 1835 def deserialize(params) @FaceId = params['FaceId'] @FaceUrl = params['FaceUrl'] @PersonId = params['PersonId'] end |