Class: TencentCloud::Tci::V20190318::FaceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::FaceInfo
- Defined in:
- lib/v20190318/models.rb
Overview
人脸操作信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(errorcode = nil, errormsg = nil, faceid = nil, faceurl = nil, personid = nil) ⇒ FaceInfo
constructor
A new instance of FaceInfo.
Constructor Details
#initialize(errorcode = nil, errormsg = nil, faceid = nil, faceurl = nil, personid = nil) ⇒ FaceInfo
Returns a new instance of FaceInfo.
2028 2029 2030 2031 2032 2033 2034 |
# File 'lib/v20190318/models.rb', line 2028 def initialize(errorcode=nil, errormsg=nil, faceid=nil, faceurl=nil, personid=nil) @ErrorCode = errorcode @ErrorMsg = errormsg @FaceId = faceid @FaceUrl = faceurl @PersonId = personid end |
Instance Attribute Details
#ErrorCode ⇒ Object
2026 2027 2028 |
# File 'lib/v20190318/models.rb', line 2026 def ErrorCode @ErrorCode end |
#ErrorMsg ⇒ Object
2026 2027 2028 |
# File 'lib/v20190318/models.rb', line 2026 def ErrorMsg @ErrorMsg end |
#FaceId ⇒ Object
2026 2027 2028 |
# File 'lib/v20190318/models.rb', line 2026 def FaceId @FaceId end |
#FaceUrl ⇒ Object
2026 2027 2028 |
# File 'lib/v20190318/models.rb', line 2026 def FaceUrl @FaceUrl end |
#PersonId ⇒ Object
2026 2027 2028 |
# File 'lib/v20190318/models.rb', line 2026 def PersonId @PersonId end |
Instance Method Details
#deserialize(params) ⇒ Object
2036 2037 2038 2039 2040 2041 2042 |
# File 'lib/v20190318/models.rb', line 2036 def deserialize(params) @ErrorCode = params['ErrorCode'] @ErrorMsg = params['ErrorMsg'] @FaceId = params['FaceId'] @FaceUrl = params['FaceUrl'] @PersonId = params['PersonId'] end |