Class: TencentCloud::Tci::V20190318::DescribePersonResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::DescribePersonResponse
- Defined in:
- lib/v20190318/models.rb
Overview
DescribePerson返回参数结构体
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #FaceSet ⇒ Object
- #JobNumber ⇒ Object
- #LibraryId ⇒ Object
- #Mail ⇒ Object
- #Male ⇒ Object
- #PersonId ⇒ Object
- #PersonName ⇒ Object
- #PhoneNumber ⇒ Object
- #RequestId ⇒ Object
- #StudentNumber ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(faceset = nil, createtime = nil, jobnumber = nil, libraryid = nil, mail = nil, male = nil, personid = nil, personname = nil, phonenumber = nil, studentnumber = nil, updatetime = nil, requestid = nil) ⇒ DescribePersonResponse
constructor
A new instance of DescribePersonResponse.
Constructor Details
#initialize(faceset = nil, createtime = nil, jobnumber = nil, libraryid = nil, mail = nil, male = nil, personid = nil, personname = nil, phonenumber = nil, studentnumber = nil, updatetime = nil, requestid = nil) ⇒ DescribePersonResponse
Returns a new instance of DescribePersonResponse.
1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 |
# File 'lib/v20190318/models.rb', line 1587 def initialize(faceset=nil, createtime=nil, jobnumber=nil, libraryid=nil, mail=nil, male=nil, personid=nil, personname=nil, phonenumber=nil, studentnumber=nil, updatetime=nil, requestid=nil) @FaceSet = faceset @CreateTime = createtime @JobNumber = jobnumber @LibraryId = libraryid @Mail = mail @Male = male @PersonId = personid @PersonName = personname @PhoneNumber = phonenumber @StudentNumber = studentnumber @UpdateTime = updatetime @RequestId = requestid end |
Instance Attribute Details
#CreateTime ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def CreateTime @CreateTime end |
#FaceSet ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def FaceSet @FaceSet end |
#JobNumber ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def JobNumber @JobNumber end |
#LibraryId ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def LibraryId @LibraryId end |
#Mail ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def Mail @Mail end |
#Male ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def Male @Male end |
#PersonId ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def PersonId @PersonId end |
#PersonName ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def PersonName @PersonName end |
#PhoneNumber ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def PhoneNumber @PhoneNumber end |
#RequestId ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def RequestId @RequestId end |
#StudentNumber ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def StudentNumber @StudentNumber end |
#UpdateTime ⇒ Object
1585 1586 1587 |
# File 'lib/v20190318/models.rb', line 1585 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 |
# File 'lib/v20190318/models.rb', line 1602 def deserialize(params) unless params['FaceSet'].nil? @FaceSet = [] params['FaceSet'].each do |i| face_tmp = Face.new face_tmp.deserialize(i) @FaceSet << face_tmp end end @CreateTime = params['CreateTime'] @JobNumber = params['JobNumber'] @LibraryId = params['LibraryId'] @Mail = params['Mail'] @Male = params['Male'] @PersonId = params['PersonId'] @PersonName = params['PersonName'] @PhoneNumber = params['PhoneNumber'] @StudentNumber = params['StudentNumber'] @UpdateTime = params['UpdateTime'] @RequestId = params['RequestId'] end |