Class: TencentCloud::Youmall::V20180228::CameraPersonInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::CameraPersonInfo
- Defined in:
- lib/v20180228/models.rb
Overview
摄像头抓图人物属性
Instance Attribute Summary collapse
- #FaceId ⇒ Object
- #FacePic ⇒ Object
- #IdType ⇒ Object
- #PersonInfo ⇒ Object
- #TempId ⇒ Object
- #Time ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tempid = nil, faceid = nil, idtype = nil, facepic = nil, time = nil, personinfo = nil) ⇒ CameraPersonInfo
constructor
A new instance of CameraPersonInfo.
Constructor Details
#initialize(tempid = nil, faceid = nil, idtype = nil, facepic = nil, time = nil, personinfo = nil) ⇒ CameraPersonInfo
Returns a new instance of CameraPersonInfo.
73 74 75 76 77 78 79 80 |
# File 'lib/v20180228/models.rb', line 73 def initialize(tempid=nil, faceid=nil, idtype=nil, facepic=nil, time=nil, personinfo=nil) @TempId = tempid @FaceId = faceid @IdType = idtype @FacePic = facepic @Time = time @PersonInfo = personinfo end |
Instance Attribute Details
#FaceId ⇒ Object
71 72 73 |
# File 'lib/v20180228/models.rb', line 71 def FaceId @FaceId end |
#FacePic ⇒ Object
71 72 73 |
# File 'lib/v20180228/models.rb', line 71 def FacePic @FacePic end |
#IdType ⇒ Object
71 72 73 |
# File 'lib/v20180228/models.rb', line 71 def IdType @IdType end |
#PersonInfo ⇒ Object
71 72 73 |
# File 'lib/v20180228/models.rb', line 71 def PersonInfo @PersonInfo end |
#TempId ⇒ Object
71 72 73 |
# File 'lib/v20180228/models.rb', line 71 def TempId @TempId end |
#Time ⇒ Object
71 72 73 |
# File 'lib/v20180228/models.rb', line 71 def Time @Time end |
Instance Method Details
#deserialize(params) ⇒ Object
82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/v20180228/models.rb', line 82 def deserialize(params) @TempId = params['TempId'] @FaceId = params['FaceId'] @IdType = params['IdType'] @FacePic = params['FacePic'] @Time = params['Time'] unless params['PersonInfo'].nil? @PersonInfo = PersonInfo.new @PersonInfo.deserialize(params['PersonInfo']) end end |