Class: TencentCloud::Tci::V20190318::CreateFaceResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::CreateFaceResponse
- Defined in:
- lib/v20190318/models.rb
Overview
CreateFace返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(faceinfoset = nil, requestid = nil) ⇒ CreateFaceResponse
constructor
A new instance of CreateFaceResponse.
Constructor Details
#initialize(faceinfoset = nil, requestid = nil) ⇒ CreateFaceResponse
Returns a new instance of CreateFaceResponse.
555 556 557 558 |
# File 'lib/v20190318/models.rb', line 555 def initialize(faceinfoset=nil, requestid=nil) @FaceInfoSet = faceinfoset @RequestId = requestid end |
Instance Attribute Details
#FaceInfoSet ⇒ Object
553 554 555 |
# File 'lib/v20190318/models.rb', line 553 def FaceInfoSet @FaceInfoSet end |
#RequestId ⇒ Object
553 554 555 |
# File 'lib/v20190318/models.rb', line 553 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
560 561 562 563 564 565 566 567 568 569 570 |
# File 'lib/v20190318/models.rb', line 560 def deserialize(params) unless params['FaceInfoSet'].nil? @FaceInfoSet = [] params['FaceInfoSet'].each do |i| faceinfo_tmp = FaceInfo.new faceinfo_tmp.deserialize(i) @FaceInfoSet << faceinfo_tmp end end @RequestId = params['RequestId'] end |