Class: TencentCloud::Tci::V20190318::CreatePersonResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::CreatePersonResponse
- Defined in:
- lib/v20190318/models.rb
Overview
CreatePerson返回参数结构体
Instance Attribute Summary collapse
- #FaceInfoSet ⇒ Object
- #LibraryId ⇒ Object
- #PersonId ⇒ Object
- #PersonName ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(faceinfoset = nil, libraryid = nil, personid = nil, personname = nil, requestid = nil) ⇒ CreatePersonResponse
constructor
A new instance of CreatePersonResponse.
Constructor Details
#initialize(faceinfoset = nil, libraryid = nil, personid = nil, personname = nil, requestid = nil) ⇒ CreatePersonResponse
Returns a new instance of CreatePersonResponse.
684 685 686 687 688 689 690 |
# File 'lib/v20190318/models.rb', line 684 def initialize(faceinfoset=nil, libraryid=nil, personid=nil, personname=nil, requestid=nil) @FaceInfoSet = faceinfoset @LibraryId = libraryid @PersonId = personid @PersonName = personname @RequestId = requestid end |
Instance Attribute Details
#FaceInfoSet ⇒ Object
682 683 684 |
# File 'lib/v20190318/models.rb', line 682 def FaceInfoSet @FaceInfoSet end |
#LibraryId ⇒ Object
682 683 684 |
# File 'lib/v20190318/models.rb', line 682 def LibraryId @LibraryId end |
#PersonId ⇒ Object
682 683 684 |
# File 'lib/v20190318/models.rb', line 682 def PersonId @PersonId end |
#PersonName ⇒ Object
682 683 684 |
# File 'lib/v20190318/models.rb', line 682 def PersonName @PersonName end |
#RequestId ⇒ Object
682 683 684 |
# File 'lib/v20190318/models.rb', line 682 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
692 693 694 695 696 697 698 699 700 701 702 703 704 705 |
# File 'lib/v20190318/models.rb', line 692 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 @LibraryId = params['LibraryId'] @PersonId = params['PersonId'] @PersonName = params['PersonName'] @RequestId = params['RequestId'] end |